|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagLibraryInfo
public abstract class TagLibraryInfo
Translation-time information associated with a taglib directive, and its underlying TLD file. Most of the information is directly from the TLD, except for the prefix and the uri values used in the taglib directive
Field Summary | |
---|---|
protected FunctionInfo[] |
functions
An array describing the functions that are defined in this tag library. |
protected java.lang.String |
info
Information (documentation) for this TLD. |
protected java.lang.String |
jspversion
The version of the JSP specification this tag library is written to. |
protected java.lang.String |
prefix
The prefix assigned to this taglib from the taglib directive. |
protected java.lang.String |
shortname
The preferred short name (prefix) as indicated in the TLD. |
protected TagFileInfo[] |
tagFiles
An array describing the tag files that are defined in this tag library. |
protected TagInfo[] |
tags
An array describing the tags that are defined in this tag library. |
protected java.lang.String |
tlibversion
The version of the tag library. |
protected java.lang.String |
uri
The value of the uri attribute from the taglib directive for this library. |
protected java.lang.String |
urn
The "reliable" URN indicated in the TLD. |
Constructor Summary | |
---|---|
protected |
TagLibraryInfo(java.lang.String prefix,
java.lang.String uri)
Constructor. |
Method Summary | |
---|---|
FunctionInfo |
getFunction(java.lang.String name)
Get the FunctionInfo for a given function name, looking through all the functions in this tag library. |
FunctionInfo[] |
getFunctions()
An array describing the functions that are defined in this tag library. |
java.lang.String |
getInfoString()
Information (documentation) for this TLD. |
java.lang.String |
getPrefixString()
The prefix assigned to this taglib from the taglib directive |
java.lang.String |
getReliableURN()
The "reliable" URN indicated in the TLD (the uri element). |
java.lang.String |
getRequiredVersion()
A string describing the required version of the JSP container. |
java.lang.String |
getShortName()
The preferred short name (prefix) as indicated in the TLD. |
TagInfo |
getTag(java.lang.String shortname)
Get the TagInfo for a given tag name, looking through all the tags in this tag library. |
TagFileInfo |
getTagFile(java.lang.String shortname)
Get the TagFileInfo for a given tag name, looking through all the tag files in this tag library. |
TagFileInfo[] |
getTagFiles()
An array describing the tag files that are defined in this tag library. |
abstract TagLibraryInfo[] |
getTagLibraryInfos()
Returns an array of TagLibraryInfo objects representing the entire set of tag libraries (including this TagLibraryInfo) imported by taglib directives in the translation unit that references this TagLibraryInfo. |
TagInfo[] |
getTags()
An array describing the tags that are defined in this tag library. |
java.lang.String |
getURI()
The value of the uri attribute from the taglib directive for this library. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String prefix
protected java.lang.String uri
protected TagInfo[] tags
protected TagFileInfo[] tagFiles
protected FunctionInfo[] functions
protected java.lang.String tlibversion
protected java.lang.String jspversion
protected java.lang.String shortname
protected java.lang.String urn
protected java.lang.String info
Constructor Detail |
---|
protected TagLibraryInfo(java.lang.String prefix, java.lang.String uri)
prefix
- the prefix actually used by the taglib directiveuri
- the URI actually used by the taglib directiveMethod Detail |
---|
public java.lang.String getURI()
public java.lang.String getPrefixString()
public java.lang.String getShortName()
public java.lang.String getReliableURN()
public java.lang.String getInfoString()
public java.lang.String getRequiredVersion()
JspEngineInfo
public TagInfo[] getTags()
public TagFileInfo[] getTagFiles()
public TagInfo getTag(java.lang.String shortname)
shortname
- The short name (no prefix) of the tag
public TagFileInfo getTagFile(java.lang.String shortname)
shortname
- The short name (no prefix) of the tag
public FunctionInfo[] getFunctions()
public FunctionInfo getFunction(java.lang.String name)
name
- The name (no prefix) of the function
public abstract TagLibraryInfo[] getTagLibraryInfos()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41