Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
Packages that use SimpleNode
Package
Description
-
Uses of SimpleNode in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return SimpleNodeModifier and TypeMethodDescriptionParse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.static SimpleNodeParse the input and return the root of AST node structure.Methods in org.apache.velocity.runtime with parameters of type SimpleNodeModifier and TypeMethodDescriptionbooleanRuntimeInstance.render(Context context, Writer writer, 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 -
Uses of SimpleNode in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return SimpleNodeModifier and TypeMethodDescriptionThis was also added to allow parsers to be re-usable.final SimpleNodeStandardParser.process()This method is what starts the whole parsing process.Methods in org.apache.velocity.runtime.parser with parameters of type SimpleNode -
Uses of SimpleNode in org.apache.velocity.runtime.parser.node
Subclasses of SimpleNode in org.apache.velocity.runtime.parser.nodeModifier and TypeClassDescriptionclassHandles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class.classPlease look at the Parser.jjt file which is what controls the generation of this class.classclassclassclassRepresents all comments...classNumeric comparison supportclassThis class is responsible for handling the pluggable directives in VTL.classclassHandles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class.classThis class is responsible for handling the ElseIf VTL control statement.classThis class is responsible for handling the Else VTL control statement.classHandlesarg1 == arg2This operator requires that the LHS and RHS are both of the same Class, both numbers or both coerce-able to strings.classThis class is responsible for handling Escapes in VTL.classThis class is responsible for handling EscapedDirectives in VTL.classclassclassHandles floating point numbers.classHandles arg1 >= arg2classHandles arg1 > arg2classASTIdentifier.java Method support for identifiers : $foo mainly used by ASTReference Introspection is now moved to 'just in time' or at render / execution time.classPlease look at the Parser.jjt file which is what controls the generation of this class.classclassThis node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]classHandles integer numbers.classhandles the range 'operator' [ n ..classHandles arg1 <= arg2classclassHandles arg1 < arg2classAST Node for creating a map / dictionary.classHelps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.classHandles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class.classHandles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class.classclassHandlesarg1 != arg2by negating evaluation of ASTEQNodeclassclassclassPlease look at the Parser.jjt file which is what controls the generation of this class.classclassclassThis class is responsible for handling the references in VTL ($foo).classNode for the #set directiveclassASTStringLiteral support.classHandles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class.classclassThis node holds the "Textblock" data which should not be interpreted by Velocity.classclassclassMethods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNodeModifier and TypeMethodDescriptionstatic ObjectASTIndex.adjMinusIndexArg(Object argument, Object o, InternalContextAdapter context, SimpleNode node) If argument is an Integer and negative, then return (o.size() - argument).StandardParserDefaultVisitor.defaultVisit(SimpleNode node, Object data) static voidNodeUtils.fixIndentation(SimpleNode parent, String parentIndentation) Fix children indentation in structured space gobbling mode.IndentationFixer.visit(SimpleNode node, Object data) StandardParserDefaultVisitor.visit(SimpleNode node, Object data) StandardParserVisitor.visit(SimpleNode node, Object data) -
Uses of SimpleNode in org.apache.velocity.runtime.visitor
Methods in org.apache.velocity.runtime.visitor with parameters of type SimpleNodeModifier and TypeMethodDescriptionBaseVisitor.visit(SimpleNode node, Object data) NodeViewMode.visit(SimpleNode node, Object data) -
Uses of SimpleNode in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type SimpleNodeModifier and TypeMethodDescriptionstatic VelMethodClassUtils.getMethod(String methodName, Object[] params, Class<?>[] paramClasses, Object o, InternalContextAdapter context, SimpleNode node, boolean strictRef) Lookup a VelMethod object given the method signature that is specified in the passed in parameters.