Class ASTBlock
java.lang.Object
org.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTBlock
- All Implemented Interfaces:
Node,Renderable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjjtAccept(ParserVisitor visitor, Object data) 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
-
ASTBlock
public ASTBlock(int id) - Parameters:
id-
-
ASTBlock
- 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:
-