|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer
| Field Summary | |
java.lang.String |
ICESUBMIT
|
java.lang.String |
ICESUBMITPARTIAL
|
| Constructor Summary | |
DomBasicRenderer()
|
|
| Method Summary | |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Delegate rendering to the renderEnd(..) method after validating parameters and before maintaining the cursor position. |
static void |
encodeParentAndChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent parent)
Recursively render the parent UIComponent instance and its children. |
static javax.faces.component.UIComponent |
findForComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Find the UIComponent whose id is given by the for attribute of the UIComponent parameter. |
static javax.faces.component.UIForm |
findForm(javax.faces.component.UIComponent uiComponent)
Given a UIComponent instance, recursively examine the heirarchy of parent NamingContainers until the UIForm is found. |
static javax.faces.component.UIComponent |
findNamingContainer(javax.faces.component.UIComponent uiComponent)
Given a UIComponent instance, recursively examine the heirarchy of parent UIComponents until the first NamingContainer is found. |
static java.lang.String[] |
getExcludesArray(java.util.Set excludes)
Retrieve the array of excluded attributes. |
java.lang.String[] |
getRowStyleClasses(javax.faces.component.UIComponent uiComponent)
This method, given a component, will return an array of the component's row classes. |
static boolean |
isStatic(javax.faces.component.UIComponent uiComponent)
A component is static if it is disabled or readonly. |
static void |
renderAttribute(javax.faces.component.UIComponent uiComponent,
org.w3c.dom.Element targetElement,
java.lang.String attrNameInComponent,
java.lang.String attrNameInDom)
Sets a non-null, non-empty-string, UIComponent property to the corresponding DOM Element |
protected void |
renderEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.String currentValue)
The common infrastructure of parameter validation and cursor management will be provided by the encodeEnd method and rendering is delegated to this method. |
static void |
setPartialSubmit(javax.faces.component.UIComponent component)
|
static void |
setRootElementId(javax.faces.context.FacesContext facesContext,
org.w3c.dom.Element rootElement,
javax.faces.component.UIComponent uiComponent)
Set the id of the root element of the DOMContext associated with the UIComponent parameter. |
void |
setSubmittedValue(javax.faces.component.UIComponent uiComponent,
java.lang.Object value)
This method should be overridden by renderers for components who subclass UIInput |
void |
validateParameters(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Class validComponentType)
Validates that the facesContext is not null, the uiComponent is not null, and that uiComponent is assignment-compatible with the validComponentType. |
| Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String ICESUBMITPARTIAL
public final java.lang.String ICESUBMIT
| Constructor Detail |
public DomBasicRenderer()
| Method Detail |
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
public void setSubmittedValue(javax.faces.component.UIComponent uiComponent,
java.lang.Object value)
uiComponent - value -
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
java.io.IOException
protected void renderEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.String currentValue)
throws java.io.IOException
facesContext - uiComponent - currentValue -
java.io.IOException
public static javax.faces.component.UIComponent findForComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
facesContext - uiComponent -
public static java.lang.String[] getExcludesArray(java.util.Set excludes)
public static void encodeParentAndChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent parent)
throws java.io.IOException
facesContext - parent -
java.io.IOException
public static void setRootElementId(javax.faces.context.FacesContext facesContext,
org.w3c.dom.Element rootElement,
javax.faces.component.UIComponent uiComponent)
facesContext - rootElement - uiComponent -
public static void renderAttribute(javax.faces.component.UIComponent uiComponent,
org.w3c.dom.Element targetElement,
java.lang.String attrNameInComponent,
java.lang.String attrNameInDom)
Sets a non-null, non-empty-string, UIComponent property to the corresponding DOM Element
uiComponent - the source of the attribute valuetargetElement - the DOM Element that will receive the attributeattrNameInComponent - the property name in the UIComponent objectattrNameInDom - the attribute name in the DOM Element
public void validateParameters(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Class validComponentType)
facesContext - uiComponent - validComponentType -
java.lang.NullPointerException - if either of the facesContext or the uiComponent
parameters are null, IllegalArgumentException if the validComponentType is not
null and the uiComponent is not assignable to the given type.public static boolean isStatic(javax.faces.component.UIComponent uiComponent)
uiComponent -
public static javax.faces.component.UIComponent findNamingContainer(javax.faces.component.UIComponent uiComponent)
Given a UIComponent instance, recursively examine the heirarchy of parent UIComponents until the first NamingContainer is found.
uiComponent -
public static javax.faces.component.UIForm findForm(javax.faces.component.UIComponent uiComponent)
Given a UIComponent instance, recursively examine the heirarchy of parent NamingContainers until the UIForm is found.
uiComponent - the UIComponent instance
public java.lang.String[] getRowStyleClasses(javax.faces.component.UIComponent uiComponent)
uiComponent -
public static void setPartialSubmit(javax.faces.component.UIComponent component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||