|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DelegatingRenderer
This interface defines a contract for a Renderer that has the ability to delegate to the corresponding
methods of a different renderer, as well as utilize an alternate ResponseWriter in order to control/filter
the encoding of elements and attributes.
| Method Summary | |
|---|---|
void |
encodeAll(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Convenience method that calls the delegate renderer's Renderer.encodeBegin(FacesContext, UIComponent),
Renderer.encodeChildren(FacesContext, UIComponent), and Renderer.encodeEnd(FacesContext,
UIComponent) methods. |
void |
encodeAll(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
Convenience method that calls the delegate renderer's Renderer.encodeBegin(FacesContext, UIComponent),
Renderer.encodeChildren(FacesContext, UIComponent), and Renderer.encodeEnd(FacesContext,
UIComponent) methods using the specified ResponseWriter. |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
Calls the delegate renderer's Renderer.encodeBegin(FacesContext, UIComponent) method using the specified
ResponseWriter. |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
Calls the delegate renderer's Renderer.encodeChildren(FacesContext, UIComponent) method using the
specified ResponseWriter. |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
Calls the delegate renderer's Renderer.encodeEnd(FacesContext, UIComponent) method using the specified
ResponseWriter. |
String |
getDelegateComponentFamily()
Returns the component family associated with the delegate renderer. |
javax.faces.render.Renderer |
getDelegateRenderer(javax.faces.context.FacesContext facesContext)
Returns the delegate renderer from the RenderKit associated with the specified FacesContext. |
String |
getDelegateRendererType()
Returns the renderer-type associated with the delegate renderer. |
| Method Detail |
|---|
void encodeAll(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
Renderer.encodeBegin(FacesContext, UIComponent),
Renderer.encodeChildren(FacesContext, UIComponent), and Renderer.encodeEnd(FacesContext,
UIComponent) methods.
IOException
void encodeAll(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
throws IOException
Renderer.encodeBegin(FacesContext, UIComponent),
Renderer.encodeChildren(FacesContext, UIComponent), and Renderer.encodeEnd(FacesContext,
UIComponent) methods using the specified ResponseWriter.
IOException
void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
throws IOException
Renderer.encodeBegin(FacesContext, UIComponent) method using the specified
ResponseWriter.
IOException
void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
throws IOException
Renderer.encodeChildren(FacesContext, UIComponent) method using the
specified ResponseWriter.
IOException
void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
javax.faces.context.ResponseWriter delegationResponseWriter)
throws IOException
Renderer.encodeEnd(FacesContext, UIComponent) method using the specified
ResponseWriter.
IOExceptionString getDelegateComponentFamily()
javax.faces.render.Renderer getDelegateRenderer(javax.faces.context.FacesContext facesContext)
RenderKit associated with the specified FacesContext.
String getDelegateRendererType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||