- java.lang.Object
-
- javax.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:
- JSP 2.0
-
-
Constructor Summary
Constructors Constructor and Description TagFileInfo(String name, String path, TagInfo tagInfo)
Constructor for TagFileInfo from data in the JSP 2.0 format for TLD.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description String
getName()
The unique action name of this tag.String
getPath()
Where to find the .tag file implementing this action.TagInfo
getTagInfo()
Returns information about this tag, parsed from the directives in the tag file.
-
-
-
Constructor Detail
-
TagFileInfo
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.- Parameters:
name
- The unique action name of this tagpath
- Where to find the .tag file implementing this action, relative to the location of the TLD file.tagInfo
- The detailed information about this tag, as parsed from the directives in the tag file.
-
-
Method Detail
-
getName
public String getName()
The unique action name of this tag.- Returns:
- The (short) name of the tag.
-
getPath
public String getPath()
Where to find the .tag file implementing this action.- Returns:
- The path of the tag file, relative to the TLD, or "." if the tag file was defined in an implicit tag file.
-
getTagInfo
public TagInfo getTagInfo()
Returns information about this tag, parsed from the directives in the tag file.- Returns:
- a TagInfo object containing information about this tag
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/servlet/jsp/tagext/TagFileInfo.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.