Uses of Class
org.apache.velocity.exception.MethodInvocationException
Packages that use MethodInvocationException
Package
Description
-
Uses of MethodInvocationException in org.apache.velocity
Methods in org.apache.velocity that throw MethodInvocationExceptionModifier and TypeMethodDescriptionvoid
The AST node structure is merged with the context to produce the final output.void
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 MethodInvocationExceptionModifier and TypeMethodDescriptionstatic boolean
Velocity.evaluate
(Context context, Writer writer, String logTag, InputStream instream) Deprecated.static boolean
Renders the input reader using the context into the output writer.static boolean
renders the input string using the context into the output writer.boolean
VelocityEngine.evaluate
(Context context, Writer writer, String logTag, InputStream instream) boolean
Renders the input reader using the context into the output writer.boolean
renders the input string using the context into the output writer.static boolean
Velocity.mergeTemplate
(String templateName, String encoding, Context context, Writer writer) merges a template and puts the rendered stream into the writerstatic boolean
Velocity.mergeTemplate
(String templateName, Context context, Writer writer) boolean
VelocityEngine.mergeTemplate
(String templateName, String encoding, Context context, Writer writer) merges a template and puts the rendered stream into the writerboolean
VelocityEngine.mergeTemplate
(String templateName, Context context, Writer writer) -
Uses of MethodInvocationException in org.apache.velocity.context
Methods in org.apache.velocity.context that throw MethodInvocationExceptionModifier and TypeMethodDescriptionvoid
ProxyVMContext.addVMProxyArg
(InternalContextAdapter context, String macroArgumentName, String literalMacroArgumentName, Node argumentValue) Used to put Velocity macro arguments into this context.void
ProxyVMContext.addVMProxyArg
(InternalContextAdapter context, String macroArgumentName, String literalMacroArgumentName, Renderable argumentValue) Used to put Velocity macro bodyContext arguments into this context. -
Uses of MethodInvocationException in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that throw MethodInvocationExceptionModifier and TypeMethodDescriptionboolean
Renderable.render
(InternalContextAdapter context, Writer writer) -
Uses of MethodInvocationException in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that throw MethodInvocationExceptionModifier and TypeMethodDescriptionGet an object from the context, or null if the key is equal to the loop variableabstract boolean
Directive.render
(InternalContextAdapter context, Writer writer, Node node) How this directive is to be renderedboolean
Evaluate.render
(InternalContextAdapter context, Writer writer, Node node) Evaluate the argument, convert to a String, and evaluate again (with the same context).boolean
Foreach.render
(InternalContextAdapter context, Writer writer, Node node) renders the #foreach() blockboolean
Include.render
(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.boolean
Parse.render
(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.boolean
RuntimeMacro.render
(InternalContextAdapter context, Writer writer, Node node) Velocimacro implementation is not known at the init time.boolean
RuntimeMacro.render
(InternalContextAdapter context, Writer writer, Node node, Renderable body) This method is used with BlockMacro when we want to render a macro with a body AST.boolean
VelocimacroProxy.render
(InternalContextAdapter context, Writer writer, Node node) boolean
VelocimacroProxy.render
(InternalContextAdapter context, Writer writer, Node node, Renderable body) Renders the macro using the context. -
Uses of MethodInvocationException in org.apache.velocity.runtime.parser.node
Methods in org.apache.velocity.runtime.parser.node that throw MethodInvocationExceptionModifier and TypeMethodDescriptionboolean
ASTAndNode.evaluate
(InternalContextAdapter context) logical and : null && right = false left && null = false null && null = falseboolean
ASTElseIfStatement.evaluate
(InternalContextAdapter context) An ASTElseStatement is true if the expression it contains evaluates to true.boolean
ASTEQNode.evaluate
(InternalContextAdapter context) Calculates the value of the logical expression arg1 == arg2 All class types are supported.boolean
ASTExpression.evaluate
(InternalContextAdapter context) boolean
ASTGENode.evaluate
(InternalContextAdapter context) boolean
ASTGTNode.evaluate
(InternalContextAdapter context) boolean
ASTLENode.evaluate
(InternalContextAdapter context) boolean
ASTLTNode.evaluate
(InternalContextAdapter context) boolean
ASTNENode.evaluate
(InternalContextAdapter context) boolean
ASTNotNode.evaluate
(InternalContextAdapter context) boolean
ASTOrNode.evaluate
(InternalContextAdapter context) the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || rightboolean
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 nullboolean
Node.evaluate
(InternalContextAdapter context) boolean
SimpleNode.evaluate
(InternalContextAdapter context) ASTIdentifier.execute
(Object o, InternalContextAdapter context) ASTIndex.execute
(Object o, InternalContextAdapter context) ASTMethod.execute
(Object o, InternalContextAdapter context) invokes the method.ASTReference.execute
(Object o, InternalContextAdapter context) gets an Object that 'is' the value of the referenceNode.execute
(Object o, InternalContextAdapter context) SimpleNode.execute
(Object o, InternalContextAdapter context) ASTReference.getVariableValue
(Context context, String variable) static String
NodeUtils.interpolate
(String argStr, Context vars) Deprecated.this method isn't called by any classboolean
ASTBlock.render
(InternalContextAdapter context, Writer writer) boolean
ASTComment.render
(InternalContextAdapter context, Writer writer) boolean
ASTDirective.render
(InternalContextAdapter context, Writer writer) boolean
ASTElseIfStatement.render
(InternalContextAdapter context, Writer writer) boolean
ASTIfStatement.render
(InternalContextAdapter context, Writer writer) boolean
ASTReference.render
(InternalContextAdapter context, Writer writer) gets the value of the reference and outputs it to the writer.boolean
ASTSetDirective.render
(InternalContextAdapter context, Writer writer) puts the value of the RHS into the context under the key of the LHSboolean
Node.render
(InternalContextAdapter context, Writer writer) boolean
SimpleNode.render
(InternalContextAdapter context, Writer writer) boolean
ASTReference.setValue
(InternalContextAdapter context, Object value) Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()ASTAndNode.value
(InternalContextAdapter context) Returns the value of the expression.ASTEQNode.value
(InternalContextAdapter context) ASTExpression.value
(InternalContextAdapter context) ASTGENode.value
(InternalContextAdapter context) ASTGTNode.value
(InternalContextAdapter context) ASTIntegerRange.value
(InternalContextAdapter context) does the real work.ASTLENode.value
(InternalContextAdapter context) ASTLTNode.value
(InternalContextAdapter context) ASTMap.value
(InternalContextAdapter context) ASTMathNode.value
(InternalContextAdapter context) gets the two args and performs the operation on themASTNENode.value
(InternalContextAdapter context) ASTNotNode.value
(InternalContextAdapter context) ASTObjectArray.value
(InternalContextAdapter context) ASTOrNode.value
(InternalContextAdapter context) Returns the value of the expression.ASTReference.value
(InternalContextAdapter context) Node.value
(InternalContextAdapter context) SimpleNode.value
(InternalContextAdapter context) -
Uses of MethodInvocationException in org.apache.velocity.servlet
Methods in org.apache.velocity.servlet that throw MethodInvocationExceptionModifier and TypeMethodDescriptionprotected void
VelocityServlet.mergeTemplate
(Template template, Context context, javax.servlet.http.HttpServletResponse response) Deprecated.merges the template with the context.
Velocity.evaluate(Context context, Writer writer, String logTag, Reader reader)