/** * @see org.apache.velocity.runtime.parser.node.SimpleNode#render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) */ public boolean render( InternalContextAdapter context, Writer writer) throws IOException,MethodInvocationException, ResourceNotFoundException, ParseErrorException { return jjtGetChild(1).render( context, writer ); } }
/** * @see org.apache.velocity.runtime.parser.node.SimpleNode#render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) */ public boolean render( InternalContextAdapter context, Writer writer) throws IOException,MethodInvocationException, ResourceNotFoundException, ParseErrorException { return jjtGetChild(1).render( context, writer ); } }
/** * @see org.apache.velocity.runtime.parser.node.SimpleNode#render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer) */ public boolean render( InternalContextAdapter context, Writer writer) throws IOException,MethodInvocationException, ResourceNotFoundException, ParseErrorException { return jjtGetChild(1).render( context, writer ); } }
/** * An ASTElseStatement is true if the expression * it contains evaluates to true. Expressions know * how to evaluate themselves, so we do that * here and return the value back to ASTIfStatement * where this node was originally asked to evaluate * itself. * @param context * @return True if all children are true. * @throws MethodInvocationException */ public boolean evaluate ( InternalContextAdapter context) throws MethodInvocationException { return jjtGetChild(0).evaluate(context); }
/** * An ASTElseStatement is true if the expression * it contains evaluates to true. Expressions know * how to evaluate themselves, so we do that * here and return the value back to ASTIfStatement * where this node was originally asked to evaluate * itself. * @param context * @return True if all childs are true. * @throws MethodInvocationException */ public boolean evaluate ( InternalContextAdapter context) throws MethodInvocationException { return jjtGetChild(0).evaluate(context); }
/** * An ASTElseStatement is true if the expression * it contains evaluates to true. Expressions know * how to evaluate themselves, so we do that * here and return the value back to ASTIfStatement * where this node was originally asked to evaluate * itself. * @param context * @return True if all childs are true. * @throws MethodInvocationException */ public boolean evaluate ( InternalContextAdapter context) throws MethodInvocationException { return jjtGetChild(0).evaluate(context); }