- java.lang.Object
-
- com.aoapps.tldparser.Attribute
-
public class Attribute extends Object
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 = "…" -->
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeferredMethodgetDeferredMethod()DeferredValuegetDeferredValue()List<String>getDescriptions()StringgetDescriptionSummary()Gets a summary of the description.booleangetFragment()StringgetName()booleangetRequired()booleangetRtexprvalue()TaggetTag()StringgetType()
-
-
-
Constructor Detail
-
Attribute
public Attribute(String summaryClass, Tag tag, Element attributeElem) throws XPathExpressionException
- Throws:
XPathExpressionException
-
-
Method Detail
-
getTag
public Tag getTag()
-
getName
public String getName()
-
getRequired
public boolean getRequired()
-
getRtexprvalue
public boolean getRtexprvalue()
-
getFragment
public boolean getFragment()
-
getType
public String getType()
-
getDeferredMethod
public DeferredMethod getDeferredMethod()
-
getDeferredValue
public DeferredValue getDeferredValue()
-
getDescriptionSummary
public String 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.
-
-