public class ASTDirective extends SimpleNode
| 构造器和说明 |
|---|
ASTDirective(int id) |
ASTDirective(Parser p,
int id) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 NodejjtAccept 在类中 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 在接口中 Nodeinit 在类中 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 在接口中 Noderender 在接口中 Renderablerender 在类中 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 在类中 SimpleNode