Uses of Class
org.apache.velocity.exception.MethodInvocationException

Packages that use MethodInvocationException
org.apache.velocity   
org.apache.velocity.app   
org.apache.velocity.runtime.directive   
org.apache.velocity.runtime.parser.node   
org.apache.velocity.servlet   
 

Uses of MethodInvocationException in org.apache.velocity
 

Methods in org.apache.velocity that throw MethodInvocationException
 void Template.merge(Context context, java.io.Writer writer)
          The AST node structure is merged with the context to produce the final output.
 

Uses of MethodInvocationException in org.apache.velocity.app
 

Methods in org.apache.velocity.app that throw MethodInvocationException
 boolean VelocityEngine.evaluate(Context context, java.io.Writer out, java.lang.String logTag, java.lang.String instring)
          renders the input string using the context into the output writer.
 boolean VelocityEngine.evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.InputStream instream)
          Deprecated. Use VelocityEngine.evaluate( Context context, Writer writer, String logTag, Reader reader )
 boolean VelocityEngine.evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.Reader reader)
          Renders the input reader using the context into the output writer.
 boolean VelocityEngine.mergeTemplate(java.lang.String templateName, Context context, java.io.Writer writer)
          merges a template and puts the rendered stream into the writer
 boolean VelocityEngine.mergeTemplate(java.lang.String templateName, java.lang.String encoding, Context context, java.io.Writer writer)
          merges a template and puts the rendered stream into the writer
static boolean Velocity.evaluate(Context context, java.io.Writer out, java.lang.String logTag, java.lang.String instring)
          renders the input string using the context into the output writer.
static boolean Velocity.evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.InputStream instream)
          Deprecated. Use Velocity.evaluate( Context context, Writer writer, String logTag, Reader reader )
static boolean Velocity.evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.Reader reader)
          Renders the input reader using the context into the output writer.
static boolean Velocity.mergeTemplate(java.lang.String templateName, Context context, java.io.Writer writer)
          Deprecated. Use Velocity.mergeTemplate( String templateName, String encoding, Context context, Writer writer )
static boolean Velocity.mergeTemplate(java.lang.String templateName, java.lang.String encoding, Context context, java.io.Writer writer)
          merges a template and puts the rendered stream into the writer
 

Uses of MethodInvocationException in org.apache.velocity.runtime.directive
 

Methods in org.apache.velocity.runtime.directive that throw MethodInvocationException
abstract  boolean Directive.render(InternalContextAdapter context, java.io.Writer writer, Node node)
          How this directive is to be rendered
private  java.util.Iterator Foreach.getIterator(InternalContextAdapter context, Node node)
          returns an Iterator to the collection in the #foreach()
 boolean Foreach.render(InternalContextAdapter context, java.io.Writer writer, Node node)
          renders the #foreach() block
 boolean VelocimacroProxy.render(InternalContextAdapter context, java.io.Writer writer, Node node)
          Renders the macro using the context
 boolean Parse.render(InternalContextAdapter context, java.io.Writer writer, Node node)
          iterates through the argument list and renders every argument that is appropriate.
 boolean Include.render(InternalContextAdapter context, java.io.Writer writer, Node node)
          iterates through the argument list and renders every argument that is appropriate.
private  boolean Include.renderOutput(Node node, InternalContextAdapter context, java.io.Writer writer)
          does the actual rendering of the included file
 

Uses of MethodInvocationException in org.apache.velocity.runtime.parser.node
 

Methods in org.apache.velocity.runtime.parser.node that throw MethodInvocationException
 boolean SimpleNode.evaluate(InternalContextAdapter context)
           
 java.lang.Object SimpleNode.value(InternalContextAdapter context)
           
 boolean SimpleNode.render(InternalContextAdapter context, java.io.Writer writer)
           
 java.lang.Object SimpleNode.execute(java.lang.Object o, InternalContextAdapter context)
           
 boolean ASTGTNode.evaluate(InternalContextAdapter context)
           
 java.lang.Object ASTAndNode.value(InternalContextAdapter context)
          Returns the value of the expression.
 boolean ASTAndNode.evaluate(InternalContextAdapter context)
          logical and : null && right = false left && null = false null && null = false
