Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
-
-
Uses of SimpleNode in org.apache.velocity.runtime
Fields in org.apache.velocity.runtime declared as SimpleNode Modifier and Type Field Description private SimpleNode
VelocimacroManager.MacroEntry. nodeTree
Methods in org.apache.velocity.runtime that return SimpleNode Modifier and Type Method Description SimpleNode
VelocimacroManager.MacroEntry. getNodeTree()
Returns the node tree for this macro.static SimpleNode
Runtime. parse(java.io.Reader reader, java.lang.String templateName)
Deprecated.Parse the input and return the root of AST node structure.static SimpleNode
Runtime. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
Deprecated.Parse the input and return the root of the AST node structure.SimpleNode
RuntimeInstance. parse(java.io.Reader reader, java.lang.String templateName)
Parse the input and return the root of AST node structure.SimpleNode
RuntimeInstance. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.SimpleNode
RuntimeInstance. parse(java.lang.String string, java.lang.String templateName)
Parse the input and return the root of AST node structure.SimpleNode
RuntimeServices. parse(java.io.Reader reader, java.lang.String templateName)
Parse the input and return the root of AST node structure.SimpleNode
RuntimeServices. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.SimpleNode
RuntimeServices. parse(java.lang.String string, java.lang.String templateName)
Wraps the String in a StringReader and passes it off toRuntimeServices.parse(Reader,String)
.static SimpleNode
RuntimeSingleton. parse(java.io.Reader reader, java.lang.String templateName)
Parse the input and return the root of AST node structure.static SimpleNode
RuntimeSingleton. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.Methods in org.apache.velocity.runtime with parameters of type SimpleNode Modifier and Type Method Description boolean
RuntimeInstance. render(Context context, java.io.Writer writer, java.lang.String logTag, SimpleNode nodeTree)
Initializes and renders the ASTSimpleNode
using the context into the output writer. -
Uses of SimpleNode in org.apache.velocity.runtime.directive
Fields in org.apache.velocity.runtime.directive declared as SimpleNode Modifier and Type Field Description private SimpleNode
VelocimacroProxy. nodeTree
Methods in org.apache.velocity.runtime.directive with parameters of type SimpleNode Modifier and Type Method Description void
VelocimacroProxy. setNodeTree(SimpleNode tree)
-
Uses of SimpleNode in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return SimpleNode Modifier and Type Method Description SimpleNode
Parser. Directive()
Supports the Pluggable Directives #foo( arg+ )SimpleNode
Parser. parse(java.io.Reader reader, java.lang.String templateName)
This was also added to allow parsers to be re-usable.SimpleNode
Parser. process()
This method is what starts the whole parsing process. -
Uses of SimpleNode in org.apache.velocity.runtime.parser.node
Subclasses of SimpleNode in org.apache.velocity.runtime.parser.node Modifier and Type Class Description 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
Handlesarg1 == arg2
This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.Numberclass
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
ASTIndex
This node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]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
Handlesarg1 != arg2
This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.Numberclass
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 directiveclass
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
ASTTextblock
This node holds the "Textblock" data which should not be interpreted by Velocity.class
ASTTrue
class
ASTVariable
class
ASTWord
Fields in org.apache.velocity.runtime.parser.node declared as SimpleNode Modifier and Type Field Description private SimpleNode
ASTStringLiteral. nodeTree
Methods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNode Modifier and Type Method Description static java.lang.Object
ASTIndex. adjMinusIndexArg(java.lang.Object argument, java.lang.Object o, InternalContextAdapter context, SimpleNode node)
If argument is an Integer and negative, then return (o.size() - argument).java.lang.Object
ParserVisitor. visit(SimpleNode node, java.lang.Object data)
-
Uses of SimpleNode in org.apache.velocity.runtime.visitor
Methods in org.apache.velocity.runtime.visitor with parameters of type SimpleNode Modifier and Type Method Description java.lang.Object
BaseVisitor. visit(SimpleNode node, java.lang.Object data)
java.lang.Object
NodeViewMode. visit(SimpleNode node, java.lang.Object data)
-
Uses of SimpleNode in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type SimpleNode Modifier and Type Method Description static VelMethod
ClassUtils. getMethod(java.lang.String methodName, java.lang.Object[] params, java.lang.Class[] paramClasses, java.lang.Object o, InternalContextAdapter context, SimpleNode node, boolean strictRef)
Lookup a VelMethod object given the method signature that is specified in the passed in parameters.
-