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.
| Access | Constructor and Description |
|---|---|
| public | |
| public | RenderKitWrapper(RenderKit
The implementation being wrapped. 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 |
|---|---|
| public void | addClientBehaviorRenderer(String
type of the type, ClientBehaviorRenderer ClientBehaviorRenderer to registerClientBehaviorRenderer instance we are registeringOverrides jakarta.
The default behavior of this method is to call
|
| public void | addRenderer(String
Component family of the family, String Renderer to registerRenderer type of the rendererType, Renderer<T extends UIComponent> Renderer to registerRenderer instance we are registeringImplements abstract jakarta.
The default behavior of this method is to call |
| public ResponseStream | createResponseStream(OutputStream
the out)OutputStream around which to create the ResponseStreamImplements abstract jakarta.
The default behavior of this method is to call |
| public ResponseWriter | createResponseWriter(Writer
the Writer around which this writer, String ResponseWriter must be built.an "Accept header style" list of content types for this response, or contentTypeList, String null if the
RenderKit should choose the best fit. As of the current version, the values accepted by the Standard render-kit for
this parameter include any valid "Accept header style" String that includes the String text/html,
application/xhtml+xml, application/xml or text/xml. This may change in a
future version. The RenderKit must support a value for this argument that comes straight from the Accept
HTTP header, and therefore requires parsing according to the specification of the Accept header. Please
see Section 14.1 of RFC 2616 for the specification of
the Accept header.such as "ISO-8859-1" for this ResponseWriter, or characterEncoding)null if the
RenderKit should choose the best fit. Please see
the IANA for a list of character encodings.Implements abstract jakarta.
The default behavior of this method is to call |
| public ClientBehaviorRenderer | getClientBehaviorRenderer(String
type of the requested type)ClientBehaviorRenderer instanceOverrides jakarta.
The default behavior of this method is to call |
| public Iterator | getClientBehaviorRendererTypes()
Overrides jakarta.
The default behavior of this method is to call
|
| public Iterator | getComponentFamilies()
Overrides jakarta.
The default behavior of this method is to call |
| public Renderer | getRenderer(String
Component family of the requested family, String Renderer instanceRenderer type of the requested rendererType)Renderer instanceImplements abstract jakarta.
The default behavior of this method is to call |
| public Iterator | getRendererTypes(String
one of the members of the componentFamily)Iterator returned by getComponentFamilies.Overrides jakarta.
The default behavior of this method is to call |
| public ResponseStateManager | getResponseStateManager()
Implements abstract jakarta.
The default behavior of this method is to call |
| public RenderKit | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| wrapped | back to summary |
|---|---|
| private RenderKit wrapped | |
| RenderKitWrapper | back to summary |
|---|---|
| public RenderKitWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| RenderKitWrapper | back to summary |
|---|---|
| public RenderKitWrapper(RenderKit wrapped)
If this render kit has been decorated, the implementation doing the decorating should push the implementation being
wrapped to this constructor. The
| |
| addClientBehaviorRenderer | back to summary |
|---|---|
| public void addClientBehaviorRenderer(String type, ClientBehaviorRenderer renderer) Overrides jakarta.
The default behavior of this method is to call
| |
| addRenderer | back to summary |
|---|---|
| public void addRenderer(String family, String rendererType, Renderer<T extends UIComponent> renderer) Implements abstract jakarta.
The default behavior of this method is to call
| |
| createResponseStream | back to summary |
|---|---|
| public ResponseStream createResponseStream(OutputStream out) Implements abstract jakarta.
The default behavior of this method is to call
| |
| createResponseWriter | back to summary |
|---|---|
| public ResponseWriter createResponseWriter(Writer writer, String contentTypeList, String characterEncoding) Implements abstract jakarta.
The default behavior of this method is to call
| |
| getClientBehaviorRenderer | back to summary |
|---|---|
| public ClientBehaviorRenderer getClientBehaviorRenderer(String type) Overrides jakarta.
The default behavior of this method is to call
| |
| getClientBehaviorRendererTypes | back to summary |
|---|---|
| public Iterator Overrides jakarta.
The default behavior of this method is to call
| |
| getComponentFamilies | back to summary |
|---|---|
| public Iterator Overrides jakarta.
The default behavior of this method is to call
| |
| getRenderer | back to summary |
|---|---|
| public Renderer Implements abstract jakarta.
The default behavior of this method is to call
| |
| getRendererTypes | back to summary |
|---|---|
| public Iterator Overrides jakarta.
The default behavior of this method is to call
| |
| getResponseStateManager | back to summary |
|---|---|
| public ResponseStateManager getResponseStateManager() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getWrapped | back to summary |
|---|---|
| public RenderKit getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. | |