Class TldFile


  • public class TldFile
    extends java.lang.Object
    A TLD.
    Version:
    1.0
    • Constructor Detail

      • TldFile

        public TldFile​(JspCompletionProvider provider,
                       java.io.File jar)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getAttributesForTag

        public java.util.List<org.fife.ui.autocomplete.ParameterizedCompletion.Parameter> getAttributesForTag​(java.lang.String tagName)
        Returns the attributes for a tag.
        Parameters:
        tagName - The tag to look up.
        Returns:
        The attributes for the tag, or null if none.
      • getChildText

        private java.lang.String getChildText​(org.w3c.dom.Node elem)
      • getElement

        public TldElement getElement​(int index)
        Returns an element.
        Parameters:
        index - The index of the element.
        Returns:
        The element.
        See Also:
        getElementCount()
      • getElementCount

        public int getElementCount()
        Returns the number of elements.
        Returns:
        The element count.
        See Also:
        getElement(int)
      • loadTldElems

        private java.util.List<TldElement> loadTldElems()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseTld

        private java.util.List<TldElement> parseTld​(java.io.InputStream in)
                                             throws java.io.IOException
        Throws:
        java.io.IOException