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, valueprivate 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 NodejjtAccept in class SimpleNodepublic java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init in interface Nodeinit in class SimpleNodejava.lang.Exceptionpublic boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException
render in interface Noderender in class SimpleNodejava.io.IOExceptionMethodInvocationExceptionResourceNotFoundExceptionParseErrorExceptionpublic void setDirectiveName(java.lang.String str)
public java.lang.String getDirectiveName()
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.