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 TypeMethodDescriptionvoidThe AST node structure is merged with the context to produce the final output.voidThe 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 booleanRenders the input reader using the context into the output writer.static booleanrenders the input string using the context into the output writer.booleanRenders the input reader using the context into the output writer.booleanrenders the input string using the context into the output writer.static booleanVelocity.mergeTemplate(String templateName, String encoding, Context context, Writer writer) Merges a template and puts the rendered stream into the writerbooleanVelocityEngine.mergeTemplate(String templateName, String encoding, Context context, Writer writer) merges a template and puts the rendered stream into the writer -
Uses of MethodInvocationException in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that throw MethodInvocationExceptionModifier and TypeMethodDescriptionbooleanRenderable.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 TypeMethodDescriptionabstract booleanDirective.render(InternalContextAdapter context, Writer writer, Node node) How this directive is to be renderedbooleanEvaluate.render(InternalContextAdapter context, Writer writer, Node node) Evaluate the argument, convert to a String, and evaluate again (with the same context).booleanInclude.render(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.booleanParse.render(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.booleanRuntimeMacro.render(InternalContextAdapter context, Writer writer, Node node) Velocimacro implementation is not known at the init time.booleanRuntimeMacro.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. -
Uses of MethodInvocationException in org.apache.velocity.runtime.parser.node
Methods in org.apache.velocity.runtime.parser.node that throw MethodInvocationExceptionModifier and TypeMethodDescriptionbooleanASTAndNode.evaluate(InternalContextAdapter context) logical and :booleanASTComparisonNode.evaluate(InternalContextAdapter context) booleanASTElseIfStatement.evaluate(InternalContextAdapter context) An ASTElseStatement is true if the expression it contains evaluates to true.booleanASTExpression.evaluate(InternalContextAdapter context) booleanASTNegateNode.evaluate(InternalContextAdapter context) booleanASTNENode.evaluate(InternalContextAdapter context) booleanASTNotNode.evaluate(InternalContextAdapter context) booleanASTOrNode.evaluate(InternalContextAdapter context) the logical or :booleanASTReference.evaluate(InternalContextAdapter context) Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not nullbooleanNode.evaluate(InternalContextAdapter context) booleanSimpleNode.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) booleanASTBlock.render(InternalContextAdapter context, Writer writer) booleanASTComment.render(InternalContextAdapter context, Writer writer) booleanASTDirective.render(InternalContextAdapter context, Writer writer) booleanASTElseIfStatement.render(InternalContextAdapter context, Writer writer) booleanASTIfStatement.render(InternalContextAdapter context, Writer writer) booleanASTReference.render(InternalContextAdapter context, Writer writer) gets the value of the reference and outputs it to the writer.booleanASTSetDirective.render(InternalContextAdapter context, Writer writer) puts the value of the RHS into the context under the key of the LHSbooleanNode.render(InternalContextAdapter context, Writer writer) booleanSimpleNode.render(InternalContextAdapter context, Writer writer) booleanASTReference.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.ASTComparisonNode.value(InternalContextAdapter context) ASTExpression.value(InternalContextAdapter context) ASTIntegerRange.value(InternalContextAdapter context) does the real work.ASTMap.value(InternalContextAdapter context) ASTMathNode.value(InternalContextAdapter context) gets the two args and performs the operation on themASTNegateNode.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)