Class ImplicitTagLibraryInfo


  • class ImplicitTagLibraryInfo
    extends TagLibraryInfo
    Class responsible for generating an implicit tag library containing tag handlers corresponding to the tag files in "/WEB-INF/tags/" or a subdirectory of it.
    • Method Detail

      • getTagLibraryInfos

        public 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. If a tag library is imported more than once and bound to different prefices, only the TagLibraryInfo bound to the first prefix must be included in the returned array.
        Specified by:
        getTagLibraryInfos in class TagLibraryInfo
        Returns:
        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.
        Since:
        2.1
      • getTagFile

        public TagFileInfo getTagFile​(java.lang.String shortName)
        Checks to see if the given tag name maps to a tag file path, and if so, parses the corresponding tag file.
        Overrides:
        getTagFile in class TagLibraryInfo
        Parameters:
        shortName - The short name (no prefix) of the tag
        Returns:
        The TagFileInfo corresponding to the given tag name, or null if the given tag name is not implemented as a tag file