Class CompositeResouceWrapper
java.lang.Object
jakarta.faces.application.ViewResource
jakarta.faces.application.Resource
org.apache.myfaces.view.facelets.tag.composite.CompositeResouceWrapper
- All Implemented Interfaces:
FacesWrapper<Resource>,Externalizable,Serializable
public final class CompositeResouceWrapper
extends Resource
implements FacesWrapper<Resource>, Externalizable
The value inside composite component attribute map with the key
Resource.COMPONENT_RESOURCE_KEY should be a Serializable. This
wrapper add serialization to Resource instances, because
ResourceImpl depends from the ResourceLoader used by it.
- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
- See Also:
-
Field Summary
Fields inherited from class jakarta.faces.application.Resource
COMPONENT_RESOURCE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetURL()voidtoString()booleanuserAgentNeedsUpdate(FacesContext context) voidMethods inherited from class jakarta.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName
-
Constructor Details
-
CompositeResouceWrapper
public CompositeResouceWrapper() -
CompositeResouceWrapper
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin classResource- Throws:
IOException
-
getRequestPath
- Specified by:
getRequestPathin classResource
-
getResponseHeaders
- Specified by:
getResponseHeadersin classResource
-
getURL
-
userAgentNeedsUpdate
- Specified by:
userAgentNeedsUpdatein classResource
-
getWrapped
- Specified by:
getWrappedin interfaceFacesWrapper<Resource>
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
toString
-