javax.servlet.jsp.tagext
Class TagLibraryInfo
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagLibraryInfo
- public abstract class TagLibraryInfo
- extends Object
Information on the Tag Library;
this class is instantiated from the Tag Library Descriptor file (TLD).
Constructor Summary |
protected |
TagLibraryInfo(String prefix,
String uri)
Constructor
This will invoke the constructors for TagInfo, and TagAttributeInfo
after parsing the TLD file. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefix
protected String prefix
uri
protected String uri
tags
protected TagInfo[] tags
tlibversion
protected String tlibversion
jspversion
protected String jspversion
shortname
protected String shortname
urn
protected String urn
info
protected String info
TagLibraryInfo
protected TagLibraryInfo(String prefix,
String uri)
- Constructor
This will invoke the constructors for TagInfo, and TagAttributeInfo
after parsing the TLD file.
- Parameters:
prefix
- the prefix actually used by the taglib directiveuri
- the URI actually used by the taglib directive
getURI
public String getURI()
- Returns:
- the URI from the <%@ taglib directive for this library
getPrefixString
public String getPrefixString()
- Returns:
- the prefix assigned to this taglib from the <%taglib directive
getShortName
public String getShortName()
- Returns:
- the prefered short name for the library
getReliableURN
public String getReliableURN()
- Returns:
- a reliable URN to a TLD like this
getInfoString
public String getInfoString()
- Returns:
- the info string for this tag lib
getRequiredVersion
public String getRequiredVersion()
- The required version.
TODO -- minimal?
getTags
public TagInfo[] getTags()
- Returns:
- the tags defined in this tag lib
getTag
public TagInfo getTag(String shortname)
- Get the TagInfo for a given tag name