Java Reference
In-Depth Information
The getShortName() Method
public java.lang.String getShortName()
This method returns the preferred short name for the taglib . getShortName() has no parame-
ters and throws no exceptions.
It returns this value:
java.lang.String
The getTag() Method
public TagInfo getTag(java.lang.String name)
This method returns the TagInfo for a given tag short name. getTag() throws no exceptions.
It takes one parameter:
java.lang.String
It returns this value:
TagInfo
The getTags() Method
public TagInfo[] getTags()
This method returns an array of TagInfo objects for the tags defined in this tag library.
getTags() has no parameters and throws no exceptions.
It returns this value:
TagInfo[]
E
The getURI() Method
public java.net.URL getURI()
This method returns the URI from the “<%@” taglib directive for this library. getURI() has
no parameters and throws no exceptions.
It returns this value:
java.net.URL
The VariableInfo Class
public class VariableInfo extends java.lang.Object
The VariableInfo class provides information on the scripting variables that are created and
modified by a tag at runtime. This information is provided by TagExtraInfo classes and it is
used by the translation phase of JSP. The VariableInfo class has seven fields and five meth-
ods, described in the following sections.
 
Search WWH ::




Custom Search