java.lang.Object
com.aoapps.tldparser.Attribute
Models one attribute within a tag within the *.tld file.
See Declaring Tag Attributes for Tag Handlers (The Java EE 5 Tutorial).
TLD files may provide generics within special comments inside the XML, where the value must match
type
, but with the addition of <…>
segments.
<!-- type = "…" -->
-
Constructor Details
-
Attribute
public Attribute(String summaryClass, Tag tag, Element attributeElem) throws XPathExpressionException Creates a new attribute.- Throws:
XPathExpressionException
-
-
Method Details
-
getTag
-
getDescriptions
-
getName
-
getRequired
public boolean getRequired() -
getRtexprvalue
public boolean getRtexprvalue() -
getFragment
public boolean getFragment() -
getType
-
getDeferredMethod
-
getDeferredValue
-
getDescriptionSummary
Gets a summary of the description. If there is more than once description, only the first is used in generating the summary. If there are no descriptions, returnsnull
.- See Also:
-