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 SummaryFields inherited from class jakarta.faces.application.ResourceCOMPONENT_RESOURCE_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetURL()voidtoString()booleanuserAgentNeedsUpdate(FacesContext context) voidMethods inherited from class jakarta.faces.application.ResourcegetContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName
- 
Constructor Details- 
CompositeResouceWrapperpublic CompositeResouceWrapper()
- 
CompositeResouceWrapper
 
- 
- 
Method Details- 
getInputStream- Specified by:
- getInputStreamin class- Resource
- Throws:
- IOException
 
- 
getRequestPath- Specified by:
- getRequestPathin class- Resource
 
- 
getResponseHeaders- Specified by:
- getResponseHeadersin class- Resource
 
- 
getURL
- 
userAgentNeedsUpdate- Specified by:
- userAgentNeedsUpdatein class- Resource
 
- 
getWrapped- Specified by:
- getWrappedin interface- FacesWrapper<Resource>
 
- 
readExternal- Specified by:
- readExternalin interface- Externalizable
- Throws:
- IOException
- ClassNotFoundException
 
- 
writeExternal- Specified by:
- writeExternalin interface- Externalizable
- Throws:
- IOException
 
- 
toString
 
-