@ProviderType
public interface DelegatingRenderer
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.| Modifier and Type | Method and Description |
|---|---|
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.
|
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.IOExceptionvoid 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.IOExceptionvoid 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.IOExceptionvoid 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.IOExceptionvoid 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()
Copyright © 2020 Liferay, Inc.. All rights reserved.