Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
-
-
Uses of SimpleNode in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return SimpleNode Modifier and Type Method Description static SimpleNodeRuntime. parse(java.io.Reader reader, java.lang.String templateName)Deprecated.Parse the input and return the root of AST node structure.static SimpleNodeRuntime. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)Deprecated.Parse the input and return the root of the AST node structure.SimpleNodeRuntimeInstance. parse(java.io.Reader reader, java.lang.String templateName)Parse the input and return the root of AST node structure.SimpleNodeRuntimeInstance. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)Parse the input and return the root of the AST node structure.SimpleNodeRuntimeInstance. parse(java.lang.String string, java.lang.String templateName)Parse the input and return the root of AST node structure.SimpleNodeRuntimeServices. parse(java.io.Reader reader, java.lang.String templateName)Parse the input and return the root of AST node structure.SimpleNodeRuntimeServices. parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)Parse the input and return the root of the AST node structure.SimpleNodeRuntimeServices. parse(java.lang.String string, java.lang.String templateName)Wraps the String in a StringReader and passes it off toRuntimeServices.parse(Reader,String).static SimpleNodeRuntimeSingleton. parse(java.io.Reader reader, java.lang.String templateName)Parse the input and return the root of AST node structure.static SimpleNodeRuntimeSingleton. 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 booleanRuntimeInstance. render(Context context, java.io.Writer writer, java.lang.String logTag, SimpleNode nodeTree)Initializes and renders the ASTSimpleNodeusing the context into the output writer. -
Uses of SimpleNode in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive with parameters of type SimpleNode Modifier and Type Method Description voidVelocimacroProxy. 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 SimpleNodeParser. Directive()Supports the Pluggable Directives #foo( arg+ )SimpleNodeParser. parse(java.io.Reader reader, java.lang.String templateName)This was also added to allow parsers to be re-usable.SimpleNodeParser. 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 classASTAddNodeHandles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class.classASTAndNodePlease look at the Parser.jjt file which is what controls the generation of this class.classASTAssignmentclassASTBlockclassASTCommentRepresents all comments...classASTDirectiveThis class is responsible for handling the pluggable directives in VTL.classASTDivNodeHandles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class.classASTElseIfStatementThis class is responsible for handling the ElseIf VTL control statement.classASTElseStatementThis class is responsible for handling the Else VTL control statement.classASTEQNodeHandlesarg1 == arg2This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.NumberclassASTEscapeThis class is responsible for handling Escapes in VTL.classASTEscapedDirectiveThis class is responsible for handling EscapedDirectives in VTL.classASTExpressionclassASTFalseclassASTFloatingPointLiteralHandles floating point numbers.classASTGENodeHandles 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.classASTGTNodeHandles 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.classASTIdentifierASTIdentifier.java Method support for identifiers : $foo mainly used by ASTRefrence Introspection is now moved to 'just in time' or at render / execution time.classASTIfStatementclassASTIncludeStatementclassASTIndexThis node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]classASTIntegerLiteralHandles integer numbers.classASTIntegerRangehandles the range 'operator' [ n ..classASTLENodeHandles 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.classASTLTNodeHandles 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.classASTMapAST Node for creating a map / dictionary.classASTMathNodeHelps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMethodASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.classASTModNodeHandles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMulNodeHandles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class.classASTNENodeHandlesarg1 != arg2This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.NumberclassASTNotNodeclassASTObjectArrayclassASTOrNodePlease look at the Parser.jjt file which is what controls the generation of this class.classASTParametersclassASTprocessclassASTReferenceThis class is responsible for handling the references in VTL ($foo).classASTSetDirectiveNode for the #set directiveclassASTStringLiteralASTStringLiteral support.classASTSubtractNodeHandles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class.classASTTextclassASTTextblockThis node holds the "Textblock" data which should not be interpreted by Velocity.classASTTrueclassASTVariableclassASTWordMethods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNode Modifier and Type Method Description static java.lang.ObjectASTIndex. 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.ObjectParserVisitor. 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.ObjectBaseVisitor. visit(SimpleNode node, java.lang.Object data)java.lang.ObjectNodeViewMode. 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 VelMethodClassUtils. 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.
-