|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTag
com.sun.rave.poweredby.util.AbstractUIComponentTag
Convenient base class for JSP tag handlers that extend
javax.faces.webapp.UIComponentTag
. This class
handles the tag attributes common to all component tags, and
provides convenience methods for setting component properties
with either literal values or value binding expressions.
Field Summary |
Fields inherited from class javax.faces.webapp.UIComponentTag |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
AbstractUIComponentTag()
|
Method Summary | |
protected void |
configureBoolean(javax.faces.component.UIComponent component,
java.lang.String name,
java.lang.String value)
Configure a component property of type boolean . |
protected void |
configureInteger(javax.faces.component.UIComponent component,
java.lang.String name,
java.lang.String value)
Configure a component property of type int . |
protected void |
configureObject(javax.faces.component.UIComponent component,
java.lang.String name,
java.lang.String value)
Configure a component property of type Object . |
protected void |
configureString(javax.faces.component.UIComponent component,
java.lang.String name,
java.lang.String value)
Configure a component property of type String . |
abstract java.lang.String |
getComponentType()
Return the component type for this tag. |
abstract java.lang.String |
getRendererType()
Return the renderer type for this tag. |
java.lang.String |
getStyle()
|
void |
release()
Release any variables we allocated. |
protected void |
setProperties(javax.faces.component.UIComponent component)
Configure attributes set on this tag into the component instance. |
void |
setStyle(java.lang.String style)
|
void |
setStyleClass(java.lang.String styleClass)
|
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractUIComponentTag()
Method Detail |
public void setStyle(java.lang.String style)
public void setStyleClass(java.lang.String styleClass)
public abstract java.lang.String getComponentType()
Return the component type for this tag.
public abstract java.lang.String getRendererType()
Return the renderer type for this tag.
public java.lang.String getStyle()
public void release()
Release any variables we allocated.
protected void setProperties(javax.faces.component.UIComponent component)
Configure attributes set on this tag into the component instance.
component
- UIComponent
being configuredprotected void configureBoolean(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
Configure a component property of type boolean
.
component
- UIComponent
being configuredname
- Name of the property being configuredvalue
- Value or expression to configureprotected void configureInteger(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
Configure a component property of type int
.
component
- UIComponent
being configuredname
- Name of the property being configuredvalue
- Value or expression to configureprotected void configureObject(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
Configure a component property of type Object
.
component
- UIComponent
being configuredname
- Name of the property being configuredvalue
- Value or expression to configureprotected void configureString(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
Configure a component property of type String
.
component
- UIComponent
being configuredname
- Name of the property being configuredvalue
- Value or expression to configure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |