javax.servlet.jsp.tagext

Class TagLibraryInfo


public abstract class TagLibraryInfo
extends java.lang.Object

Information on the Tag Library; this class is instantiated from the Tag Library Descriptor file (TLD).

Field Summary

protected String
info
protected String
jspversion
protected String
prefix
protected String
shortname
protected TagInfo[]
tags
protected String
tlibversion
protected String
uri
protected String
urn

Constructor Summary

TagLibraryInfo(String prefix, String uri)
Constructor This will invoke the constructors for TagInfo, and TagAttributeInfo after parsing the TLD file.

Method Summary

String
getInfoString()
String
getPrefixString()
String
getReliableURN()
String
getRequiredVersion()
The required version.
String
getShortName()
TagInfo
getTag(String shortname)
Get the TagInfo for a given tag name
TagInfo[]
getTags()
String
getURI()

Field Details

info

protected String info


jspversion

protected String jspversion


prefix

protected String prefix


shortname

protected String shortname


tags

protected TagInfo[] tags


tlibversion

protected String tlibversion


uri

protected String uri


urn

protected String urn

Constructor Details

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 directive
uri - the URI actually used by the taglib directive

Method Details

getInfoString

public String getInfoString()

Returns:
the info string for this tag lib


getPrefixString

public String getPrefixString()

Returns:
the prefix assigned to this taglib from the <%taglib directive


getReliableURN

public String getReliableURN()

Returns:
a reliable URN to a TLD like this


getRequiredVersion

public String getRequiredVersion()
The required version. TODO -- minimal?


getShortName

public String getShortName()

Returns:
the prefered short name for the library


getTag

public TagInfo getTag(String shortname)
Get the TagInfo for a given tag name


getTags

public TagInfo[] getTags()

Returns:
the tags defined in this tag lib


getURI

public String getURI()

Returns:
the URI from the <%@ taglib directive for this library


Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.