abstract  java.lang.Object AbstractExecutor.execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 java.lang.Object GetExecutor.execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 boolean ASTLENode.evaluate(InternalContextAdapter context)
           
 java.lang.Object ASTDivNode.value(InternalContextAdapter context)
          computes the result of the division.
 boolean ASTLTNode.evaluate(InternalContextAdapter context)
           
 java.lang.Object ASTMulNode.value(InternalContextAdapter context)
          computes the product of the two args.
 java.lang.Object ASTIdentifier.execute(java.lang.Object o, InternalContextAdapter context)
          invokes the method on the object passed in
 boolean ASTExpression.evaluate(InternalContextAdapter context)
           
 java.lang.Object ASTExpression.value(InternalContextAdapter context)
           
 boolean ASTElseIfStatement.evaluate(InternalContextAdapter context)
          An ASTElseStatement is true if the expression it contains evaluates to true.
 boolean ASTElseIfStatement.render(InternalContextAdapter context, java.io.Writer writer)
          renders the block
private  java.lang.reflect.Method ASTMethod.doIntrospection(InternalContextAdapter context, java.lang.Class data, java.lang.Object[] params)
          does the instrospection of the class for the method needed.
 java.lang.Object ASTMethod.execute(java.lang.Object o, InternalContextAdapter context)
          invokes the method.
 java.lang.Object ASTSubtractNode.value(InternalContextAdapter context)
          computes the value of the subtraction.
 boolean ASTDirective.render(InternalContextAdapter context, java.io.Writer writer)
           
 java.lang.Object ASTReference.execute(java.lang.Object o, InternalContextAdapter context)
          gets an Object that 'is' the value of the reference
 boolean ASTReference.render(InternalContextAdapter context, java.io.Writer writer)
          gets the value of the reference and outputs it to the writer.
 boolean ASTReference.evaluate(InternalContextAdapter context)
          Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not null
 java.lang.Object ASTReference.value(InternalContextAdapter context)
           
 boolean ASTReference.setValue(InternalContextAdapter context, java.lang.Object value)
          Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()
 boolean ASTEQNode.evaluate(InternalContextAdapter context)
          Calculates the value of the logical expression arg1 == arg2 All class types are supported.
 java.lang.Object PropertyExecutor.execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 java.lang.Object ASTAddNode.value(InternalContextAdapter context)
          computes the sum of the two nodes.
 boolean ASTBlock.render(InternalContextAdapter context, java.io.Writer writer)
           
 java.lang.Object ASTObjectArray.value(InternalContextAdapter context)
           
 java.lang.Object ASTOrNode.value(InternalContextAdapter context)
          Returns the value of the expression.
 boolean ASTOrNode.evaluate(InternalContextAdapter context)
          the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
 boolean Node.evaluate(InternalContextAdapter context)
           
 java.lang.Object Node.value(InternalContextAdapter context)
           
 boolean Node.render(InternalContextAdapter context, java.io.Writer writer)
           
 java.lang.Object Node.execute(java.lang.Object o, InternalContextAdapter context)
           
 java.lang.Object ASTIntegerRange.value(InternalContextAdapter context)
          does the real work.
 boolean ASTNotNode.evaluate(InternalContextAdapter context)
           
 java.lang.Object ASTNotNode.value(InternalContextAdapter context)
           
 boolean ASTIfStatement.render(InternalContextAdapter context, java.io.Writer writer)
           
 java.lang.Object ASTModNode.value(InternalContextAdapter context)
           
 boolean ASTGENode.evaluate(InternalContextAdapter context)
           
 boolean ASTSetDirective.render(InternalContextAdapter context, java.io.Writer writer)
          puts the value of the RHS into the context under the key of the LHS
 boolean ASTNENode.evaluate(InternalContextAdapter context)
           
 

Uses of MethodInvocationException in org.apache.velocity.servlet
 

Methods in org.apache.velocity.servlet that throw MethodInvocationException
protected  void VelocityServlet.mergeTemplate(Template template, Context context, javax.servlet.http.HttpServletResponse response)
          merges the template with the context.
 



Copyright © 2003 Apache Software Foundation. All Rights Reserved.