|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.render.Renderer org.jboss.seam.ui.util.cdk.RendererBase
public abstract class RendererBase
Mangled version of Ajax4Jsf's RendererBase without supporting classes Base Renderer for all chameleon Skin's and components. At most, make all common procedures and realise concrete work in "template" methods.
Field Summary | |
---|---|
protected static java.lang.String |
JAVASCRIPT_NAMESPACE
logger for common cases. |
Constructor Summary | |
---|---|
RendererBase()
|
Method Summary | |
---|---|
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 |
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. |
protected void |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected abstract java.lang.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. |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String JAVASCRIPT_NAMESPACE
Constructor Detail |
---|
public RendererBase()
Method Detail |
---|
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 java.io.IOException
java.io.IOException
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeChildren
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class javax.faces.render.Renderer
java.io.IOException
protected abstract java.lang.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 java.io.IOException
writer
- context
- component
-
java.io.IOException
protected void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
writer
- context
- component
-
java.io.IOException
protected void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
writer
- context
- component
-
java.io.IOException
public void renderChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws java.io.IOException
facesContext
- component
-
java.io.IOException
public void renderChild(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent child) throws java.io.IOException
facesContext
- child
-
java.io.IOException
public static RendererUtils getUtils()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |