|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.HtmlRenderer
public class HtmlRenderer
Renderer implementation for the html tag
from the Struts-Faces Integration Library.
| Constructor Summary | |
|---|---|
HtmlRenderer()
|
|
| Method Summary | |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the beginning html tag. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the end of the html element. |
protected java.util.Locale |
getCurrentLocale(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the current Locale for this request, creating a
new one if necessary. |
protected boolean |
isLocale(javax.faces.component.UIComponent component)
Return the state of the locale attribute. |
protected boolean |
isXhtml(javax.faces.component.UIComponent component)
Return the state of the xhtml attribute. |
| Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer |
|---|
decode, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValue |
| 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 |
| Constructor Detail |
|---|
public HtmlRenderer()
| Method Detail |
|---|
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the beginning html tag.
encodeBegin in class AbstractRenderercontext - FacesContext for the current requestcomponent - UIComponent to be rendered
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context
or component is null
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the end of the html element.
encodeEnd in class AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be rendered
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context
or component is null
protected java.util.Locale getCurrentLocale(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the current Locale for this request, creating a
new one if necessary.
context - FacesContext for this requestcomponent - UIComponent we are renderingprotected boolean isLocale(javax.faces.component.UIComponent component)
Return the state of the locale attribute.
component - Component to processprotected boolean isXhtml(javax.faces.component.UIComponent component)
Return the state of the xhtml attribute.
component - Component to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||