| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.render.RenderKit
javax.faces.render.RenderKitWrapper
public abstract class RenderKitWrapper
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.
| Constructor Summary | |
|---|---|
| RenderKitWrapper() | |
| Method Summary | |
|---|---|
|  void | addClientBehaviorRenderer(String type,
                          ClientBehaviorRenderer renderer)The default behavior of this method is to call RenderKit.addClientBehaviorRenderer(String, ClientBehaviorRenderer)on the wrappedRenderKitobject. | 
|  void | addRenderer(String family,
            String rendererType,
            Renderer renderer)The default behavior of this method is to call RenderKit.addRenderer(String, String, Renderer)on the wrappedRenderKitobject. | 
|  ResponseStream | createResponseStream(OutputStream out)The default behavior of this method is to call RenderKit.createResponseStream(java.io.OutputStream)on the wrappedRenderKitobject. | 
|  ResponseWriter | createResponseWriter(Writer writer,
                     String contentTypeList,
                     String characterEncoding)The default behavior of this method is to call RenderKit.createResponseWriter(java.io.Writer, String, String)on the wrappedRenderKitobject. | 
|  ClientBehaviorRenderer | getClientBehaviorRenderer(String type)The default behavior of this method is to call RenderKit.getClientBehaviorRenderer(String)on the wrappedRenderKitobject. | 
|  Iterator<String> | getClientBehaviorRendererTypes()The default behavior of this method is to call RenderKit.getClientBehaviorRendererTypes()on the wrappedRenderKitobject. | 
|  Iterator<String> | getComponentFamilies()The default behavior of this method is to call RenderKit.getComponentFamilies()on the wrappedRenderKitobject. | 
|  Renderer | getRenderer(String family,
            String rendererType)The default behavior of this method is to call RenderKit.getRenderer(String, String)on the wrappedRenderKitobject. | 
|  Iterator<String> | getRendererTypes(String componentFamily)The default behavior of this method is to call RenderKit.getRendererTypes(String)on the wrappedRenderKitobject. | 
|  ResponseStateManager | getResponseStateManager()The default behavior of this method is to call RenderKit.getResponseStateManager()on the wrappedRenderKitobject. | 
| abstract  RenderKit | getWrapped()A class that implements this interface uses this method to return an instance of the class being wrapped. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RenderKitWrapper()
| Method Detail | 
|---|
public abstract RenderKit getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<RenderKit>RenderKit instanceFacesWrapper.getWrapped()
public 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.
addRenderer in class RenderKitfamily - Component family of the Renderer to registerrendererType - Renderer type of the Renderer to registerrenderer - Renderer instance we are registeringRenderKit.addRenderer(String, String, Renderer)public ResponseStream createResponseStream(OutputStream out)
The default behavior of this method is to
 call RenderKit.createResponseStream(java.io.OutputStream)
 on the wrapped RenderKit object.
createResponseStream in class RenderKitRenderKit.createResponseStream(java.io.OutputStream)
public ResponseWriter createResponseWriter(Writer writer,
                                           String contentTypeList,
                                           String characterEncoding)
The default behavior of this method is to
 call RenderKit.createResponseWriter(java.io.Writer, String, String)
 on the wrapped RenderKit object.
createResponseWriter in class RenderKitwriter - the Writer around which this ResponseWriter
 must be built.contentTypeList - an "Accept header style" list of content
 types for this response, or 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.characterEncoding - such as "ISO-8859-1" for this
 ResponseWriter, or null if the
 RenderKit should choose the best fit.  Please see the
 IANA for a list of character encodings.
ResponseWriter.RenderKit.createResponseWriter(java.io.Writer, String, String)
public Renderer getRenderer(String family,
                            String rendererType)
The default behavior of this method is to
 call RenderKit.getRenderer(String, String)
 on the wrapped RenderKit object.
getRenderer in class RenderKitfamily - Component family of the requested
  Renderer instancerendererType - Renderer type of the requested
  Renderer instanceRenderKit.getRenderer(String, String)public ResponseStateManager getResponseStateManager()
The default behavior of this method is to
 call RenderKit.getResponseStateManager()
 on the wrapped RenderKit object.
getResponseStateManager in class RenderKitRenderKit.getResponseStateManager()public Iterator<String> getComponentFamilies()
The default behavior of this method is to
 call RenderKit.getComponentFamilies()
 on the wrapped RenderKit object.
getComponentFamilies in class RenderKitRenderKit.getComponentFamilies()public Iterator<String> getRendererTypes(String componentFamily)
The default behavior of this method is to
 call RenderKit.getRendererTypes(String)
 on the wrapped RenderKit object.
getRendererTypes in class RenderKitcomponentFamily - one of the members of the
 Iterator returned by RenderKit.getComponentFamilies().RenderKit.getRendererTypes(String)
public void addClientBehaviorRenderer(String type,
                                      ClientBehaviorRenderer renderer)
The default behavior of this method is to
 call RenderKit.addClientBehaviorRenderer(String, ClientBehaviorRenderer)
 on the wrapped RenderKit object.
addClientBehaviorRenderer in class RenderKittype - type of the ClientBehaviorRenderer to registerrenderer - ClientBehaviorRenderer instance we are registeringRenderKit.addClientBehaviorRenderer(String, ClientBehaviorRenderer)public ClientBehaviorRenderer getClientBehaviorRenderer(String type)
The default behavior of this method is to
 call RenderKit.getClientBehaviorRenderer(String)
 on the wrapped RenderKit object.
getClientBehaviorRenderer in class RenderKittype - type of the requested
  ClientBehaviorRenderer instanceRenderKit.getClientBehaviorRenderer(String)public Iterator<String> getClientBehaviorRendererTypes()
The default behavior of this method is to
 call RenderKit.getClientBehaviorRendererTypes()
 on the wrapped RenderKit object.
getClientBehaviorRendererTypes in class RenderKitRenderKit.getClientBehaviorRendererTypes()| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||