TagSupport Class |
public class TagSupport extends Object implements Tag, Serializable |
    Object
      TagSupport
Interfaces
    Tag, Serializable
The Tag class provides Tag life cycle methods and methods for accessing information about a Tag.

TagSupport() |
public TagSupport() | Constructor
Creates a TagSupport object. Sub-classes of TagSupport are required to provide a no-argument constructor that calls this constructor.

doEndTag() |
public int doEndTag() throws JspException | Method
doEndTag processes the end tag. This method will be called on all Tag objects. The release method should be called after this method is invoked.

doStartTag() |
public int doStartTag() throws JspException | Method
doStartTag processes the start tag. This method is called after all set methods have been called and before the body is invoked.

getTagId() |
public String getTagId() | Method
getTagId() returns the value of the "id" attribute.

setTagId() |
public void setTagId(String id) | Method
setTagId sets the value of the "id" attribute.

getParent() |
public Tag getParent() | Method
getParent returns the parent, or nesting, tag for the current tag.

setParent() |
public void setParent(Tag t) | Method
setParent sets the sets the parent, or nesting, tag.

release() |
public void release() | Method
release resets the state of the Tag.

setPageContext() |
public void setPageContext(PageContext pc) | Method
setPageContext() specifies the current PageContext object associated with the tag.

getValue() |
public Object getValue(String name) | Method
getValue returns the value of the specified attribute.

getValues() |
public Enumeration getValue() | Method
getValues() returns an Enumeration containing all of the values.

removeValue() |
public void removeValue(String name) | Method
removeValue() removes the specified attribute from the tag.

setValue() |
public void setValue(String name, Object value) | Method
setValue() sets the value of the specified attribute.