@ProviderType 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 ClientComponentRendererIOExceptionClientComponentRenderer.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 ClientComponentRendererIOExceptionClientComponentRenderer.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 ClientComponentRendererIOExceptionClientComponentRenderer.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.Rendererpublic void decodeClientState(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
decodeClientState in interface ClientComponentRendererClientComponentRenderer.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.RendererIOExceptionpublic 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.RendererIOExceptionprotected void encodeBooleanProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Boolean propertyValue,
boolean first)
throws IOException
IOExceptionprotected void encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
String clientId,
boolean first)
throws IOException
IOExceptionprotected void encodeClientIdProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
String clientId,
javax.faces.component.UIComponent uiComponent,
boolean first)
throws IOException
IOExceptionprotected void encodeFunctionCall(javax.faces.context.ResponseWriter responseWriter,
String functionName,
Object... parameters)
throws IOException
IOExceptionprotected void encodeIntegerProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Integer propertyValue,
boolean first)
throws IOException
IOExceptionprotected void encodeNonEscapedObjectProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Object propertyValue,
boolean first)
throws IOException
IOExceptionprotected void encodeStringProperty(javax.faces.context.ResponseWriter responseWriter,
String propertyName,
Object propertyValue,
boolean first)
throws IOException
IOExceptionprotected 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 © 2020 Liferay, Inc.. All rights reserved.