org.apache.velocity.runtime.parser.node
public class ASTDirective extends SimpleNode
Modifier and Type | Field and Description |
---|---|
private Directive |
directive |
private java.lang.String |
directiveName |
private boolean |
isDirective |
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)
Accept the visitor.
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer) |
void |
setDirectiveName(java.lang.String str)
Sets the directive name.
|
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, value
private Directive directive
private java.lang.String directiveName
private boolean isDirective
public ASTDirective(int id)
public ASTDirective(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init
in interface Node
init
in class SimpleNode
java.lang.Exception
public boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException
render
in interface Node
render
in class SimpleNode
java.io.IOException
MethodInvocationException
ResourceNotFoundException
ParseErrorException
public void setDirectiveName(java.lang.String str)
public java.lang.String getDirectiveName()
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.