|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.smile.util.RenderUtil
Utility class used for rendering
Constructor Summary | |
RenderUtil()
|
Method Summary | |
static java.lang.Boolean |
getBooleanAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute)
This operation is a convenience helper that checks the type safety for the attributes of type Boolean.This operation throws an appropriate exception, or returns a primitive boolean for a given attribute. |
static javax.faces.component.UIForm |
getEnclosingForm(javax.faces.component.UIComponent component)
Looks for the closest UIForm ancestor component. |
static java.lang.Long |
getNumericAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute)
This operation retrieves a numeric attribute. |
static java.lang.String |
getStringAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute)
This operation is a convenience helper that checks the type safety for the attributes of type String.This operation throws an appropriate exception, or returns the down-casted string for a given attribute. |
static java.lang.String[] |
getStringListAttribute(javax.faces.component.UIComponent component,
java.lang.String attribute)
Retrieves a string list attribute from a specified component. |
static void |
renderBooleanPassthruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
renderEventHandlerPassthruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
renderPassthruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RenderUtil()
Method Detail |
public static void renderBooleanPassthruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static void renderPassthruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static void renderEventHandlerPassthruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static java.lang.String getStringAttribute(javax.faces.component.UIComponent component, java.lang.String attribute)
component
- the component to query for the attribute.attribute
- the attribute to query for.
java.lang.IllegalArgumentException
- when the requested attribute turns out to be of a different type than java.lang.String.public static java.lang.Boolean getBooleanAttribute(javax.faces.component.UIComponent component, java.lang.String attribute)
component
- the component to query for the attribute.attribute
- the attribute to query for.
java.lang.IllegalArgumentException
- when the requested attribute turns out to be of a different type than java.lang.Boolean.public static java.lang.Long getNumericAttribute(javax.faces.component.UIComponent component, java.lang.String attribute)
component
- the component to check.attribute
- the attribute to look up.
public static java.lang.String[] getStringListAttribute(javax.faces.component.UIComponent component, java.lang.String attribute)
component
- the component on which to look.attribute
- the attribute to look for.
public static javax.faces.component.UIForm getEnclosingForm(javax.faces.component.UIComponent component)
component
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |