|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.render.Renderer com.ibm.xsp.renderkit.FacesRenderer com.ibm.xsp.renderkit.html_extended.HtmlBasicRenderer
public class HtmlBasicRenderer
Base Renderer to encode HTML attributes.
Field Summary | |
---|---|
static java.lang.String[] |
BOOLEAN_ATTRS
HTML Boolean Attributes: readonly disabled |
static java.lang.String[] |
FOCUS_ATTRS
HTML Focus Attributes: accesskey onblur onfocus tabindex |
static java.lang.String[] |
HTML_ATTRS
HTML Attributes: dir lang title onclick ondblclick onkeydown onkeypress onkeyup onmousedown onmousemove onmouseout onmouseover onmouseover |
static java.lang.String[][] |
HTML_STYLE_ATTRS
HTML Style Attributes: style class |
static java.lang.String[] |
NO_ATTRS
Empty, not used. |
Fields inherited from class com.ibm.xsp.renderkit.FacesRenderer |
---|
CHECKED, CLIENTID, DISABLED, FACTORY, FOR, HTML_BASIC, ID, INPUT, LABEL, NAME, READONLY, TEXT, TYPE, VALUE |
Constructor Summary | |
---|---|
HtmlBasicRenderer()
|
Method Summary | |
---|---|
protected void |
encodeBooleanAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component)
Write the HTML boolean attributes for component. |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected void |
encodeFocusAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component)
Write the HTML focus attributes for component. |
protected void |
encodeHtmlAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component)
Write the HTML and style attributes for component. |
protected void |
encodeHtmlAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
boolean includeStyles)
Write the HTML attributes for component and optionally the style attributes. |
protected void |
encodeHtmlStyleAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component)
Write the HTML style attributes for component. |
protected javax.faces.component.UIComponent |
getFor(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String sfor)
Get the component referenced by sfor. |
protected java.util.Iterator<javax.faces.application.FacesMessage> |
getMessages(javax.faces.context.FacesContext context,
java.lang.String sfor,
javax.faces.component.UIComponent component)
Get the messages associated with component. |
boolean |
getRendersChildren()
|
Methods inherited from class com.ibm.xsp.renderkit.FacesRenderer |
---|
isValidValue, writeAttribute, writeAttribute, writeAttribute, writeBooleanAttribute, writeId, writeId |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, decode, encodeBegin, encodeEnd, getConvertedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] NO_ATTRS
public static final java.lang.String[] HTML_ATTRS
public static final java.lang.String[][] HTML_STYLE_ATTRS
public static final java.lang.String[] BOOLEAN_ATTRS
public static final java.lang.String[] FOCUS_ATTRS
Constructor Detail |
---|
public HtmlBasicRenderer()
Method Detail |
---|
protected void encodeHtmlAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected void encodeHtmlAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component, boolean includeStyles) throws java.io.IOException
java.io.IOException
protected void encodeHtmlStyleAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected void encodeBooleanAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected void encodeFocusAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected java.util.Iterator<javax.faces.application.FacesMessage> getMessages(javax.faces.context.FacesContext context, java.lang.String sfor, javax.faces.component.UIComponent component)
protected javax.faces.component.UIComponent getFor(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String sfor)
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |