freemarker.core
Class Macro
java.lang.Object
freemarker.core.TemplateObject
freemarker.core.TemplateElement
freemarker.core.Macro
- All Implemented Interfaces:
- TemplateModel, TreeNode
public final class Macro
- extends TemplateElement
- implements TemplateModel
An element representing a macro declaration.
Methods inherited from class freemarker.core.TemplateElement |
children, getAllowsChildren, getChildAt, getChildCount, getChildNodes, getIndex, getNodeName, getNodeNamespace, getNodeType, getParent, getParentNode, isLeaf, setChildAt |
Methods inherited from class freemarker.core.TemplateObject |
contains, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getEndLocation, getEndLocationQuoted, getSource, getStartLocation, getStartLocationQuoted, getTemplate, toString |
getCatchAll
public String getCatchAll()
setCatchAll
public void setCatchAll(String value)
getArgumentNames
public String[] getArgumentNames()
getName
public String getName()
getCanonicalForm
public String getCanonicalForm()
- Specified by:
getCanonicalForm
in class TemplateObject
getDescription
public String getDescription()
- Specified by:
getDescription
in class TemplateElement
isFunction
public boolean isFunction()