|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentTag
UIComponentELTag
, which extends
UIComponentClassicTagBase
to add properties that use the
EL API introduced as part of JSP 2.1.
public abstract class UIComponentTag
UIComponentTag
is the base class for all JSP custom
actions that correspond to user interface components in a page that is
rendered by JavaServer Faces.
In this version of the specification, UIComponentTag
extends UIComponentClassicTagBase
to add properties that use
the Faces 1.1 Expression Language.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Constructor Summary | |
---|---|
UIComponentTag()
Deprecated. |
Method Summary | |
---|---|
static UIComponentTag |
getParentUIComponentTag(javax.servlet.jsp.PageContext context)
Deprecated. Locate and return the nearest enclosing UIComponentTag
if any; otherwise, return null . |
static boolean |
isValueReference(String value)
Deprecated. Return true if the specified value conforms to the
syntax requirements of a value binding expression. |
void |
release()
Deprecated. Release any resources allocated during the execution of this tag handler. |
void |
setBinding(String binding)
Deprecated. Set the value binding expression for our component. |
void |
setRendered(String rendered)
Deprecated. Set an override for the rendered attribute. |
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getComponentInstance, getCreated, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent |
Methods inherited from class javax.faces.webapp.UIComponentTagBase |
---|
getComponentType, getRendererType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
Constructor Detail |
---|
public UIComponentTag()
Method Detail |
---|
public void setBinding(String binding) throws javax.servlet.jsp.JspException
Set the value binding expression for our component.
binding
- The new value binding expression
IllegalArgumentException
- if the specified binding is not a
valid value binding expression.
javax.servlet.jsp.JspException
public void setRendered(String rendered)
Set an override for the rendered attribute.
rendered
- The new value for rendered attributepublic static boolean isValueReference(String value)
Return true
if the specified value conforms to the
syntax requirements of a value binding expression. Such expressions
` * may be used on most component tag attributes to signal a desire for
deferred evaluation of the attribute or property value to be set on
the underlying UIComponent
.
value
- The value to evaluate
NullPointerException
- if value
is
null
public void release()
Release any resources allocated during the execution of this tag handler.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class UIComponentClassicTagBase
public static UIComponentTag getParentUIComponentTag(javax.servlet.jsp.PageContext context)
Locate and return the nearest enclosing UIComponentTag
if any; otherwise, return null
.
context
- PageContext
for the current page
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |