Class TagLibraryInfoImpl

    • Constructor Detail

      • TagLibraryInfoImpl

        public TagLibraryInfoImpl​(java.lang.String prefix,
                                  java.lang.String uri,
                                  TagLibraryInfoImpl delegate,
                                  PageInfo pageInfo)
        Constructor which populates a TagLibraryInfoImpl from a given TagLibraryInfoImpl, and associates the new TagLibraryInfoImpl with the given translation unit (pageInfo).
        Parameters:
        prefix - The taglib's namespace prefix
        uri - The taglib's uri
        delegate - The taglib from which the new TagLibraryInfoImpl is populated
        pageInfo - The translation unit with which the new TagLibraryInfoImpl is to be associated
    • Method Detail

      • print

        private final void print​(java.lang.String name,
                                 java.lang.String value,
                                 java.io.PrintWriter w)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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
      • getTagLibraryValidator

        public TagLibraryValidator getTagLibraryValidator()
        The instance (if any) for the TagLibraryValidator class.
        Returns:
        The TagLibraryValidator instance, if any.
      • validate

        public ValidationMessage[] validate​(PageData thePage)
        Translation-time validation of the XML document associated with the JSP page. This is a convenience method on the associated TagLibraryValidator class.
        Parameters:
        thePage - The JSP page object
        Returns:
        A string indicating whether the page is valid or not.