Java Reference
In-Depth Information
setBodyContent() Method
public void setBodyContent(BodyContent b)
This is the default implementation for the setBodyContent() method defined by the BodyTag
interface. The setBodyContent() method returns no values and throws no exceptions.
It takes two parameters:
BodyContent
The TagSupport Class
public class TagSupport implements Tag
The TagSupport class acts as a helper class for custom tags that do not process body content.
This class has 2 fields and 14 methods. It provides default implementations for all the methods
defined by the Tag interface.
The id Field
protected java.lang.String id
This field is used to hold the id attribute for the defined tag.
The pageContext Field
protected PageContext pageContext
This field is used to hold the reference to the tag PageContext object.
The TagSupport() Method
public TagSupport()
E
This is he default constructor. TagSupport() takes no parameters, returns no value, and throws
no exceptions.
The doEndTag() Method
public int doEndTag() throws JspException
This is the default implementation for the doEndTag() method defined by the Tag interface.
The doEndTag() method takes no parameters.
It returns this value:
int
It throws this exception:
JspException
 
Search WWH ::




Custom Search