Class ImplicitTagLibraryInfo


  • class ImplicitTagLibraryInfo
    extends javax.servlet.jsp.tagext.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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ErrorDispatcher err  
      private static java.lang.String IMPLICIT_TLD  
      private static java.lang.String JSP_VERSION  
      private PageInfo pageInfo  
      private ParserController pc  
      private static java.lang.String TAG_FILE_SUFFIX  
      private java.util.HashMap<java.lang.String,​java.lang.String> tagFileMap  
      private static java.lang.String TAGS_SHORTNAME  
      private static java.lang.String TAGX_FILE_SUFFIX  
      private static java.lang.String TLIB_VERSION  
      private java.util.ArrayList<javax.servlet.jsp.tagext.TagFileInfo> vec  
      private static java.lang.String WEB_INF_TAGS  
      • Fields inherited from class javax.servlet.jsp.tagext.TagLibraryInfo

        functions, info, jspversion, prefix, shortname, tagFiles, tags, tlibversion, uri, urn
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.servlet.jsp.tagext.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.
      javax.servlet.jsp.tagext.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.
      private void parseImplicitTld​(JspCompilationContext ctxt, java.lang.String path)
      Parses the JSP version and tlib-version from the implicit.tld at the given path.
      • Methods inherited from class javax.servlet.jsp.tagext.TagLibraryInfo

        getFunction, getFunctions, getInfoString, getPrefixString, getReliableURN, getRequiredVersion, getShortName, getTag, getTagFiles, getTags, getURI
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTagLibraryInfos

        public javax.servlet.jsp.tagext.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 javax.servlet.jsp.tagext.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 javax.servlet.jsp.tagext.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 javax.servlet.jsp.tagext.TagLibraryInfo
        Returns:
        The TagFileInfo corresponding to the given tag name, or null if the given tag name is not implemented as a tag file