org.jboss.seam.ui.util.cdk
public abstract class RendererBase extends javax.faces.render.Renderer
Modifier and Type | Field and Description |
---|---|
protected static String |
JAVASCRIPT_NAMESPACE
logger for common cases.
|
Constructor and Description |
---|
RendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom decoding of concrete renderer.
|
protected void |
doEncodeBegin(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom start encoding of concrete renderer.
|
protected void |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
doEncodeEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom finish encoding of concrete renderer.
|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected abstract Class |
getComponentClass()
Get base component slass , targetted for this renderer.
|
static RendererUtils |
getUtils() |
protected void |
preDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
preEncodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
renderChild(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent child)
Render one component and it childrens
|
void |
renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Render all children for given component.
|
protected static final String JAVASCRIPT_NAMESPACE
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
protected void preDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void preEncodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeBegin
in class javax.faces.render.Renderer
IOException
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected abstract Class getComponentClass()
protected void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
context
- component
- protected void doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
writer
- context
- component
- IOException
protected void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
writer
- context
- component
- IOException
protected void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
writer
- context
- component
- IOException
public void renderChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
facesContext
- component
- IOException
public void renderChild(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent child) throws IOException
facesContext
- child
- IOException
public static RendererUtils getUtils()
Copyright © 2015 Seam Framework. All Rights Reserved.