FileDocCategorySizeDatePackage
TagFileInfo.javaAPI DocGlassfish v2 API4056Fri May 04 22:34:16 BST 2007javax.servlet.jsp.tagext

TagFileInfo

public class TagFileInfo extends Object
Tag information for a tag file in a Tag Library; This class is instantiated from the Tag Library Descriptor file (TLD) and is available only at translation time.
since
2.0

Fields Summary
private String
name
private String
path
private TagInfo
tagInfo
Constructors Summary
public TagFileInfo(String name, String path, TagInfo tagInfo)
Constructor for TagFileInfo from data in the JSP 2.0 format for TLD. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). Note that, since TagLibibraryInfo reflects both TLD information and taglib directive information, a TagFileInfo instance is dependent on a taglib directive. This is probably a design error, which may be fixed in the future.

param
name The unique action name of this tag
param
path Where to find the .tag file implementing this action, relative to the location of the TLD file.
param
tagInfo The detailed information about this tag, as parsed from the directives in the tag file.

        this.name = name;
        this.path = path;
        this.tagInfo = tagInfo;
    
Methods Summary
public java.lang.StringgetName()
The unique action name of this tag.

return
The (short) name of the tag.

        return name;
    
public java.lang.StringgetPath()
Where to find the .tag file implementing this action.

return
The path of the tag file, relative to the TLD, or "." if the tag file was defined in an implicit tag file.

        return path;
    
public TagInfogetTagInfo()
Returns information about this tag, parsed from the directives in the tag file.

return
a TagInfo object containing information about this tag

        return tagInfo;