Class TaglibXml
java.lang.Object
org.apache.tomcat.util.descriptor.tld.TaglibXml
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunction
(String name, String klass, String signature) void
addListener
(String listener) void
void
addTagFile
(TagFileXml tag) getInfo()
getTags()
getUri()
void
void
setJspVersion
(String jspVersion) void
setShortName
(String shortName) void
setTlibVersion
(String tlibVersion) void
void
setValidator
(ValidatorXml validator)
-
Constructor Details
-
TaglibXml
public TaglibXml()
-
-
Method Details
-
getTlibVersion
-
setTlibVersion
-
getJspVersion
-
setJspVersion
-
getShortName
-
setShortName
-
getUri
-
setUri
-
getInfo
-
setInfo
-
getValidator
-
setValidator
-
addTag
-
getTags
-
addTagFile
-
getTagFiles
-
addListener
-
getListeners
-
addFunction
-
getFunctions
-