Class TaglibXml


  • public class TaglibXml
    extends Object
    Common representation of a Tag Library Descriptor (TLD) XML file.

    This stores the raw result of parsing an TLD XML file, flattening different version of the descriptors to a common format. This is different to a TagLibraryInfo instance that would be passed to a tag validator in that it does not contain the uri and prefix values used by a JSP to reference this tag library.

    • Constructor Detail

      • TaglibXml

        public TaglibXml()
    • Method Detail

      • getTlibVersion

        public String getTlibVersion()
      • setTlibVersion

        public void setTlibVersion​(String tlibVersion)
      • getJspVersion

        public String getJspVersion()
      • setJspVersion

        public void setJspVersion​(String jspVersion)
      • getShortName

        public String getShortName()
      • setShortName

        public void setShortName​(String shortName)
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getInfo

        public String getInfo()
      • setInfo

        public void setInfo​(String info)
      • setValidator

        public void setValidator​(ValidatorXml validator)
      • addTag

        public void addTag​(TagXml tag)
      • addTagFile

        public void addTagFile​(TagFileXml tag)
      • addListener

        public void addListener​(String listener)
      • getListeners

        public List<String> getListeners()
      • addFunction

        public void addFunction​(String name,
                                String klass,
                                String signature)