public abstract class ClientComponentRendererBase extends javax.faces.render.Renderer implements ClientComponentRenderer
encodeMarkupBegin(FacesContext, UIComponent)
and encodeMarkupEnd(FacesContext, UIComponent)
that
provide a more fine-grained rendering sequence.Constructor and Description |
---|
ClientComponentRendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
decodeClientState(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeBooleanProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Boolean propertyValue,
boolean first) |
protected void |
encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
String clientId,
boolean first) |
protected void |
encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
String clientId,
javax.faces.component.UIComponent uiComponent,
boolean first) |
void |
encodeClientState(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
javax.faces.component.UIComponent uiComponent) |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeFunctionCall(javax.faces.context.ResponseWriter responseWriter,
String functionName,
Object... parameters) |
protected void |
encodeIntegerProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Integer propertyValue,
boolean first) |
abstract void |
encodeJavaScript(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
abstract void |
encodeMarkupBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
abstract void |
encodeMarkupEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeNonEscapedObjectProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Object propertyValue,
boolean first) |
protected void |
encodeStringProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Object propertyValue,
boolean first) |
protected String |
getClientVarName(javax.faces.context.FacesContext facesContext,
ClientComponent clientComponent) |
protected void |
renderScript(javax.faces.context.FacesContext facesContext,
String bufferedScriptString,
String[] modules,
Script.ModulesType modulesType) |
public abstract void encodeJavaScript(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent) throws IOException
encodeJavaScript
in interface ClientComponentRenderer
IOException
ClientComponentRenderer.encodeJavaScript(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public abstract void encodeMarkupBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent) throws IOException
encodeMarkupBegin
in interface ClientComponentRenderer
IOException
ClientComponentRenderer.encodeMarkupBegin(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public abstract void encodeMarkupEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent) throws IOException
encodeMarkupEnd
in interface ClientComponentRenderer
IOException
ClientComponentRenderer.encodeMarkupEnd(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
decode
in class javax.faces.render.Renderer
public void decodeClientState(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
decodeClientState
in interface ClientComponentRenderer
ClientComponentRenderer.decodeClientState(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent) throws IOException
encodeBegin
in class javax.faces.render.Renderer
IOException
public void encodeClientState(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter responseWriter, javax.faces.component.UIComponent uiComponent) throws IOException
public void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected void encodeBooleanProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, Boolean propertyValue, boolean first) throws IOException
IOException
protected void encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, String clientId, boolean first) throws IOException
IOException
protected void encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, String clientId, javax.faces.component.UIComponent uiComponent, boolean first) throws IOException
IOException
protected void encodeFunctionCall(javax.faces.context.ResponseWriter responseWriter, String functionName, Object... parameters) throws IOException
IOException
protected void encodeIntegerProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, Integer propertyValue, boolean first) throws IOException
IOException
protected void encodeNonEscapedObjectProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, Object propertyValue, boolean first) throws IOException
IOException
protected void encodeStringProperty(javax.faces.context.ResponseWriter responseWriter, String propertyName, Object propertyValue, boolean first) throws IOException
IOException
protected String getClientVarName(javax.faces.context.FacesContext facesContext, ClientComponent clientComponent)
protected void renderScript(javax.faces.context.FacesContext facesContext, String bufferedScriptString, String[] modules, Script.ModulesType modulesType)
Copyright © 2018 Liferay, Inc.. All rights reserved.