- java.lang.Object
-
- com.aoapps.tldparser.Function
-
public class Function extends Object
Models one function within the *.tld file.TLD files may provide generics within special comments inside the XML, where the value must match
function-signature, but with the addition of<…>segments.<!-- functionSignature = "…" -->
-
-
Constructor Summary
Constructors Constructor Description Function(String summaryClass, Taglib taglib, Element functionElem)Function(String summaryClass, Taglib taglib, Element functionElem, Map<String,String> apiLinks)Deprecated.apiLinksis unused, please useFunction(java.lang.String, com.aoapps.tldparser.Taglib, org.w3c.dom.Element)instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAllowRobots()DatesgetDates()List<String>getDescriptions()StringgetDescriptionSummary()Gets a summary of the description.List<String>getDisplayNames()StringgetExample()StringgetFunctionClass()StringgetFunctionSignature()StringgetName()TaglibgetTaglib()
-
-
-
Constructor Detail
-
Function
public Function(String summaryClass, Taglib taglib, Element functionElem) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException
-
Function
@Deprecated public Function(String summaryClass, Taglib taglib, Element functionElem, Map<String,String> apiLinks) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException
Deprecated.apiLinksis unused, please useFunction(java.lang.String, com.aoapps.tldparser.Taglib, org.w3c.dom.Element)instead.
-
-
Method Detail
-
getTaglib
public Taglib getTaglib()
-
getDates
public Dates getDates()
-
getAllowRobots
public Boolean getAllowRobots()
-
getName
public String getName()
-
getFunctionClass
public String getFunctionClass()
-
getFunctionSignature
public String getFunctionSignature()
-
getExample
public String getExample()
-
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.
-
-