Class RenderKitWrapper
- All Implemented Interfaces:
- FacesWrapper<RenderKit>
Provides a simple implementation of RenderKit that can be subclassed by developers wishing to provide specialized behavior to an existing RenderKit instance. The default implementation of all methods is to call through to the wrapped RenderKit.
Usage: extend this class and override getWrapped() to return the wrapped instance.
- Since:
- 2.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddClientBehaviorRenderer(String type, ClientBehaviorRenderer renderer) voidaddRenderer(String family, String rendererType, Renderer renderer) createResponseWriter(Writer writer, String contentTypeList, String characterEncoding) Return anIteratorover the component-family entries supported by thisRenderKitinstance.getRenderer(String family, String rendererType) getRendererTypes(String componentFamily) Return anIteratorover the renderer-type entries for the given component-family.A class that implements this interface uses this method to return an instance of the class being wrapped.
- 
Constructor Details- 
RenderKitWrapperDeprecated.
- 
RenderKitWrapper
 
- 
- 
Method Details- 
addClientBehaviorRenderer- Overrides:
- addClientBehaviorRendererin class- RenderKit
 
- 
addRenderer- Specified by:
- addRendererin class- RenderKit
 
- 
createResponseStream- Specified by:
- createResponseStreamin class- RenderKit
 
- 
createResponseWriterpublic ResponseWriter createResponseWriter(Writer writer, String contentTypeList, String characterEncoding) - Specified by:
- createResponseWriterin class- RenderKit
 
- 
getClientBehaviorRenderer- Overrides:
- getClientBehaviorRendererin class- RenderKit
 
- 
getClientBehaviorRendererTypes- Overrides:
- getClientBehaviorRendererTypesin class- RenderKit
 
- 
getRenderer- Specified by:
- getRendererin class- RenderKit
 
- 
getResponseStateManager- Specified by:
- getResponseStateManagerin class- RenderKit
 
- 
getWrappedA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
- getWrappedin interface- FacesWrapper<RenderKit>
- Returns:
- the instance of the class being wrapped
 
- 
getComponentFamiliesReturn an Iteratorover the component-family entries supported by thisRenderKitinstance.The default implementation of this method returns an empty Iterator- Overrides:
- getComponentFamiliesin class- RenderKit
- Returns:
- an iterator over the component families supported by this RenderKit.
 
- 
getRendererTypesReturn an Iteratorover the renderer-type entries for the given component-family.If the specified componentFamilyis not known to thisRenderKitimplementation, return an emptyIteratorThe default implementation of this method returns an empty Iterator- Overrides:
- getRendererTypesin class- RenderKit
- Parameters:
- componentFamily- one of the members of the- Iteratorreturned by- RenderKit.getComponentFamilies()
- Returns:
- an iterator over the renderer-type entries for the given component-family.
 
 
-