public abstract class RendererBase<T extends javax.faces.component.UIComponent>
extends javax.faces.render.Renderer
Constructor and Description |
---|
RendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
decodeClientBehaviors(javax.faces.context.FacesContext facesContext,
T component) |
void |
decodeInternal(javax.faces.context.FacesContext context,
T component) |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeBeginInternal(javax.faces.context.FacesContext context,
T component) |
protected void |
encodeBehavior(TobagoResponseWriter writer,
CommandMap behaviorCommands)
Renders the tobago-behavior tag.
|
protected void |
encodeBehavior(TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext,
javax.faces.component.behavior.ClientBehaviorHolder holder)
Renders the tobago-behavior tag.
|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeChildrenInternal(javax.faces.context.FacesContext context,
T component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEndInternal(javax.faces.context.FacesContext context,
T component) |
void |
encodeReload(javax.faces.context.FacesContext facesContext,
AbstractUIReload reload)
Special implementation for the reload facet (e.g. for tc:panel and tc:sheet).
|
protected CommandMap |
getBehaviorCommands(javax.faces.context.FacesContext facesContext,
javax.faces.component.behavior.ClientBehaviorHolder clientBehaviorHolder) |
Object |
getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object submittedValue) |
Object |
getConvertedValueInternal(javax.faces.context.FacesContext context,
T component,
Object submittedValue) |
protected javax.faces.convert.Converter |
getConverter(javax.faces.context.FacesContext facesContext,
T component,
Object value)
May return null, if no converter can be find.
|
protected String |
getCurrentValue(javax.faces.context.FacesContext facesContext,
T component) |
protected String |
getFormattedValue(javax.faces.context.FacesContext facesContext,
T component,
Object currentValue) |
protected TobagoResponseWriter |
getResponseWriter(javax.faces.context.FacesContext facesContext) |
protected void |
insideBegin(javax.faces.context.FacesContext facesContext,
Facets inside) |
protected void |
insideBegin(javax.faces.context.FacesContext facesContext,
HtmlElements inside) |
protected void |
insideEnd(javax.faces.context.FacesContext facesContext,
Facets inside) |
protected void |
insideEnd(javax.faces.context.FacesContext facesContext,
HtmlElements inside) |
protected boolean |
isInside(javax.faces.context.FacesContext facesContext,
Facets inside) |
protected boolean |
isInside(javax.faces.context.FacesContext facesContext,
HtmlElements inside) |
static void |
renderFocus(String clientId,
boolean focus,
boolean error,
javax.faces.context.FacesContext facesContext,
TobagoResponseWriter writer) |
protected void |
renderSelectItems(javax.faces.component.UIInput component,
TobagoClass optionClass,
Iterable<javax.faces.model.SelectItem> items,
Object[] values,
String[] submittedValues,
Boolean onlySelected,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
protected void |
renderSelectItems(javax.faces.component.UIInput component,
TobagoClass optionClass,
Iterable<javax.faces.model.SelectItem> items,
Object[] values,
String[] submittedValues,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
protected void |
renderSelectItems(javax.faces.component.UIInput component,
TobagoClass optionClass,
Iterable<javax.faces.model.SelectItem> items,
Object value,
String submittedValue,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
public final void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeBegin
in class javax.faces.render.Renderer
IOException
public void encodeBeginInternal(javax.faces.context.FacesContext context, T component) throws IOException
IOException
public final void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public void encodeChildrenInternal(javax.faces.context.FacesContext context, T component) throws IOException
IOException
public final void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
public void encodeEndInternal(javax.faces.context.FacesContext context, T component) throws IOException
IOException
public final void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public void decodeInternal(javax.faces.context.FacesContext context, T component)
public Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue
in class javax.faces.render.Renderer
javax.faces.convert.ConverterException
public Object getConvertedValueInternal(javax.faces.context.FacesContext context, T component, Object submittedValue) throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
protected String getCurrentValue(javax.faces.context.FacesContext facesContext, T component)
public static void renderFocus(String clientId, boolean focus, boolean error, javax.faces.context.FacesContext facesContext, TobagoResponseWriter writer) throws IOException
IOException
protected TobagoResponseWriter getResponseWriter(javax.faces.context.FacesContext facesContext)
protected void insideBegin(javax.faces.context.FacesContext facesContext, HtmlElements inside)
protected void insideEnd(javax.faces.context.FacesContext facesContext, HtmlElements inside)
protected boolean isInside(javax.faces.context.FacesContext facesContext, HtmlElements inside)
protected void insideBegin(javax.faces.context.FacesContext facesContext, Facets inside)
protected void insideEnd(javax.faces.context.FacesContext facesContext, Facets inside)
protected boolean isInside(javax.faces.context.FacesContext facesContext, Facets inside)
public void encodeReload(javax.faces.context.FacesContext facesContext, AbstractUIReload reload) throws IOException
IOException
protected void encodeBehavior(TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext, javax.faces.component.behavior.ClientBehaviorHolder holder) throws IOException
IOException
protected void encodeBehavior(TobagoResponseWriter writer, CommandMap behaviorCommands) throws IOException
IOException
protected CommandMap getBehaviorCommands(javax.faces.context.FacesContext facesContext, javax.faces.component.behavior.ClientBehaviorHolder clientBehaviorHolder)
protected void decodeClientBehaviors(javax.faces.context.FacesContext facesContext, T component)
protected void renderSelectItems(javax.faces.component.UIInput component, TobagoClass optionClass, Iterable<javax.faces.model.SelectItem> items, Object[] values, String[] submittedValues, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
protected void renderSelectItems(javax.faces.component.UIInput component, TobagoClass optionClass, Iterable<javax.faces.model.SelectItem> items, Object value, String submittedValue, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
protected void renderSelectItems(javax.faces.component.UIInput component, TobagoClass optionClass, Iterable<javax.faces.model.SelectItem> items, Object[] values, String[] submittedValues, Boolean onlySelected, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
protected String getFormattedValue(javax.faces.context.FacesContext facesContext, T component, Object currentValue) throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.