Java Reference
In-Depth Information
The doStartTag() Method
public int doStartTag() throws JspException
This is the default implementation for the doStartTag() method defined by the Tag interface.
The doStartTag() method takes no parameters.
It returns this value:
int
It throws this exception:
JspException
The findAncestorWithClass() Method
public static final Tag findAncestorWithClass(Tag from, java.lang.Class klass)
The findAncestorWithClass() method finds the instance of a given class type that is closest
to a given instance. This class is used for coordination among cooperating tags. This method
throws no exceptions.
It takes two parameters:
Tag
java.lang.Class
It returns this value:
Tag
The getId() Method
public java.lang.String getId()
The getId() method returns the value of the id attribute of this tag, or null. This method takes
no parameters and throws no exceptions.
It returns this value:
java.lang.String
The getParent() Method
public Tag getParent()
The getParent() method returns the Tag instance enclosing this tag instance. This method
takes no parameters and throws no exceptions.
It returns this value:
Tag
Search WWH ::




Custom Search