Class TagXml
java.lang.Object
org.apache.tomcat.util.descriptor.tld.TagXml
Model of a tag define in a tag library descriptor. This represents the information as parsed from the XML but differs
from TagInfo in that it does not provide a link back to the tag library that defined it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of tag attributes.Returns the body content type.Returns the display name.getInfo()Returns the description info.Returns the large icon path.getName()Returns the tag name.Returns the small icon path.Returns the tag handler class.Returns the TagExtraInfo class.Returns the list of tag variables.booleanReturns whether the tag accepts dynamic attributes.voidsetBodyContent(String bodyContent) Sets the body content type.voidsetDisplayName(String displayName) Sets the display name.voidsetDynamicAttributes(boolean dynamicAttributes) Sets whether the tag accepts dynamic attributes.voidSets the description info.voidsetLargeIcon(String largeIcon) Sets the large icon path.voidSets the tag name.voidsetSmallIcon(String smallIcon) Sets the small icon path.voidsetTagClass(String tagClass) Sets the tag handler class.voidsetTeiClass(String teiClass) Sets the TagExtraInfo class.
-
Constructor Details
-
TagXml
public TagXml()Constructs a new TagXml.
-
-
Method Details
-
getName
-
setName
-
getTagClass
-
setTagClass
Sets the tag handler class.- Parameters:
tagClass- the tag class
-
getTeiClass
-
setTeiClass
Sets the TagExtraInfo class.- Parameters:
teiClass- the TEI class
-
getBodyContent
-
setBodyContent
Sets the body content type.- Parameters:
bodyContent- the body content type
-
getDisplayName
-
setDisplayName
Sets the display name.- Parameters:
displayName- the display name
-
getSmallIcon
-
setSmallIcon
Sets the small icon path.- Parameters:
smallIcon- the small icon path
-
getLargeIcon
-
setLargeIcon
Sets the large icon path.- Parameters:
largeIcon- the large icon path
-
getInfo
-
setInfo
-
hasDynamicAttributes
public boolean hasDynamicAttributes()Returns whether the tag accepts dynamic attributes.- Returns:
- true if dynamic attributes are supported
-
setDynamicAttributes
public void setDynamicAttributes(boolean dynamicAttributes) Sets whether the tag accepts dynamic attributes.- Parameters:
dynamicAttributes- true if dynamic attributes are supported
-
getAttributes
Returns the list of tag attributes.- Returns:
- the attributes
-
getVariables
Returns the list of tag variables.- Returns:
- the variables
-