public class ASTDirective extends SimpleNode
| Constructor and Description |
|---|
ASTDirective(int id) |
ASTDirective(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectiveName()
Gets the name of this directive.
|
Object |
init(InternalContextAdapter context,
Object data) |
Object |
jjtAccept(ParserVisitor visitor,
Object data) |
boolean |
render(InternalContextAdapter context,
Writer writer) |
void |
setDirectiveName(String str)
Sets the directive name.
|
String |
toString() |
childrenAccept, dump, evaluate, execute, 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 Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodeSimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init in interface Nodeinit in class SimpleNodeTemplateInitExceptionSimpleNode.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public boolean render(InternalContextAdapter context, Writer writer) throws IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException
render in interface Noderender in interface Renderablerender in class SimpleNodeIOExceptionMethodInvocationExceptionResourceNotFoundExceptionParseErrorExceptionSimpleNode.render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)public void setDirectiveName(String str)
str - public String getDirectiveName()
public String toString()
toString in class SimpleNodeCopyright © 2000–2016. All rights reserved.