Class ASTIfStatement
java.lang.Object
org.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTIfStatement
- All Implemented Interfaces:
Node,Renderable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjjtAccept(ParserVisitor visitor, Object data) voidprocess(InternalContextAdapter context, ParserVisitor visitor) booleanrender(InternalContextAdapter context, Writer writer) Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getLocation, getRuntimeServices, getTemplateName, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, toString, value
-
Constructor Details
-
ASTIfStatement
public ASTIfStatement(int id) - Parameters:
id-
-
ASTIfStatement
- Parameters:
p-id-
-
-
Method Details
-
jjtAccept
- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Returns:
- The Node execution result object.
- See Also:
-
render
public boolean render(InternalContextAdapter context, Writer writer) throws IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException - Specified by:
renderin interfaceNode- Specified by:
renderin interfaceRenderable- Overrides:
renderin classSimpleNode- Returns:
- True if the node rendered successfully.
- Throws:
IOExceptionMethodInvocationExceptionResourceNotFoundExceptionParseErrorException- See Also:
-
process
- Parameters:
context-visitor-
-