public class ASTText extends SimpleNode
Constructor and Description |
---|
ASTText(int id) |
ASTText(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
String |
getCtext()
text getter
|
Object |
init(InternalContextAdapter context,
Object data) |
Object |
jjtAccept(ParserVisitor visitor,
Object data) |
String |
literal()
text getter
|
boolean |
render(InternalContextAdapter context,
Writer writer) |
void |
setCtext(String ctext)
text setter
|
childrenAccept, cleanupParserAndTokens, dump, dump, dump, evaluate, execute, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, value
public ASTText(int id)
id
- public ASTText(Parser p, int id)
p
- id
- public String getCtext()
public void setCtext(String ctext)
ctext
- public String literal()
literal
in interface Node
literal
in class SimpleNode
Node.literal()
public Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
SimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init
in interface Node
init
in class SimpleNode
TemplateInitException
SimpleNode.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)
public boolean render(InternalContextAdapter context, Writer writer) throws IOException
render
in interface Node
render
in interface Renderable
render
in class SimpleNode
IOException
SimpleNode.render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.