public abstract class BaseComponentRenderer
extends javax.faces.render.Renderer
Renderer for typical faces components, handling the rendering for common UIComponent attributes.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
BaseComponentRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Renders the opening portion of the tag, prior to any children.
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Closes the tag after children have been rendered.
|
protected java.util.Map |
getAttributeAliases(javax.faces.component.UIComponent component) |
protected java.util.Map |
getAttributeCallbacks(javax.faces.component.UIComponent component) |
protected abstract java.lang.String[] |
getAttributesToRender(javax.faces.component.UIComponent component) |
protected abstract java.lang.String |
getRenderedTagName(javax.faces.component.UIComponent component) |
protected void |
writeAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Writes the attributes for this tag.
|
protected java.util.Map getAttributeCallbacks(javax.faces.component.UIComponent component)
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeBegin in class javax.faces.render.Rendererjava.io.IOExceptionprotected void writeAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
context - the current FacesContextcomponent - the UIComponent being renderedjava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeEnd in class javax.faces.render.Rendererjava.io.IOExceptionprotected abstract java.lang.String getRenderedTagName(javax.faces.component.UIComponent component)
component - TODOprotected abstract java.lang.String[] getAttributesToRender(javax.faces.component.UIComponent component)
protected java.util.Map getAttributeAliases(javax.faces.component.UIComponent component)