Class TagXml
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.tld.TagXml
-
public class TagXml extends java.lang.ObjectModel 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 Constructor Description TagXml()Constructs a new TagXml.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TagAttributeInfo>getAttributes()Returns the list of tag attributes.java.lang.StringgetBodyContent()Returns the body content type.java.lang.StringgetDisplayName()Returns the display name.java.lang.StringgetInfo()Returns the description info.java.lang.StringgetLargeIcon()Returns the large icon path.java.lang.StringgetName()Returns the tag name.java.lang.StringgetSmallIcon()Returns the small icon path.java.lang.StringgetTagClass()Returns the tag handler class.java.lang.StringgetTeiClass()Returns the TagExtraInfo class.java.util.List<TagVariableInfo>getVariables()Returns the list of tag variables.booleanhasDynamicAttributes()Returns whether the tag accepts dynamic attributes.voidsetBodyContent(java.lang.String bodyContent)Sets the body content type.voidsetDisplayName(java.lang.String displayName)Sets the display name.voidsetDynamicAttributes(boolean dynamicAttributes)Sets whether the tag accepts dynamic attributes.voidsetInfo(java.lang.String info)Sets the description info.voidsetLargeIcon(java.lang.String largeIcon)Sets the large icon path.voidsetName(java.lang.String name)Sets the tag name.voidsetSmallIcon(java.lang.String smallIcon)Sets the small icon path.voidsetTagClass(java.lang.String tagClass)Sets the tag handler class.voidsetTeiClass(java.lang.String teiClass)Sets the TagExtraInfo class.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the tag name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Sets the tag name.- Parameters:
name- the name
-
getTagClass
public java.lang.String getTagClass()
Returns the tag handler class.- Returns:
- the tag class
-
setTagClass
public void setTagClass(java.lang.String tagClass)
Sets the tag handler class.- Parameters:
tagClass- the tag class
-
getTeiClass
public java.lang.String getTeiClass()
Returns the TagExtraInfo class.- Returns:
- the TEI class
-
setTeiClass
public void setTeiClass(java.lang.String teiClass)
Sets the TagExtraInfo class.- Parameters:
teiClass- the TEI class
-
getBodyContent
public java.lang.String getBodyContent()
Returns the body content type.- Returns:
- the body content type
-
setBodyContent
public void setBodyContent(java.lang.String bodyContent)
Sets the body content type.- Parameters:
bodyContent- the body content type
-
getDisplayName
public java.lang.String getDisplayName()
Returns the display name.- Returns:
- the display name
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Sets the display name.- Parameters:
displayName- the display name
-
getSmallIcon
public java.lang.String getSmallIcon()
Returns the small icon path.- Returns:
- the small icon path
-
setSmallIcon
public void setSmallIcon(java.lang.String smallIcon)
Sets the small icon path.- Parameters:
smallIcon- the small icon path
-
getLargeIcon
public java.lang.String getLargeIcon()
Returns the large icon path.- Returns:
- the large icon path
-
setLargeIcon
public void setLargeIcon(java.lang.String largeIcon)
Sets the large icon path.- Parameters:
largeIcon- the large icon path
-
getInfo
public java.lang.String getInfo()
Returns the description info.- Returns:
- the info
-
setInfo
public void setInfo(java.lang.String info)
Sets the description info.- Parameters:
info- the info
-
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
public java.util.List<TagAttributeInfo> getAttributes()
Returns the list of tag attributes.- Returns:
- the attributes
-
getVariables
public java.util.List<TagVariableInfo> getVariables()
Returns the list of tag variables.- Returns:
- the variables
-
-