|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
javax.faces.webapp.AttributeTag
public class AttributeTag
Tag implementation that adds an attribute with a specified name and String value to the component whose tag it is nested inside, if the component does not already contain an attribute with the same name. This tag creates no output to the page currently being created.
Constructor Summary | |
---|---|
AttributeTag()
Deprecated. |
Method Summary | |
---|---|
int |
doEndTag()
Deprecated. |
int |
doStartTag()
Deprecated. Register the specified attribute name and value with the UIComponent instance associated with our most immediately
surrounding UIComponentTag instance, if this UIComponent
does not already have a value for the specified attribute name. |
void |
release()
Deprecated. Release references to any acquired resources. |
void |
setName(java.lang.String name)
Deprecated. Set the attribute name. |
void |
setValue(java.lang.String value)
Deprecated. Set the attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeTag()
Method Detail |
---|
public void setName(java.lang.String name)
Set the attribute name.
name
- The new attribute namepublic void setValue(java.lang.String value)
Set the attribute value.
value
- The new attribute valuepublic int doStartTag() throws JspException
Register the specified attribute name and value with the
UIComponent
instance associated with our most immediately
surrounding UIComponentTag
instance, if this UIComponent
does not already have a value for the specified attribute name.
JspException
- if a JSP error occurspublic int doEndTag() throws JspException
JspException
public void release()
Release references to any acquired resources.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |