| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Node in org.apache.velocity.context | 
|---|
| Methods in org.apache.velocity.context with parameters of type Node | |
|---|---|
 void | 
ProxyVMContext.addVMProxyArg(InternalContextAdapter context,
              String macroArgumentName,
              String literalMacroArgumentName,
              Node argumentValue)
Used to put Velocity macro arguments into this context.  | 
| Uses of Node in org.apache.velocity.runtime | 
|---|
| Methods in org.apache.velocity.runtime with parameters of type Node | |
|---|---|
 boolean | 
VelocimacroFactory.addVelocimacro(String name,
               Node macroBody,
               String[] argArray,
               String sourceTemplate)
Adds a macro to the factory.  | 
static boolean | 
RuntimeSingleton.addVelocimacro(String name,
               Node macro,
               String[] argArray,
               String sourceTemplate)
Adds a new Velocimacro.  | 
 boolean | 
RuntimeServices.addVelocimacro(String name,
               Node macro,
               String[] argArray,
               String sourceTemplate)
Adds a new Velocimacro.  | 
 boolean | 
RuntimeInstance.addVelocimacro(String name,
               Node macro,
               String[] argArray,
               String sourceTemplate)
Adds a new Velocimacro.  | 
 boolean | 
VelocimacroManager.addVM(String vmName,
      Node macroBody,
      String[] argArray,
      String namespace,
      boolean canReplaceGlobalMacro)
Adds a VM definition to the cache.  | 
| Uses of Node in org.apache.velocity.runtime.directive | 
|---|
| Methods in org.apache.velocity.runtime.directive with parameters of type Node | |
|---|---|
 void | 
VelocimacroProxy.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
The major meat of VelocimacroProxy, init() checks the # of arguments.  | 
 void | 
RuntimeMacro.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
Intialize the Runtime macro.  | 
 void | 
Parse.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
Init's the #parse directive.  | 
 void | 
Macro.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
 | 
 void | 
Literal.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
Store the literal rendition of a node using the Node.literal().  | 
 void | 
Include.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
simple init - init the tree and get the elementKey from the AST  | 
 void | 
Foreach.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
simple init - init the tree and get the elementKey from the AST  | 
 void | 
Evaluate.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
Initialize and check arguments.  | 
 void | 
Directive.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
How this directive is to be initialized.  | 
 void | 
Define.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
simple init - get the key  | 
 void | 
Break.init(RuntimeServices rs,
     InternalContextAdapter context,
     Node node)
simple init - init the tree and get the elementKey from the AST  | 
static void | 
Macro.processAndRegister(RuntimeServices rs,
                   Token t,
                   Node node,
                   String sourceTemplate)
Used by Parser.java to process VMs during the parsing process.  | 
 boolean | 
VelocimacroProxy.render(InternalContextAdapter context,
       Writer writer,
       Node node)
Renders the macro using the context.  | 
 boolean | 
RuntimeMacro.render(InternalContextAdapter context,
       Writer writer,
       Node node)
Velocimacro implementation is not known at the init time.  | 
 boolean | 
Parse.render(InternalContextAdapter context,
       Writer writer,
       Node node)
iterates through the argument list and renders every argument that is appropriate.  | 
 boolean | 
Macro.render(InternalContextAdapter context,
       Writer writer,
       Node node)
render() doesn't do anything in the final output rendering.  | 
 boolean | 
Literal.render(InternalContextAdapter context,
       Writer writer,
       Node node)
Throw the literal rendition of the block between #literal()/#end into the writer.  | 
 boolean | 
Include.render(InternalContextAdapter context,
       Writer writer,
       Node node)
iterates through the argument list and renders every argument that is appropriate.  | 
 boolean | 
Foreach.render(InternalContextAdapter context,
       Writer writer,
       Node node)
renders the #foreach() block  | 
 boolean | 
Evaluate.render(InternalContextAdapter context,
       Writer writer,
       Node node)
Evaluate the argument, convert to a String, and evaluate again (with the same context).  | 
abstract  boolean | 
Directive.render(InternalContextAdapter context,
       Writer writer,
       Node node)
How this directive is to be rendered  | 
 boolean | 
Define.render(InternalContextAdapter context,
       Writer writer,
       Node node)
directive.render() simply makes an instance of the Block inner class and places it into the context as indicated.  | 
 boolean | 
Break.render(InternalContextAdapter context,
       Writer writer,
       Node node)
Break directive does not actually do any rendering.  | 
| Uses of Node in org.apache.velocity.runtime.log | 
|---|
| Methods in org.apache.velocity.runtime.log with parameters of type Node | |
|---|---|
static String | 
Log.formatFileString(Node node)
Creates a string that formats the template filename with line number and column of the given Node.  | 
| Uses of Node in org.apache.velocity.runtime.parser | 
|---|
| Methods in org.apache.velocity.runtime.parser that return Node | |
|---|---|
 Node | 
JJTParserState.peekNode()
 | 
 Node | 
JJTParserState.popNode()
 | 
 Node | 
JJTParserState.rootNode()
 | 
| Methods in org.apache.velocity.runtime.parser with parameters of type Node | |
|---|---|
 void | 
JJTParserState.clearNodeScope(Node n)
 | 
 void | 
JJTParserState.closeNodeScope(Node n,
               boolean condition)
 | 
 void | 
JJTParserState.closeNodeScope(Node n,
               int num)
 | 
 void | 
JJTParserState.openNodeScope(Node n)
 | 
 void | 
JJTParserState.pushNode(Node n)
 | 
| Uses of Node in org.apache.velocity.runtime.parser.node | 
|---|
| Classes in org.apache.velocity.runtime.parser.node that implement Node | |
|---|---|
 class | 
ASTAddNode
Handles number addition of nodes. Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTAndNode
Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTAssignment
 | 
 class | 
ASTBlock
 | 
 class | 
ASTComment
Represents all comments...  | 
 class | 
ASTDirective
This class is responsible for handling the pluggable directives in VTL.  | 
 class | 
ASTDivNode
Handles number division of nodes Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTElseIfStatement
This class is responsible for handling the ElseIf VTL control statement.  | 
 class | 
ASTElseStatement
This class is responsible for handling the Else VTL control statement.  | 
 class | 
ASTEQNode
Handles arg1  == arg2
  This operator requires that the LHS and RHS are both of the
  same Class OR both are subclasses of java.lang.Number | 
 class | 
ASTEscape
This class is responsible for handling Escapes in VTL.  | 
 class | 
ASTEscapedDirective
This class is responsible for handling EscapedDirectives in VTL.  | 
 class | 
ASTExpression
 | 
 class | 
ASTFalse
 | 
 class | 
ASTFloatingPointLiteral
Handles floating point numbers.  | 
 class | 
ASTGENode
Handles arg1 >= arg2 Only subclasses of Number can be compared. Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTGTNode
Handles arg1 > arg2 Only subclasses of Number can be compared. Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTIdentifier
ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTRefrence Introspection is now moved to 'just in time' or at render / execution time.  | 
 class | 
ASTIfStatement
 | 
 class | 
ASTIncludeStatement
 | 
 class | 
ASTIntegerLiteral
Handles integer numbers.  | 
 class | 
ASTIntegerRange
handles the range 'operator' [ n ..  | 
 class | 
ASTLENode
Handles arg1 <= arg2 Only subclasses of Number can be compared. Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTLTNode
Handles arg1 < arg2 Only subclasses of Number can be compared. Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTMap
AST Node for creating a map / dictionary.  | 
 class | 
ASTMathNode
Helps handle math Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTMethod
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.  | 
 class | 
ASTModNode
Handles modulus division Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTMulNode
Handles multiplication Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTNENode
Handles arg1  != arg2
  This operator requires that the LHS and RHS are both of the
  same Class OR both are subclasses of java.lang.Number | 
 class | 
ASTNotNode
 | 
 class | 
ASTObjectArray
 | 
 class | 
ASTOrNode
Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTParameters
 | 
 class | 
ASTprocess
 | 
 class | 
ASTReference
This class is responsible for handling the references in VTL ($foo).  | 
 class | 
ASTSetDirective
Node for the #set directive  | 
 class | 
ASTStop
This class is responsible for handling the #stop directive Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTStringLiteral
ASTStringLiteral support.  | 
 class | 
ASTSubtractNode
Handles subtraction of nodes (in #set() ) Please look at the Parser.jjt file which is what controls the generation of this class.  | 
 class | 
ASTText
 | 
 class | 
ASTTrue
 | 
 class | 
ASTVariable
 | 
 class | 
ASTWord
 | 
 class | 
SimpleNode
 | 
| Fields in org.apache.velocity.runtime.parser.node declared as Node | |
|---|---|
protected  Node[] | 
SimpleNode.children
 | 
protected  Node | 
SimpleNode.parent
 | 
| Methods in org.apache.velocity.runtime.parser.node that return Node | |
|---|---|
 Node | 
SimpleNode.jjtGetChild(int i)
 | 
 Node | 
Node.jjtGetChild(int i)
This method returns a child node.  | 
 Node | 
SimpleNode.jjtGetParent()
 | 
 Node | 
Node.jjtGetParent()
 | 
| Methods in org.apache.velocity.runtime.parser.node with parameters of type Node | |
|---|---|
 void | 
ASTStringLiteral.adjTokenLineNums(Node node)
Adjust all the line and column numbers that comprise a node so that they are corrected for the string literals position within the template file.  | 
 void | 
SimpleNode.jjtAddChild(Node n,
            int i)
 | 
 void | 
Node.jjtAddChild(Node n,
            int i)
This method tells the node to add its argument to the node's list of children.  | 
 void | 
SimpleNode.jjtSetParent(Node n)
 | 
 void | 
Node.jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||