Uses of Class
org.apache.velocity.exception.MethodInvocationException
-
-
Uses of MethodInvocationException in org.apache.velocity
Methods in org.apache.velocity that throw MethodInvocationException Modifier and Type Method Description void
Template. merge(Context context, java.io.Writer writer)
The AST node structure is merged with the context to produce the final output.void
Template. merge(Context context, java.io.Writer writer, java.util.List macroLibraries)
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 Modifier and Type Method Description static boolean
Velocity. evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.InputStream instream)
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. 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)
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. 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. 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 writerstatic boolean
Velocity. mergeTemplate(java.lang.String templateName, Context context, java.io.Writer 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 writerboolean
VelocityEngine. mergeTemplate(java.lang.String templateName, Context context, java.io.Writer writer)
-
Uses of MethodInvocationException in org.apache.velocity.context
Methods in org.apache.velocity.context that throw MethodInvocationException Modifier and Type Method Description void
ProxyVMContext. addVMProxyArg(InternalContextAdapter context, java.lang.String macroArgumentName, java.lang.String literalMacroArgumentName, Node argumentValue)
Used to put Velocity macro arguments into this context.void
ProxyVMContext. addVMProxyArg(InternalContextAdapter context, java.lang.String macroArgumentName, java.lang.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 MethodInvocationException Modifier and Type Method Description boolean
Renderable. render(InternalContextAdapter context, java.io.Writer writer)
-
Uses of MethodInvocationException in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that throw MethodInvocationException Modifier and Type Method Description java.lang.Object
Foreach.NullHolderContext. get(java.lang.String key)
Get an object from the context, or null if the key is equal to the loop variableabstract boolean
Directive. render(InternalContextAdapter context, java.io.Writer writer, Node node)
How this directive is to be renderedboolean
Evaluate. render(InternalContextAdapter context, java.io.Writer writer, Node node)
Evaluate the argument, convert to a String, and evaluate again (with the same context).boolean
Foreach. render(InternalContextAdapter context, java.io.Writer writer, Node node)
renders the #foreach() blockboolean
Include. render(InternalContextAdapter context, java.io.Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.boolean
Parse. render(InternalContextAdapter context, java.io.Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.boolean
RuntimeMacro. render(InternalContextAdapter context, java.io.Writer writer, Node node)
Velocimacro implementation is not known at the init time.boolean
RuntimeMacro. render(InternalContextAdapter context, java.io.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, java.io.Writer writer, Node node)
boolean
VelocimacroProxy. render(InternalContextAdapter context, java.io.Writer writer, Node node, Renderable body)
Renders the macro using the context.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 Modifier and Type Method Description boolean
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)
java.lang.Object
ASTIdentifier. execute(java.lang.Object o, InternalContextAdapter context)
java.lang.Object
ASTIndex. execute(java.lang.Object o, InternalContextAdapter context)
java.lang.Object
ASTMethod. execute(java.lang.Object o, InternalContextAdapter context)
invokes the method.java.lang.Object
ASTReference. execute(java.lang.Object o, InternalContextAdapter context)
gets an Object that 'is' the value of the referencejava.lang.Object
Node. execute(java.lang.Object o, InternalContextAdapter context)
java.lang.Object
SimpleNode. execute(java.lang.Object o, InternalContextAdapter context)
java.lang.Object
ASTReference. getVariableValue(Context context, java.lang.String variable)
static java.lang.String
NodeUtils. interpolate(java.lang.String argStr, Context vars)
Deprecated.this method isn't called by any classboolean
ASTBlock. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTComment. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTDirective. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTElseIfStatement. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTIfStatement. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTReference. render(InternalContextAdapter context, java.io.Writer writer)
gets the value of the reference and outputs it to the writer.boolean
ASTSetDirective. render(InternalContextAdapter context, java.io.Writer writer)
puts the value of the RHS into the context under the key of the LHSboolean
Node. render(InternalContextAdapter context, java.io.Writer writer)
boolean
SimpleNode. render(InternalContextAdapter context, java.io.Writer writer)
boolean
ASTReference. setValue(InternalContextAdapter context, java.lang.Object value)
Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()java.lang.Object
ASTAndNode. value(InternalContextAdapter context)
Returns the value of the expression.java.lang.Object
ASTEQNode. value(InternalContextAdapter context)
java.lang.Object
ASTExpression. value(InternalContextAdapter context)
java.lang.Object
ASTGENode. value(InternalContextAdapter context)
java.lang.Object
ASTGTNode. value(InternalContextAdapter context)
java.lang.Object
ASTIntegerRange. value(InternalContextAdapter context)
does the real work.java.lang.Object
ASTLENode. value(InternalContextAdapter context)
java.lang.Object
ASTLTNode. value(InternalContextAdapter context)
java.lang.Object
ASTMap. value(InternalContextAdapter context)
java.lang.Object
ASTMathNode. value(InternalContextAdapter context)
gets the two args and performs the operation on themjava.lang.Object
ASTNENode. value(InternalContextAdapter context)
java.lang.Object
ASTNotNode. value(InternalContextAdapter context)
java.lang.Object
ASTObjectArray. value(InternalContextAdapter context)
java.lang.Object
ASTOrNode. value(InternalContextAdapter context)
Returns the value of the expression.java.lang.Object
ASTReference. value(InternalContextAdapter context)
java.lang.Object
Node. value(InternalContextAdapter context)
java.lang.Object
SimpleNode. value(InternalContextAdapter context)
-