Uses of Interface org.apache.velocity.context.InternalContextAdapter

Uses in package org.apache.velocity.runtime.visitor

Fields of type org.apache.velocity.context.InternalContextAdapter

InternalContextAdapter
Context used during traversal

Methods with parameter type org.apache.velocity.context.InternalContextAdapter

void

Uses in package org.apache.velocity.context

Classes implementing org.apache.velocity.context.InternalContextAdapter

class
This adapter class is the container for all context types for internal use.
class
This is a special, internal-use-only context implementation to be used for the new Velocimacro implementation.

Constructors with parameter type org.apache.velocity.context.InternalContextAdapter

CTOR, wraps an ICA

Fields of type org.apache.velocity.context.InternalContextAdapter

InternalContextAdapter
the base context store.
InternalContextAdapter
context that we are wrapping

Methods with return type org.apache.velocity.context.InternalContextAdapter

InternalContextAdapter
Returns the base context that we are wrapping.
InternalContextAdapter
returns the base full context impl
InternalContextAdapter
returns the base full context impl

Uses in package org.apache.velocity.runtime

Methods with parameter type org.apache.velocity.context.InternalContextAdapter

void
void

Uses in package org.apache.velocity.runtime.directive

Constructors with parameter type org.apache.velocity.context.InternalContextAdapter

not used in current impl Constructor for alternate impl where VelProxy class would make new VMProxyArg objects, and use this contructor to avoid reparsing the reference args that impl also had the VMProxyArg carry it's context

Fields of type org.apache.velocity.context.InternalContextAdapter

InternalContextAdapter
not used in this impl : carries the appropriate user context

Methods with parameter type org.apache.velocity.context.InternalContextAdapter

String
Decides the encoding used during input processing of this directive.
Object
returns the value of the reference.
void
How this directive is to be initialized.
void
simple init - init the tree and get the elementKey from the AST
void
simple init - init the tree and get the elementKey from the AST
void
Store the literal rendition of a node using the Node.literal().
void
void
The major meat of VelocimacroProxy, init() checks the # of arguments, patches the macro body, renders the macro into an AST, and then inits the AST, so it is ready for quick rendering.
boolean
Directive.render(InternalContextAdapter context, Writer writer, Node node)
How this directive is to be rendered
boolean
Foreach.render(InternalContextAdapter context, Writer writer, Node node)
renders the #foreach() block
boolean
Include.render(InternalContextAdapter context, Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.
boolean
Literal.render(InternalContextAdapter context, Writer writer, Node node)
Throw the literal rendition of the block between #literal()/#end into the writer.
boolean
Macro.render(InternalContextAdapter context, Writer writer, Node node)
render() doesn't do anything in the final output rendering.
boolean
Parse.render(InternalContextAdapter context, Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.
boolean
VelocimacroProxy.render(InternalContextAdapter context, Writer writer, Node node)
Renders the macro using the context
boolean
Include.renderOutput(Node node, InternalContextAdapter context, Writer writer)
does the actual rendering of the included file
Object
Invoked by VMContext when Context.put() is called for a proxied reference.

Uses in package org.apache.velocity.runtime.parser.node

Methods with parameter type org.apache.velocity.context.InternalContextAdapter

Object
Execute method against context.
boolean
logical and : null && right = false left && null = false null && null = false
boolean
An ASTElseStatement is true if the expression it contains evaluates to true.
boolean
An ASTElseStatement always evaluates to true.
boolean
Calculates the value of the logical expression arg1 == arg2 All class types are supported.
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
boolean
Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not null
boolean
boolean
boolean
Object
invokes the method on the object passed in
Object
invokes the method.
Object
gets an Object that 'is' the value of the reference
Object
Node.execute(Object o, InternalContextAdapter context)
Object
Object
ASTComment.init(InternalContextAdapter context, Object data)
We need to make sure we catch any of the dreaded MORE tokens.
Object
ASTDirective.init(InternalContextAdapter context, Object data)
Object
ASTEscape.init(InternalContextAdapter context, Object data)
Object
ASTIdentifier.init(InternalContextAdapter context, Object data)
simple init - don't do anything that is context specific.
Object
ASTMethod.init(InternalContextAdapter context, Object data)
simple init - init our subtree and get what we can from the AST
Object
Initialization method - doesn't do much but do the object creation.
Object
ASTReference.init(InternalContextAdapter context, Object data)
Object
simple init.
Object
init : we don't have to do much.
Object
ASTText.init(InternalContextAdapter context, Object data)
Object
Node.init(InternalContextAdapter context, Object data)
Object
SimpleNode.init(InternalContextAdapter context, Object data)
void
boolean
ASTBlock.render(InternalContextAdapter context, Writer writer)
boolean
ASTComment.render(InternalContextAdapter context, Writer writer)
boolean
ASTDirective.render(InternalContextAdapter context, Writer writer)
boolean
renders the block
boolean
ASTEscape.render(InternalContextAdapter context, Writer writer)
boolean
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
puts the value of the RHS into the context under the key of the LHS
boolean
ASTText.render(InternalContextAdapter context, Writer writer)
boolean
Node.render(InternalContextAdapter context, Writer writer)
boolean
SimpleNode.render(InternalContextAdapter context, Writer writer)
boolean
Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()
Object
computes the sum of the two nodes.
Object
Returns the value of the expression.
Object
computes the result of the division.
Object
Object
Object
Object
Object
Object
does the real work.
Object
Object
Object
Object
computes the product of the two args.
Object
Object
Object
Object
Object
Returns the value of the expression.
Object
Object
renders the value of the string literal If the properties allow, and the string literal contains a $ or a # the literal is rendered against the context Otherwise, the stringlit is returned.
Object
computes the value of the subtraction.
Object
Object
Object

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.