|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MethodInvocationException | |
|---|---|
| org.apache.velocity | |
| org.apache.velocity.app | |
| org.apache.velocity.runtime | |
| org.apache.velocity.runtime.directive | |
| org.apache.velocity.runtime.parser.node | |
| Uses of MethodInvocationException in org.apache.velocity |
|---|
| Methods in org.apache.velocity that throw MethodInvocationException | |
|---|---|
void |
Template.merge(Context context,
Writer writer)
The AST node structure is merged with the context to produce the final output. |
void |
Template.merge(Context context,
Writer writer,
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 | |
|---|---|
static boolean |
Velocity.evaluate(Context context,
Writer writer,
String logTag,
Reader reader)
Renders the input reader using the context into the output writer. |
boolean |
VelocityEngine.evaluate(Context context,
Writer writer,
String logTag,
Reader reader)
Renders the input reader using the context into the output writer. |
static boolean |
Velocity.evaluate(Context context,
Writer out,
String logTag,
String instring)
renders the input string using the context into the output writer. |
boolean |
VelocityEngine.evaluate(Context context,
Writer out,
String logTag,
String instring)
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 writer |
boolean |
VelocityEngine.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 MethodInvocationException | |
|---|---|
boolean |
Renderable.render(InternalContextAdapter context,
Writer writer)
|
| Uses of MethodInvocationException in org.apache.velocity.runtime.directive |
|---|
| Methods in org.apache.velocity.runtime.directive that throw MethodInvocationException | |
|---|---|
boolean |
Evaluate.render(InternalContextAdapter context,
Writer writer,
Node node)
Evaluate the argument, convert to a String, and evaluate again (with the same context). |
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 |
Include.render(InternalContextAdapter context,
Writer writer,
Node node)
iterates through the argument list and renders every argument that is appropriate. |
abstract boolean |
Directive.render(InternalContextAdapter context,
Writer writer,
Node node)
How this directive is to be rendered |
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. |
| Uses of MethodInvocationException in org.apache.velocity.runtime.parser.node |
|---|
| Methods in org.apache.velocity.runtime.parser.node that throw MethodInvocationException | |
|---|---|
boolean |
ASTElseIfStatement.evaluate(InternalContextAdapter context)
An ASTElseStatement is true if the expression it contains evaluates to true. |
boolean |
ASTExpression.evaluate(InternalContextAdapter context)
|
boolean |
SimpleNode.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 || right |
boolean |
ASTComparisonNode.evaluate(InternalContextAdapter context)
|
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 |
boolean |
ASTAndNode.evaluate(InternalContextAdapter context)
logical and : null && right = false left && null = false null && null = false |
boolean |
Node.evaluate(InternalContextAdapter context)
|
Object |
ASTIdentifier.execute(Object o,
InternalContextAdapter context)
|
Object |
SimpleNode.execute(Object o,
InternalContextAdapter context)
|
Object |
ASTReference.execute(Object o,
InternalContextAdapter context)
gets an Object that 'is' the value of the reference |
Object |
ASTMethod.execute(Object o,
InternalContextAdapter context)
invokes the method. |
Object |
ASTIndex.execute(Object o,
InternalContextAdapter context)
|
Object |
Node.execute(Object o,
InternalContextAdapter context)
|
boolean |
ASTElseIfStatement.render(InternalContextAdapter context,
Writer writer)
|
boolean |
SimpleNode.render(InternalContextAdapter context,
Writer writer)
|
boolean |
ASTSetDirective.render(InternalContextAdapter context,
Writer writer)
puts the value of the RHS into the context under the key of the LHS |
boolean |
ASTIfStatement.render(InternalContextAdapter context,
Writer writer)
|
boolean |
ASTDirective.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 |
Node.render(InternalContextAdapter context,
Writer writer)
|
boolean |
ASTBlock.render(InternalContextAdapter context,
Writer writer)
|
boolean |
ASTComment.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() |
Object |
ASTExpression.value(InternalContextAdapter context)
|
Object |
ASTIntegerRange.value(InternalContextAdapter context)
does the real work. |
Object |
SimpleNode.value(InternalContextAdapter context)
|
Object |
ASTNotNode.value(InternalContextAdapter context)
|
Object |
ASTMap.value(InternalContextAdapter context)
|
Object |
ASTOrNode.value(InternalContextAdapter context)
Returns the value of the expression. |
Object |
ASTMathNode.value(InternalContextAdapter context)
gets the two args and performs the operation on them |
Object |
ASTComparisonNode.value(InternalContextAdapter context)
|
Object |
ASTReference.value(InternalContextAdapter context)
|
Object |
ASTObjectArray.value(InternalContextAdapter context)
|
Object |
ASTAndNode.value(InternalContextAdapter context)
Returns the value of the expression. |
Object |
Node.value(InternalContextAdapter context)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||