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 voidTemplate. merge(Context context, java.io.Writer writer)The AST node structure is merged with the context to produce the final output.voidTemplate. 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 booleanVelocity. evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.InputStream instream)static booleanVelocity. 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 booleanVelocity. 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.booleanVelocityEngine. evaluate(Context context, java.io.Writer writer, java.lang.String logTag, java.io.InputStream instream)booleanVelocityEngine. 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.booleanVelocityEngine. 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 booleanVelocity. 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 booleanVelocity. mergeTemplate(java.lang.String templateName, Context context, java.io.Writer writer)booleanVelocityEngine. 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 writerbooleanVelocityEngine. 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 voidProxyVMContext. addVMProxyArg(InternalContextAdapter context, java.lang.String macroArgumentName, java.lang.String literalMacroArgumentName, Node argumentValue)Used to put Velocity macro arguments into this context.voidProxyVMContext. 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 booleanRenderable. 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.ObjectForeach.NullHolderContext. get(java.lang.String key)Get an object from the context, or null if the key is equal to the loop variableabstract booleanDirective. render(InternalContextAdapter context, java.io.Writer writer, Node node)How this directive is to be renderedbooleanEvaluate. render(InternalContextAdapter context, java.io.Writer writer, Node node)Evaluate the argument, convert to a String, and evaluate again (with the same context).booleanForeach. render(InternalContextAdapter context, java.io.Writer writer, Node node)renders the #foreach() blockbooleanInclude. render(InternalContextAdapter context, java.io.Writer writer, Node node)iterates through the argument list and renders every argument that is appropriate.booleanParse. render(InternalContextAdapter context, java.io.Writer writer, Node node)iterates through the argument list and renders every argument that is appropriate.booleanRuntimeMacro. render(InternalContextAdapter context, java.io.Writer writer, Node node)Velocimacro implementation is not known at the init time.booleanRuntimeMacro. 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.booleanVelocimacroProxy. render(InternalContextAdapter context, java.io.Writer writer, Node node)booleanVelocimacroProxy. render(InternalContextAdapter context, java.io.Writer writer, Node node, Renderable body)Renders the macro using the context.private booleanInclude. 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 booleanASTAndNode. evaluate(InternalContextAdapter context)logical and : null && right = false left && null = false null && null = falsebooleanASTElseIfStatement. evaluate(InternalContextAdapter context)An ASTElseStatement is true if the expression it contains evaluates to true.booleanASTEQNode. evaluate(InternalContextAdapter context)Calculates the value of the logical expression arg1 == arg2 All class types are supported.booleanASTExpression. evaluate(InternalContextAdapter context)booleanASTGENode. evaluate(InternalContextAdapter context)booleanASTGTNode. evaluate(InternalContextAdapter context)booleanASTLENode. evaluate(InternalContextAdapter context)booleanASTLTNode. evaluate(InternalContextAdapter context)booleanASTNENode. evaluate(InternalContextAdapter context)booleanASTNotNode. evaluate(InternalContextAdapter context)booleanASTOrNode. evaluate(InternalContextAdapter context)the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || rightbooleanASTReference. 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)java.lang.ObjectASTIdentifier. execute(java.lang.Object o, InternalContextAdapter context)java.lang.ObjectASTIndex. execute(java.lang.Object o, InternalContextAdapter context)java.lang.ObjectASTMethod. execute(java.lang.Object o, InternalContextAdapter context)invokes the method.java.lang.ObjectASTReference. execute(java.lang.Object o, InternalContextAdapter context)gets an Object that 'is' the value of the referencejava.lang.ObjectNode. execute(java.lang.Object o, InternalContextAdapter context)java.lang.ObjectSimpleNode. execute(java.lang.Object o, InternalContextAdapter context)java.lang.ObjectASTReference. getVariableValue(Context context, java.lang.String variable)static java.lang.StringNodeUtils. interpolate(java.lang.String argStr, Context vars)Deprecated.this method isn't called by any classbooleanASTBlock. render(InternalContextAdapter context, java.io.Writer writer)booleanASTComment. render(InternalContextAdapter context, java.io.Writer writer)booleanASTDirective. render(InternalContextAdapter context, java.io.Writer writer)booleanASTElseIfStatement. render(InternalContextAdapter context, java.io.Writer writer)booleanASTIfStatement. render(InternalContextAdapter context, java.io.Writer writer)booleanASTReference. render(InternalContextAdapter context, java.io.Writer writer)gets the value of the reference and outputs it to the writer.booleanASTSetDirective. render(InternalContextAdapter context, java.io.Writer writer)puts the value of the RHS into the context under the key of the LHSbooleanNode. render(InternalContextAdapter context, java.io.Writer writer)booleanSimpleNode. render(InternalContextAdapter context, java.io.Writer writer)booleanASTReference. setValue(InternalContextAdapter context, java.lang.Object value)Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()java.lang.ObjectASTAndNode. value(InternalContextAdapter context)Returns the value of the expression.java.lang.ObjectASTEQNode. value(InternalContextAdapter context)java.lang.ObjectASTExpression. value(InternalContextAdapter context)java.lang.ObjectASTGENode. value(InternalContextAdapter context)java.lang.ObjectASTGTNode. value(InternalContextAdapter context)java.lang.ObjectASTIntegerRange. value(InternalContextAdapter context)does the real work.java.lang.ObjectASTLENode. value(InternalContextAdapter context)java.lang.ObjectASTLTNode. value(InternalContextAdapter context)java.lang.ObjectASTMap. value(InternalContextAdapter context)java.lang.ObjectASTMathNode. value(InternalContextAdapter context)gets the two args and performs the operation on themjava.lang.ObjectASTNENode. value(InternalContextAdapter context)java.lang.ObjectASTNotNode. value(InternalContextAdapter context)java.lang.ObjectASTObjectArray. value(InternalContextAdapter context)java.lang.ObjectASTOrNode. value(InternalContextAdapter context)Returns the value of the expression.java.lang.ObjectASTReference. value(InternalContextAdapter context)java.lang.ObjectNode. value(InternalContextAdapter context)java.lang.ObjectSimpleNode. value(InternalContextAdapter context)
-