Ja-Jakarta
Translation

javax.servlet.jsp.tagext
クラス TagLibraryInfo

java.lang.Object
  上位を拡張 javax.servlet.jsp.tagext.TagLibraryInfo

public abstract class TagLibraryInfo
extends java.lang.Object

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


フィールドの概要
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.
 
コンストラクタの概要
protected TagLibraryInfo(java.lang.String prefix, java.lang.String uri)
          Constructor.
 
メソッドの概要
 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.
 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.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

prefix

protected java.lang.String prefix
The prefix assigned to this taglib from the taglib directive.


uri

protected java.lang.String uri
The value of the uri attribute from the taglib directive for this library.


tags

protected TagInfo[] tags
An array describing the tags that are defined in this tag library.


tagFiles

protected TagFileInfo[] tagFiles
An array describing the tag files that are defined in this tag library.

導入されたバージョン:
2.0

functions

protected FunctionInfo[] functions
An array describing the functions that are defined in this tag library.

導入されたバージョン:
2.0

tlibversion

protected java.lang.String tlibversion
The version of the tag library.


jspversion

protected java.lang.String jspversion
The version of the JSP specification this tag library is written to.


shortname

protected java.lang.String shortname
The preferred short name (prefix) as indicated in the TLD.


urn

protected java.lang.String urn
The "reliable" URN indicated in the TLD.


info

protected java.lang.String info
Information (documentation) for this TLD.

コンストラクタの詳細

TagLibraryInfo

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

パラメータ:
prefix - the prefix actually used by the taglib directive
uri - the URI actually used by the taglib directive
メソッドの詳細

getURI

public java.lang.String getURI()
The value of the uri attribute from the taglib directive for this library.

戻り値:
the value of the uri attribute

getPrefixString

public java.lang.String getPrefixString()
The prefix assigned to this taglib from the taglib directive

戻り値:
the prefix assigned to this taglib from the taglib directive

getShortName

public java.lang.String getShortName()
The preferred short name (prefix) as indicated in the TLD. This may be used by authoring tools as the preferred prefix to use when creating an taglib directive for this library.

戻り値:
the preferred short name for the library

getReliableURN

public java.lang.String getReliableURN()
The "reliable" URN indicated in the TLD (the uri element). This may be used by authoring tools as a global identifier to use when creating a taglib directive for this library.

戻り値:
a reliable URN to a TLD like this

getInfoString

public java.lang.String getInfoString()
Information (documentation) for this TLD.

戻り値:
the info string for this tag lib

getRequiredVersion

public java.lang.String getRequiredVersion()
A string describing the required version of the JSP container.

戻り値:
the (minimal) required version of the JSP container.
関連項目:
JspEngineInfo

getTags

public TagInfo[] getTags()
An array describing the tags that are defined in this tag library.

戻り値:
the TagInfo objects corresponding to the tags defined by this tag library, or a zero length array if this tag library defines no tags

getTagFiles

public TagFileInfo[] getTagFiles()
An array describing the tag files that are defined in this tag library.

戻り値:
the TagFileInfo objects corresponding to the tag files defined by this tag library, or a zero length array if this tag library defines no tags files
導入されたバージョン:
2.0

getTag

public TagInfo getTag(java.lang.String shortname)
Get the TagInfo for a given tag name, looking through all the tags in this tag library.

パラメータ:
shortname - The short name (no prefix) of the tag
戻り値:
the TagInfo for the tag with the specified short name, or null if no such tag is found

getTagFile

public TagFileInfo getTagFile(java.lang.String shortname)
Get the TagFileInfo for a given tag name, looking through all the tag files in this tag library.

パラメータ:
shortname - The short name (no prefix) of the tag
戻り値:
the TagFileInfo for the specified Tag file, or null if no Tag file is found
導入されたバージョン:
2.0

getFunctions

public FunctionInfo[] getFunctions()
An array describing the functions that are defined in this tag library.

戻り値:
the functions defined in this tag library, or a zero length array if the tag library defines no functions.
導入されたバージョン:
2.0

getFunction

public FunctionInfo getFunction(java.lang.String name)
Get the FunctionInfo for a given function name, looking through all the functions in this tag library.

パラメータ:
name - The name (no prefix) of the function
戻り値:
the FunctionInfo for the function with the given name, or null if no such function exists
導入されたバージョン:
2.0

Ja-Jakarta
Translation

Copyright © 2000- The Apache Software Foundation. All rights Reserved.