|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.apache.myfaces.shared_orchestra.renderkit.html.HtmlRenderer
public abstract class HtmlRenderer
Constructor Summary | |
---|---|
HtmlRenderer()
|
Method Summary | |
---|---|
protected String |
getActionUrl(javax.faces.context.FacesContext facesContext)
|
int |
getChildCount(javax.faces.component.UIComponent component)
Return the number of children of the specified component. |
List |
getChildren(javax.faces.component.UIComponent component)
Return the list of children of the specified component. |
protected String |
getClientId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Returns the client ID that should be used for rendering (if shouldRenderId(javax.faces.context.FacesContext, javax.faces.component.UIComponent) returns true). |
protected void |
renderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Renders the client ID as an "id". |
protected boolean |
shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Returns true if the component should render an ID. |
static String |
toUri(Object o)
Coerces an object into a URI, accounting for JSF rules with initial slashes. |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlRenderer()
Method Detail |
---|
public List getChildren(javax.faces.component.UIComponent component)
This default implementation simply returns component.getChildren(). However this method should always be used in order to allow renderer subclasses to override it and provide filtered or reordered views of the component children to rendering methods defined in their ancestor classes.
Any method that overrides this to "hide" child components should also override the getChildCount method.
public int getChildCount(javax.faces.component.UIComponent component)
See getChildren(UIComponent)
for more information.
protected String getActionUrl(javax.faces.context.FacesContext facesContext)
facesContext
-
protected void renderId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected String getClientId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
shouldRenderId(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
returns true).
protected boolean shouldRenderId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
public static String toUri(Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |