Attribute Class
- public class Attribute
extends AbstractBaseTag
Add an attribute to the parent tag which is being rendered
Related Topics
Parameter
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
Attribute
-
All Implemented Interfaces
-
BodyTag
, IterationTag
, Serializable
, Tag
Fields from com.bea.wlw.netui.tags.AbstractBaseTag |
ATTR_GENERAL , ATTR_GENERAL_EXPRESSION , ATTR_JAVASCRIPT , ATTR_STYLE , CLASS , ID , JAVASCRIPT_STATUS , NAME , NETUI_UNIQUE_CNT , ONCLICK , ONDBLCLICK , ONKEYDOWN , ONKEYPRESS , ONKEYUP , ONMOUSEDOWN , ONMOUSEMOVE , ONMOUSEOUT , ONMOUSEOVER , ONMOUSEUP , STYLE , TABINDEX
|
public int |
-
doStartTag ()
- Add the URL parameter to the Parameter's parent.
|
public String |
-
getName ()
- Return the value of the
name attribute.
|
public String |
-
getTagName ()
- Return the name of the Tag.
|
public String |
-
getValue ()
- Return the value of the
value attribute
|
protected void |
-
localRelease ()
- This is a method that will initialize all temp state on a
tag and should be called in the doEndTag method.
|
public void |
-
setName (String name)
- Sets the
name attribute.
|
public void |
-
setValue (String value)
- Sets the
value attribute.
|
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping , evaluateAttributeToString , filter , filter , getJavaScriptUtils , getNearestForm , getScriptReporter , getUserLocale , registerTagError , release , renderAttribute , rewriteName , write
|
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Attribute
public Attribute()
doStartTag() Method
public int doStartTag()
throws JspException
Add the URL parameter to the Parameter's parent.
-
Overrides
-
BodyTagSupport.doStartTag()
Exceptions
-
JspException
- if a JSP exception has occurred
getName() Method
public String
getName()
Return the value of the name
attribute.
Returns
- the value of the attribute name.
getTagName() Method
public String
getTagName()
Return the name of the Tag.
-
Overrides
-
AbstractBaseTag.getTagName()
getValue() Method
public String
getValue()
Return the value of the value
attribute
Returns
- the value of the attribute value.
localRelease() Method
protected void localRelease()
Description copied from AbstractBaseTag.localRelease()
This is a method that will initialize all temp state on a
tag and should be called in the doEndTag method.
-
Overrides
-
AbstractBaseTag.localRelease()
setName(String) Method
public void setName(String
name)
Sets the name
attribute.
Parameters
-
name
- - the value of the
name
attribute.
setValue(String) Method
public void setValue(String
value)
Sets the value
attribute.
Parameters
-
value
- - the value of the
name
attribute.