freemarker.core

Class Macro

Implemented Interfaces:
TemplateModel, TreeNode

public final class Macro
extends TemplateElement
implements TemplateModel

An element representing a macro declaration.

Fields inherited from interface freemarker.template.TemplateModel

NOTHING

Method Summary

String[]
getArgumentNames()
String
getCanonicalForm()
String
getCatchAll()
String
getDescription()
String
getName()
boolean
isFunction()
void
setCatchAll(String value)

Methods inherited from class freemarker.core.TemplateElement

children, getAllowsChildren, getChildAt, getChildCount, getChildNodes, getDescription, getIndex, getNodeName, getNodeNamespace, getNodeType, getParent, getParentNode, isLeaf, setChildAt

Methods inherited from class freemarker.core.TemplateObject

contains, getBeginColumn, getBeginLine, getCanonicalForm, getEndColumn, getEndLine, getEndLocation, getSource, getStartLocation, getTemplate, toString

Method Details

getArgumentNames

public String[] getArgumentNames()

getCanonicalForm

public String getCanonicalForm()
Overrides:
getCanonicalForm in interface TemplateObject

getCatchAll

public String getCatchAll()

getDescription

public String getDescription()
Overrides:
getDescription in interface TemplateElement

getName

public String getName()

isFunction

public boolean isFunction()

setCatchAll

public void setCatchAll(String value)