public abstract class RenderKitWrapper extends RenderKit implements 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 instance we are wrapping.
Usage: extend this class and push the implementation being wrapped to the
constructor and use getWrapped()
to access the instance being wrapped.
Constructor and Description |
---|
RenderKitWrapper()
Deprecated.
Use the other constructor taking the implementation being wrapped.
|
RenderKitWrapper(RenderKit wrapped)
If this render kit has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
Modifier and Type | Method and Description |
---|---|
void |
addClientBehaviorRenderer(String type,
ClientBehaviorRenderer renderer)
The default behavior of this method is to
call
RenderKit.addClientBehaviorRenderer(String, ClientBehaviorRenderer)
on the wrapped RenderKit object. |
void |
addRenderer(String family,
String rendererType,
Renderer renderer)
The default behavior of this method is to
call
RenderKit.addRenderer(String, String, Renderer)
on the wrapped RenderKit object. |
ResponseStream |
createResponseStream(OutputStream out)
The default behavior of this method is to
call
RenderKit.createResponseStream(java.io.OutputStream)
on the wrapped RenderKit object. |
ResponseWriter |
|