public class ASTDirective extends SimpleNode
| Constructor and Description |
|---|
ASTDirective(int id) |
ASTDirective(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDirectiveName()
Gets the name of this directive.
|
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data) |
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data) |
boolean |
render(InternalContextAdapter context,
java.io.Writer writer) |
void |
setDirectiveName(java.lang.String str)
Sets the directive name.
|
java.lang.String |
toString() |
childrenAccept, dump, evaluate, execute, getChildren, getColumn, getFirstToken, getInfo, getLastToken, getLine, getLocation, getRuntimeServices, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, valuepublic ASTDirective(int id)
id - public ASTDirective(Parser p, int id)
p - id - public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodeSimpleNode.jjtAccept(bboss.org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws TemplateInitException
init in interface Nodeinit in class SimpleNodeTemplateInitExceptionSimpleNode.init(bboss.org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException
render in interface Noderender in interface Renderablerender in class SimpleNodejava.io.IOExceptionMethodInvocationExceptionResourceNotFoundExceptionParseErrorExceptionSimpleNode.render(bboss.org.apache.velocity.context.InternalContextAdapter, java.io.Writer)public void setDirectiveName(java.lang.String str)
str - public java.lang.String getDirectiveName()
public java.lang.String toString()
toString in class SimpleNode