Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

A

AbstractChainableUberspector - Class in org.apache.velocity.util.introspection
Default implementation of a chainable uberspector that forwards all calls to the wrapped uberspector (when that is possible).
AbstractChainableUberspector() - Constructor for class org.apache.velocity.util.introspection.AbstractChainableUberspector
 
AbstractContext - Class in org.apache.velocity.context
This class is the abstract base class for all conventional Velocity Context implementations.
AbstractContext() - Constructor for class org.apache.velocity.context.AbstractContext
default CTOR
AbstractContext(Context) - Constructor for class org.apache.velocity.context.AbstractContext
Chaining constructor accepts a Context argument.
AbstractExecutor - Class in org.apache.velocity.runtime.parser.node
Abstract class that is used to execute an arbitrary method that is in introspected.
AbstractExecutor() - Constructor for class org.apache.velocity.runtime.parser.node.AbstractExecutor
 
add(Integer) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
add(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Add two numbers and return the correct value / type.
add(Method) - Method in class org.apache.velocity.util.introspection.MethodMap
Add a method to a list of methods by name.
add_escapes(String) - Method in exception org.apache.velocity.runtime.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addConverter(Class<?>, Class<?>, Converter) - Method in interface org.apache.velocity.util.introspection.ConversionHandler
Deprecated.
Add the given converter to the handler.
addConverter(Type, Class<?>, Converter<?>) - Method in interface org.apache.velocity.util.introspection.TypeConversionHandler
Add the given converter to the handler.
addConverter(Type, Class<?>, Converter<?>) - Method in class org.apache.velocity.util.introspection.TypeConversionHandlerImpl
Add the given converter to the handler.
addDirective(Directive) - Method in class org.apache.velocity.runtime.RuntimeInstance
Programatically add a directive.
addEscapes(String) - Static method in error org.apache.velocity.runtime.parser.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addEventHandler(EventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Adds an event handler(s) to the Cartridge.
addIncludeEventHandler(IncludeEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add an include event handler to the Cartridge.
addInvalidReferenceEventHandler(InvalidReferenceEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add an invalid reference event handler to the Cartridge.
AdditiveExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
addMethodExceptionHandler(MethodExceptionEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add a method exception event handler to the Cartridge.
addObject(String) - Method in class org.apache.velocity.app.FieldMethodizer
Add the Name of the class to methodize
addObject(Object) - Method in class org.apache.velocity.app.FieldMethodizer
Add an Object to methodize
addProperty(String, Object) - Static method in class org.apache.velocity.app.Velocity
Add a Velocity Runtime property.
addProperty(String, Object) - Method in class org.apache.velocity.app.VelocityEngine
Add a Velocity Runtime property.
addProperty(String, Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Add a property to the configuration.
addProperty(String, Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
Add a property to the configuration.
addProperty(String, Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Add a property to the configuration.
addProperty(String, Object) - Method in class org.apache.velocity.util.ExtProperties
Add a property to the configuration.
addReferenceInsertionEventHandler(ReferenceInsertionEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add a reference insertion event handler to the Cartridge.
addVelocimacro(String, Node, List<Macro.MacroArg>, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
Adds a new Velocimacro.
addVelocimacro(String, Node, List<Macro.MacroArg>, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
Adds a new Velocimacro.
addVelocimacro(String, Node, List<Macro.MacroArg>, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Adds a new Velocimacro.
addVelocimacro(String, Node, List<Macro.MacroArg>, Template) - Method in class org.apache.velocity.runtime.VelocimacroFactory
Adds a macro to the factory.
addVM(String, Node, List<Macro.MacroArg>, Template, boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
Adds a VM definition to the cache.
adjMinusIndexArg(Object, Object, InternalContextAdapter, SimpleNode) - Static method in class org.apache.velocity.runtime.parser.node.ASTIndex
If argument is an Integer and negative, then return (o.size() - argument).
adjTokenLineNums(Node) - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
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.
adjustBeginLineColumn(int, int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
Method to adjust line and column numbers for the start of a token.
afterPropertiesSet() - Method in class org.apache.velocity.spring.VelocityEngineFactoryBean
 
ALPHA_CHAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
ALT_VAL - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
AmbiguousException() - Constructor for exception org.apache.velocity.util.introspection.MethodMap.AmbiguousException
 
append(char) - Method in class org.apache.velocity.util.StringBuilderWriter
Appends a single character to this Writer.
append(CharSequence) - Method in class org.apache.velocity.util.StringBuilderWriter
Appends a character sequence to this Writer.
append(CharSequence, int, int) - Method in class org.apache.velocity.util.StringBuilderWriter
Appends a portion of a character sequence to the StringBuilder.
appendTemplateInfo(StringBuilder) - Method in exception org.apache.velocity.runtime.directive.MacroParseException
 
appendTemplateInfo(StringBuilder) - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
 
ArrayIterator - Class in org.apache.velocity.util
An Iterator wrapper for an Object[].
ArrayIterator(Object) - Constructor for class org.apache.velocity.util.ArrayIterator
Creates a new iterator instance for the specified array.
ArrayListWrapper - Class in org.apache.velocity.util
A class that wraps an array with a List interface.
ArrayListWrapper(Object) - Constructor for class org.apache.velocity.util.ArrayListWrapper
 
asBoolean(Object, boolean) - Static method in class org.apache.velocity.util.DuckType
 
asEmpty(Object) - Static method in class org.apache.velocity.util.DuckType
 
asNull(Object) - Static method in class org.apache.velocity.util.DuckType
 
asNumber(Object) - Static method in class org.apache.velocity.util.DuckType
 
asNumber(Object, boolean) - Static method in class org.apache.velocity.util.DuckType
 
Assignment() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
asString(Object) - Static method in class org.apache.velocity.util.DuckType
 
asString(Object, boolean) - Static method in class org.apache.velocity.util.DuckType
 
ASTAddNode - Class in org.apache.velocity.runtime.parser.node
Handles number addition of nodes.

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTAddNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAddNode
 
ASTAddNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAddNode
 
ASTAndNode - Class in org.apache.velocity.runtime.parser.node
Please look at the Parser.jjt file which is what controls the generation of this class.
ASTAndNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAndNode
 
ASTAndNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAndNode
 
ASTAssignment - Class in org.apache.velocity.runtime.parser.node
 
ASTAssignment(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAssignment
 
ASTAssignment(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTAssignment
 
ASTBinaryOperator - Class in org.apache.velocity.runtime.parser.node
 
ASTBinaryOperator(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
 
ASTBinaryOperator(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
 
ASTBlock - Class in org.apache.velocity.runtime.parser.node
 
ASTBlock(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTBlock
 
ASTBlock(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTBlock
 
ASTComment - Class in org.apache.velocity.runtime.parser.node
Represents all comments...
ASTComment(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTComment
 
ASTComment(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTComment
 
ASTComparisonNode - Class in org.apache.velocity.runtime.parser.node
Numeric comparison support

ASTComparisonNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
ASTComparisonNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
ASTDirective - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling the pluggable directives in VTL.
ASTDirective(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDirective
 
ASTDirective(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDirective
 
ASTDirectiveAssign - Class in org.apache.velocity.runtime.parser.node
 
ASTDirectiveAssign(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDirectiveAssign
 
ASTDirectiveAssign(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDirectiveAssign
 
ASTDivNode - Class in org.apache.velocity.runtime.parser.node
Handles number division of nodes

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTDivNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDivNode
 
ASTDivNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTDivNode
 
ASTElseIfStatement - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling the ElseIf VTL control statement.
ASTElseIfStatement(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
 
ASTElseIfStatement(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
 
ASTElseStatement - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling the Else VTL control statement.
ASTElseStatement(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTElseStatement
 
ASTElseStatement(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTElseStatement
 
ASTEQNode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 == arg2 This operator requires that the LHS and RHS are both of the same Class, both numbers or both coerce-able to strings.
ASTEQNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEQNode
 
ASTEQNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEQNode
 
asterisk() - Method in interface org.apache.velocity.runtime.parser.Parser
 
asterisk() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
ASTEscape - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling Escapes in VTL.
ASTEscape(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEscape
 
ASTEscape(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEscape
 
ASTEscapedDirective - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling EscapedDirectives in VTL.
ASTEscapedDirective(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
 
ASTEscapedDirective(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
 
ASTExpression - Class in org.apache.velocity.runtime.parser.node
 
ASTExpression(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTExpression
 
ASTExpression(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTExpression
 
ASTFalse - Class in org.apache.velocity.runtime.parser.node
 
ASTFalse(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTFalse
 
ASTFalse(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTFalse
 
ASTFloatingPointLiteral - Class in org.apache.velocity.runtime.parser.node
Handles floating point numbers.
ASTFloatingPointLiteral(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
 
ASTFloatingPointLiteral(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
 
ASTGENode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 >= arg2

ASTGENode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTGENode
 
ASTGENode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTGENode
 
ASTGTNode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 > arg2

ASTGTNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTGTNode
 
ASTGTNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTGTNode
 
ASTIdentifier - Class in org.apache.velocity.runtime.parser.node
ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTReference Introspection is now moved to 'just in time' or at render / execution time.
ASTIdentifier(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIdentifier
 
ASTIdentifier(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIdentifier
 
ASTIfStatement - Class in org.apache.velocity.runtime.parser.node
Please look at the Parser.jjt file which is what controls the generation of this class.
ASTIfStatement(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
ASTIfStatement(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
ASTIncludeStatement - Class in org.apache.velocity.runtime.parser.node
 
ASTIncludeStatement(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIncludeStatement
 
ASTIncludeStatement(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIncludeStatement
 
ASTIndex - Class in org.apache.velocity.runtime.parser.node
This node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]
ASTIndex(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIndex
 
ASTIndex(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIndex
 
ASTIntegerLiteral - Class in org.apache.velocity.runtime.parser.node
Handles integer numbers.
ASTIntegerLiteral(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
ASTIntegerLiteral(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
ASTIntegerRange - Class in org.apache.velocity.runtime.parser.node
handles the range 'operator' [ n ..
ASTIntegerRange(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerRange
 
ASTIntegerRange(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerRange
 
ASTIntegerRange.IntegerRange - Class in org.apache.velocity.runtime.parser.node
 
ASTIntegerRange.IntegerRange.RangeIterator - Class in org.apache.velocity.runtime.parser.node
 
ASTLENode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 <= arg2

ASTLENode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLENode
 
ASTLENode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLENode
 
ASTLogicalOperator - Class in org.apache.velocity.runtime.parser.node
 
ASTLogicalOperator(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLogicalOperator
 
ASTLogicalOperator(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLogicalOperator
 
ASTLTNode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 < arg2

ASTLTNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLTNode
 
ASTLTNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTLTNode
 
ASTMap - Class in org.apache.velocity.runtime.parser.node
AST Node for creating a map / dictionary.
ASTMap(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMap
 
ASTMap(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMap
 
ASTMathNode - Class in org.apache.velocity.runtime.parser.node
Helps handle math

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTMathNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMathNode
 
ASTMathNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMathNode
 
ASTMethod - Class in org.apache.velocity.runtime.parser.node
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.
ASTMethod(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMethod
 
ASTMethod(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMethod
 
ASTMethod.MethodCacheKey - Class in org.apache.velocity.runtime.parser.node
Internal class used as key for method cache.
ASTModNode - Class in org.apache.velocity.runtime.parser.node
Handles modulus division

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTModNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTModNode
 
ASTModNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTModNode
 
ASTMulNode - Class in org.apache.velocity.runtime.parser.node
Handles multiplication

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTMulNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMulNode
 
ASTMulNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMulNode
 
ASTNegateNode - Class in org.apache.velocity.runtime.parser.node
 
ASTNegateNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
ASTNegateNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
ASTNENode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 != arg2 by negating evaluation of ASTEQNode
ASTNENode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNENode
 
ASTNENode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNENode
 
ASTNotNode - Class in org.apache.velocity.runtime.parser.node
 
ASTNotNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNotNode
 
ASTNotNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTNotNode
 
ASTObjectArray - Class in org.apache.velocity.runtime.parser.node
 
ASTObjectArray(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
ASTObjectArray(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
ASTOrNode - Class in org.apache.velocity.runtime.parser.node
Please look at the Parser.jjt file which is what controls the generation of this class.
ASTOrNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTOrNode
 
ASTOrNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTOrNode
 
ASTParameters - Class in org.apache.velocity.runtime.parser.node
 
ASTParameters(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTParameters
 
ASTParameters(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTParameters
 
ASTprocess - Class in org.apache.velocity.runtime.parser.node
 
ASTprocess(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTprocess
 
ASTprocess(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTprocess
 
ASTReference - Class in org.apache.velocity.runtime.parser.node
This class is responsible for handling the references in VTL ($foo).
ASTReference(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTReference
 
ASTReference(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTReference
 
ASTSetDirective - Class in org.apache.velocity.runtime.parser.node
Node for the #set directive
ASTSetDirective(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTSetDirective
 
ASTSetDirective(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTSetDirective
 
ASTStringLiteral - Class in org.apache.velocity.runtime.parser.node
ASTStringLiteral support.
ASTStringLiteral(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTStringLiteral
 
ASTStringLiteral(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTStringLiteral
 
ASTSubtractNode - Class in org.apache.velocity.runtime.parser.node
Handles subtraction of nodes (in #set() )

Please look at the Parser.jjt file which is what controls the generation of this class.
ASTSubtractNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTSubtractNode
 
ASTSubtractNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTSubtractNode
 
ASTText - Class in org.apache.velocity.runtime.parser.node
 
ASTText(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTText
 
ASTText(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTText
 
ASTTextblock - Class in org.apache.velocity.runtime.parser.node
This node holds the "Textblock" data which should not be interpreted by Velocity.
ASTTextblock(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTTextblock
 
ASTTrue - Class in org.apache.velocity.runtime.parser.node
 
ASTTrue(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTTrue
 
ASTTrue(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTTrue
 
ASTVariable - Class in org.apache.velocity.runtime.parser.node
 
ASTVariable(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTVariable
 
ASTVariable(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTVariable
 
ASTWord - Class in org.apache.velocity.runtime.parser.node
 
ASTWord(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTWord
 
ASTWord(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTWord
 
at() - Method in interface org.apache.velocity.runtime.parser.Parser
 
at() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
attachEventCartridge(EventCartridge) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
attachEventCartridge(EventCartridge) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
attachEventCartridge(EventCartridge) - Method in interface org.apache.velocity.context.InternalEventContext
 
attachToContext(Context) - Method in class org.apache.velocity.app.event.EventCartridge
Attached the EventCartridge to the context Final because not something one should mess with lightly :)
available() - Method in class org.apache.velocity.io.UnicodeInputStream
 

B

backup(int) - Method in interface org.apache.velocity.runtime.parser.CharStream
Backs up the input stream by amount steps.
backup(int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
BASE_BIGDECIMAL - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
 
BASE_BIGINTEGER - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
 
BASE_DOUBLE - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
 
BASE_FLOAT - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
 
BASE_LONG - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
The constants are used to determine in which context we have to calculate.
basePath - Variable in class org.apache.velocity.util.ExtProperties
Base path of the configuration file used to create this ExtProperties object.
BaseVisitor - Class in org.apache.velocity.runtime.visitor
This is the base class for all visitors.
BaseVisitor() - Constructor for class org.apache.velocity.runtime.visitor.BaseVisitor
 
beginColumn - Variable in class org.apache.velocity.runtime.parser.Token
The column number of the first character of this Token.
beginLine - Variable in class org.apache.velocity.runtime.parser.Token
The line number of the first character of this Token.
BeginToken() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the next character that marks the beginning of the next token.
BeginToken() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
Block - Class in org.apache.velocity.runtime.directive
Directive that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.
Block() - Constructor for class org.apache.velocity.runtime.directive.Block
 
block - Variable in class org.apache.velocity.runtime.directive.Block
 
BLOCK - Static variable in interface org.apache.velocity.runtime.directive.DirectiveConstants
Block directive indicator
Block.Reference - Class in org.apache.velocity.runtime.directive
actual class placed in the context, holds the context being used for the render, as well as the parent (which already holds everything else we need).
blockComment() - Method in interface org.apache.velocity.runtime.parser.Parser
 
BlockMacro - Class in org.apache.velocity.runtime.directive
BlockMacro directive is used to invoke Velocity macros with normal parameters and a macro body.
BlockMacro() - Constructor for class org.apache.velocity.runtime.directive.BlockMacro
 
BooleanPropertyExecutor - Class in org.apache.velocity.runtime.parser.node
Handles discovery and valuation of a boolean object property, of the form public boolean is<property> when executed.
BooleanPropertyExecutor(Logger, Introspector, Class<?>, String) - Constructor for class org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
 
BooleanPropertyExecutor(Logger, Introspector, Class<?>, String, boolean) - Constructor for class org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
 
BRACKETED_WORD - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Break - Class in org.apache.velocity.runtime.directive
Break directive used for interrupting scopes.
Break() - Constructor for class org.apache.velocity.runtime.directive.Break
 
bufpos - Variable in class org.apache.velocity.runtime.parser.VelocityCharStream
 
buildReader(InputStream, String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Builds a Reader given a raw InputStream and an encoding.

C

cache - Variable in class org.apache.velocity.runtime.resource.ResourceCacheImpl
Cache storage, assumed to be thread-safe.
CACHEDUMP_MSG - Static variable in class org.apache.velocity.util.introspection.IntrospectorCache
define a public string so that it can be looked for if interested
ChainableUberspector - Interface in org.apache.velocity.util.introspection
Interface that marks uberspectors as chainable, meaning that multiple uberspectors can be combined in a chain (using the Decorator pattern).
ChainedInternalContextAdapter - Class in org.apache.velocity.context
This is an abstract internal-use-only context implementation to be used as a subclass for other internal-use-only contexts that wrap other internal-use-only contexts.
ChainedInternalContextAdapter(InternalContextAdapter) - Constructor for class org.apache.velocity.context.ChainedInternalContextAdapter
CTOR, wraps an ICA
CharStream - Interface in org.apache.velocity.runtime.parser
This interface describes a character stream that maintains line and column number positions of the characters.
CHECK_EMPTY_OBJECTS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
An empty object (string, collection) or zero number is false.
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Break
Called by the parser to validate the argument types
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.contrib.For
We do not allow a word token in any other arg position except for the 2nd since we are looking for the pattern #foreach($foo in $bar).
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Define
Called by the parser to validate the argument types
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Directive
The Parser calls this method during template parsing to check the arguments types.
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Foreach
We do not allow a word token in any other arg position except for the 2nd since we are looking for the pattern #foreach($foo in $bar).
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Macro
Check the argument types of a macro call, called by the parser to do validation
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Parse
Called by the parser to validate the argument types
checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Stop
Called by the parser to check the argument types
checkArgumentCount(Node, int) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Check whether the number of arguments given matches the number defined.
checkDepth(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
check that we aren't already at the max call depth and throws a MacroOverflowException if we are there.
checkObjectExecutePermission(Class<?>, String) - Method in interface org.apache.velocity.util.introspection.SecureIntrospectorControl
Determine which methods and classes to prevent from executing.
checkObjectExecutePermission(Class<?>, String) - Method in class org.apache.velocity.util.introspection.SecureIntrospectorImpl
Determine which methods and classes to prevent from executing.
children - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
childrenAccept(ParserVisitor, Object) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
childrenAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
ClassFieldMap - Class in org.apache.velocity.util.introspection
A cache of introspection information for a specific class instance.
ClassFieldMap(Class<?>, Logger) - Constructor for class org.apache.velocity.util.introspection.ClassFieldMap
Standard constructor
ClassMap - Class in org.apache.velocity.util.introspection
A cache of introspection information for a specific class instance.
ClassMap(Class<?>, Logger) - Constructor for class org.apache.velocity.util.introspection.ClassMap
Standard constructor
ClassMap(Class<?>, Logger, TypeConversionHandler) - Constructor for class org.apache.velocity.util.introspection.ClassMap
Standard constructor
className - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Class name for this loader, for logging/debuggin purposes.
ClasspathResourceLoader - Class in org.apache.velocity.runtime.resource.loader
ClasspathResourceLoader is a simple loader that will load templates from the classpath.
ClasspathResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 
ClassUtils - Class in org.apache.velocity.util
Simple utility functions for manipulating classes and resources from the classloader.
clean(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.directive.Foreach
 
cleanupParserAndTokens() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Removes references to Parser and Tokens since they are not needed anymore at this point.
clear() - Method in class org.apache.velocity.io.VelocityWriter
Discard the output buffer.
clear() - Method in interface org.apache.velocity.runtime.resource.ResourceCache
Removes all of the resources from this cache.
clear() - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
clear() - Method in class org.apache.velocity.util.introspection.IntrospectorCache
Clears the internal cache.
clearCache() - Static method in class org.apache.velocity.util.DuckType
Clears the internal cache of all the underlying Types.
clearNodeScope(Node) - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
clearProperty(String) - Static method in class org.apache.velocity.app.Velocity
Clear a Velocity Runtime property.
clearProperty(String) - Method in class org.apache.velocity.app.VelocityEngine
Clear a Velocity Runtime property.
clearProperty(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Clear the values pertaining to a particular property.
clearProperty(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Clear the values pertaining to a particular property.
clearProperty(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Clear the values pertaining to a particular property.
clearProperty(String) - Method in class org.apache.velocity.util.ExtProperties
Clear a property in the configuration.
clearRepositories() - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Removes all statically stored StringResourceRepositorys.
clearStateVars() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Clears all state variables, resets to start values, clears stateStack.
clone() - Method in class org.apache.velocity.VelocityContext
Clones this context object.
close() - Method in class org.apache.velocity.io.UnicodeInputStream
 
close() - Method in class org.apache.velocity.io.VelocityWriter
Close the stream.
close() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
close() - Method in class org.apache.velocity.util.StringBuilderWriter
Closing this writer has no effect.
closeNodeScope(Node, int) - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
closeNodeScope(Node, boolean) - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
COLON - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
column - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
Column number for this Node in the vm source file.
combine(ExtProperties) - Method in class org.apache.velocity.util.ExtProperties
Combines an existing Hashtable with this Hashtable.
COMMA - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Comment() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
commonInit(RuntimeServices, ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
This initialization is used by all resource loaders and must be called to set up common properties shared by all resource loaders
compare(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Compare two numbers.
compareNonNumber(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
compareNonNumber(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
 
compareNull(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
Always false by default, != and == subclasses must override this.
compareNull(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
 
compareNumbers(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
compare numbers
compile(String) - Method in class org.apache.velocity.script.VelocityScriptEngine
Compile a template
compile(Reader) - Method in class org.apache.velocity.script.VelocityScriptEngine
Compile a template
ConditionalAndExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
ConditionalOrExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
containsKey(String) - Method in class org.apache.velocity.context.AbstractContext
Indicates whether the specified key is in the context.
containsKey(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
containsKey(String) - Method in interface org.apache.velocity.context.Context
Indicates whether the specified key is in the context.
containsKey(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
containsKey(String) - Method in interface org.apache.velocity.context.InternalWrapperContext
Tests if the key exists in the specified scope
containsKey(String) - Method in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Property getter which checks deprecated property keys
ContentResource - Class in org.apache.velocity.runtime.resource
This class represent a general text resource that may have been retrieved from any number of possible sources.
ContentResource() - Constructor for class org.apache.velocity.runtime.resource.ContentResource
Default empty constructor
Context - Interface in org.apache.velocity.context
Interface describing the application data context.
context - Variable in class org.apache.velocity.runtime.visitor.BaseVisitor
Context used during traversal
CONTEXT_AUTOREFERENCE_KEY - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Key upon which a context should be accessible within itself
CONTEXT_SCOPE_CONTROL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Used to enable or disable a scope control (false by default): context.scope_control.<scope_name> = true/false where scope_name is one of: template, evaluate, foreach, macro, define or the name of a body macro.
ContextAware - Interface in org.apache.velocity.util
Event handlers implementing this interface will automatically have the method setContext called before each event.
contextData - Variable in class org.apache.velocity.util.introspection.IntrospectionCacheData
Class of context data object associated with the introspection information
CONVERSION_HANDLER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
key for Conversion Manager class
CONVERSION_HANDLER_INSTANCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
key for Conversion Manager instance
ConversionHandler - Interface in org.apache.velocity.util.introspection
Deprecated.
conversionHandler - Variable in class org.apache.velocity.util.introspection.UberspectImpl
the conversion handler
convert(Object) - Method in interface org.apache.velocity.util.introspection.Converter
convert object to type T
Converter<T> - Interface in org.apache.velocity.util.introspection
Converts a value to type T
convertProperties(Properties) - Static method in class org.apache.velocity.util.ExtProperties
Convert a standard properties class into a configuration class.
convertProperties(Map) - Static method in class org.apache.velocity.util.ExtProperties
Convert a Map into a configuration class.
counterInitialValue - Variable in class org.apache.velocity.runtime.directive.contrib.For
 
counterName - Variable in class org.apache.velocity.runtime.directive.contrib.For
 
createBindings() - Method in class org.apache.velocity.script.VelocityScriptEngine
creates a new Bindings to be used with this script
createNewParser() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a JavaCC generated Parser.
createNewParser() - Method in interface org.apache.velocity.runtime.RuntimeServices
Create a new parser instance.
createRepository(String, String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
createResource(String, int) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Create a new Resource of the specified type.
createVelocityEngine() - Method in class org.apache.velocity.spring.VelocityEngineFactory
Prepare the VelocityEngine instance and return it.
curChar - Variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
currentTemplate - Variable in class org.apache.velocity.runtime.parser.StandardParser
Current template we are parsing.
currentToken - Variable in exception org.apache.velocity.runtime.parser.ParseException
This is the last token that has been consumed successfully.
CUSTOM_DIRECTIVES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Vector of custom directives

D

data - Variable in class org.apache.velocity.runtime.resource.Resource
Resource might require ancillary storage of some kind
DataSourceResourceLoader - Class in org.apache.velocity.runtime.resource.loader
This is a simple template file loader that loads templates from a DataSource instead of plain files.
DataSourceResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
 
DBContext - Class in org.apache.velocity.example
Example context impl that uses a database to store stuff :) yes, this is silly expects a mysql db test with table CREATE TABLE contextstore ( k varchar(100), val blob ); very fragile, crappy code....
DBContext() - Constructor for class org.apache.velocity.example.DBContext
 
DBContext(Context) - Constructor for class org.apache.velocity.example.DBContext
 
DBContextTest - Class in org.apache.velocity.example
the ultimate in silliness...
DBContextTest(String) - Constructor for class org.apache.velocity.example.DBContextTest
 
debug(String) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
debugStream - Variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Debug output.
DECIMAL_ZERO - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
A BigDecimal representing the number 0
DEFAULT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
DEFAULT_BUFFER - Static variable in class org.apache.velocity.io.VelocityWriter
constant indicating that the Writer is buffered and is using the implementation default buffer size
DEFAULT_PARSER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default parser class
DEFAULT_RUNTIME_DIRECTIVES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Runtime properties.
DEFAULT_RUNTIME_LOG_NAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
externally provided logger name.
DEFAULT_RUNTIME_PROPERTIES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Runtime properties.
defaultVal - Variable in class org.apache.velocity.runtime.directive.Macro.MacroArg
If the argument was given a default value, then this contains the base of the AST tree of the value.
Define - Class in org.apache.velocity.runtime.directive
Directive that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.
Define() - Constructor for class org.apache.velocity.runtime.directive.Define
 
DEFINE_DIRECTIVE_MAXDEPTH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Maximum recursion depth allowed for the #define directive.
DeprecatedCheckUberspector - Class in org.apache.velocity.util.introspection
Chainable Uberspector that checks for deprecated method calls.
DeprecatedCheckUberspector() - Constructor for class org.apache.velocity.util.introspection.DeprecatedCheckUberspector
 
DeprecatedRuntimeConstants - Interface in org.apache.velocity.runtime
Deprecated.
DeprecationAwareExtProperties - Class in org.apache.velocity.util
Deprecated.
it will disappear along with deprecated key names in 3.0.
DeprecationAwareExtProperties() - Constructor for class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
 
DIGIT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Directive - Class in org.apache.velocity.runtime.directive
Base class for all directives used in Velocity.
Directive() - Constructor for class org.apache.velocity.runtime.directive.Directive
 
Directive(boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
Supports the Pluggable Directives #foo( arg+ )
DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
DIRECTIVE_CHAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DIRECTIVE_TERMINATOR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DirectiveArg() - Method in class org.apache.velocity.runtime.parser.StandardParser
Supports the arguments for the Pluggable Directives
DirectiveAssign() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
DirectiveConstants - Interface in org.apache.velocity.runtime.directive
Base class for all directives used in Velocity.
disable_tracing() - Method in class org.apache.velocity.runtime.parser.StandardParser
Disable tracing.
discover(Class<?>, String) - Method in class org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
 
discover(Class<?>) - Method in class org.apache.velocity.runtime.parser.node.GetExecutor
 
discover(Object) - Method in class org.apache.velocity.runtime.parser.node.MapGetExecutor
 
discover(Class<?>) - Method in class org.apache.velocity.runtime.parser.node.MapSetExecutor
 
discover(Class<?>, String) - Method in class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
discover(Class<?>, String) - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
discover(Class<?>, Object) - Method in class org.apache.velocity.runtime.parser.node.PutExecutor
 
discover(Class<?>, String, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
 
discover(Class<?>, String, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
display() - Method in class org.apache.velocity.util.ExtProperties
Display the configuration for debugging purposes to System.out.
divide(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Divide two numbers.
DIVIDE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
doInvoke(Object, Object[]) - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
Offers an extension point for subclasses (in alternate Uberspects) to alter the invocation after any array wrapping or varargs handling has already been completed.
dollar() - Method in interface org.apache.velocity.runtime.parser.Parser
 
dollar() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
DOLLAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DOLLARBANG - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Done() - Method in interface org.apache.velocity.runtime.parser.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
Done() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
DOT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DOUBLE_ESCAPE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DOUBLEDOT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
DS_RESOURCE_LOADER_DATASOURCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Datasource loader datasource url
DS_RESOURCE_LOADER_KEY_COLUMN - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Datasource loader template key column
DS_RESOURCE_LOADER_TABLE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Datasource loader templates table
DS_RESOURCE_LOADER_TEMPLATE_COLUMN - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Datasource loader template content column
DS_RESOURCE_LOADER_TIMESTAMP_COLUMN - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Datasource loader template timestamp column
DuckType - Class in org.apache.velocity.util
Support for getAs<java.lang.reflect.Type>() convention for rendering (String), evaluating (Boolean) or doing math with (Number) references.
DuckType() - Constructor for class org.apache.velocity.util.DuckType
 
DuckType.Types - Enum in org.apache.velocity.util
 
dump(String) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Dumps nodes tree on System.out.
dump(String, PrintStream) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Dumps nodes tree on System.out.
dump(String, PrintWriter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Dumps nodes tree on System.out.

E

ELSE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
ELSEIF - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
ElseIfStatement(ASTBlock, boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
 
ElseStatement(ASTBlock, boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
 
EMPTY_INDEX - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
enable_tracing() - Method in class org.apache.velocity.runtime.parser.StandardParser
Enable tracing.
encoding - Variable in class org.apache.velocity.runtime.resource.Resource
Character encoding of this resource
ENCODING_DEFAULT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Encoding is UTF-8.
END - Variable in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
END - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
END_TOKEN - Static variable in class org.apache.velocity.util.ExtProperties
 
endColumn - Variable in class org.apache.velocity.runtime.parser.Token
The column number of the last character of this Token.
EndingZeroWidthWhitespace() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
endLine - Variable in class org.apache.velocity.runtime.parser.Token
The line number of the last character of this Token.
endsWithNewline - Variable in class org.apache.velocity.runtime.parser.node.ASTBlock
 
engine - Variable in class org.apache.velocity.script.VelocityCompiledScript
 
entrySet() - Method in class org.apache.velocity.runtime.directive.Scope
 
enumerateKeys() - Method in interface org.apache.velocity.runtime.resource.ResourceCache
returns an Iterator of Keys in the cache.
enumerateKeys() - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
EnumerationIterator - Class in org.apache.velocity.util
An Iterator wrapper for an Enumeration.
EnumerationIterator(Enumeration) - Constructor for class org.apache.velocity.util.EnumerationIterator
Creates a new iteratorwrapper instance for the specified Enumeration.
EOF - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
End of File.
eol - Variable in exception org.apache.velocity.runtime.parser.ParseException
The end of line string for this machine.
EqualityExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
equals(Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
 
EQUALS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
error(String) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
error(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
ERRORMSG_END - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
if/how errors are displayed is not the concern of the engine, which should throw in all cases
ERRORMSG_START - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
if/how errors are displayed is not the concern of the engine, which should throw in all cases
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeHtmlReference
Deprecated.
Escape all HTML entities.
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
Deprecated.
Escapes the characters in a String to be suitable for use in JavaScript.
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeReference
Escape the given text.
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeSqlReference
Escapes the characters in a String to be suitable to pass to an SQL query.
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeXmlReference
Deprecated.
Escape all XML entities.
Escape() - Method in class org.apache.velocity.runtime.parser.StandardParser
Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.
ESCAPE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
ESCAPE_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
EscapedDirective() - Method in class org.apache.velocity.runtime.parser.StandardParser
used to separate the notion of a valid directive that has been escaped, versus something that looks like a directive and is just schmoo.
EscapeHtmlReference - Class in org.apache.velocity.app.event.implement
Deprecated.
impractical use
EscapeHtmlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeHtmlReference
Deprecated.
 
EscapeJavaScriptReference - Class in org.apache.velocity.app.event.implement
Deprecated.
impractical use
EscapeJavaScriptReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
Deprecated.
 
EscapeReference - Class in org.apache.velocity.app.event.implement
Base class for escaping references.
EscapeReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeReference
 
EscapeSqlReference - Class in org.apache.velocity.app.event.implement
Escapes the characters in a String to be suitable to pass to an SQL query.
EscapeSqlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeSqlReference
 
EscapeXmlReference - Class in org.apache.velocity.app.event.implement
Deprecated.
impractical use
EscapeXmlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeXmlReference
Deprecated.
 
eval(ScriptContext) - Method in class org.apache.velocity.script.VelocityCompiledScript
 
eval(String, ScriptContext) - Method in class org.apache.velocity.script.VelocityScriptEngine
Evaluate the given script.
eval(Reader, ScriptContext) - Method in class org.apache.velocity.script.VelocityScriptEngine
Evaluate the given script.
evaluate(Context, Writer, String, String) - Static method in class org.apache.velocity.app.Velocity
renders the input string using the context into the output writer.
evaluate(Context, Writer, String, Reader) - Static method in class org.apache.velocity.app.Velocity
Renders the input reader using the context into the output writer.
evaluate(Context, Writer, String, String) - Method in class org.apache.velocity.app.VelocityEngine
renders the input string using the context into the output writer.
evaluate(Context, Writer, String, Reader) - Method in class org.apache.velocity.app.VelocityEngine
Renders the input reader using the context into the output writer.
Evaluate - Class in org.apache.velocity.runtime.directive
Evaluates the directive argument as a VTL string, using the existing context.
Evaluate() - Constructor for class org.apache.velocity.runtime.directive.Evaluate
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTAndNode
logical and :
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
An ASTElseStatement is true if the expression it contains evaluates to true.
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTElseStatement
An ASTElseStatement always evaluates to true.
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTFalse
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMap
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTNENode
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTNotNode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTOrNode
the logical or :
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
Computes boolean value of this reference Returns the actual value of reference return type boolean, and 'true' if value is not null
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTTrue
 
evaluate(InternalContextAdapter) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
evaluate(Context, Writer, String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Renders the input string using the context into the output writer.
evaluate(Context, Writer, String, Reader) - Method in class org.apache.velocity.runtime.RuntimeInstance
Renders the input reader using the context into the output writer.
evaluate(Context, Writer, String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Renders the input string using the context into the output writer.
evaluate(Context, Writer, String, Reader) - Method in interface org.apache.velocity.runtime.RuntimeServices
Renders the input reader using the context into the output writer.
EventCartridge - Class in org.apache.velocity.app.event
Stores the event handlers.
EventCartridge() - Constructor for class org.apache.velocity.app.event.EventCartridge
 
EventExample - Class in org.apache.velocity.example
This class is a simple demonstration of how the event handling features of the Velocity Servlet Engine are used.
EventExample() - Constructor for class org.apache.velocity.example.EventExample
 
EventHandler - Interface in org.apache.velocity.app.event
Base interface for all event handlers
EVENTHANDLER_INCLUDE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.include.class property specifies a list of the IncludeEventHandler implementations to use.
EVENTHANDLER_INVALIDREFERENCE_EXCEPTION - Static variable in class org.apache.velocity.app.event.implement.ReportInvalidReferences
 
EVENTHANDLER_INVALIDREFERENCES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.invalid_references.class property specifies a list of the InvalidReferenceEventHandler implementations to use.
EVENTHANDLER_INVALIDREFERENCES_NULL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.invalid_references.null property specifies if invalid null references (aka the value is present in the context or parent object but is null or a method returned null) trigger invalid reference events (defaults to false).
EVENTHANDLER_INVALIDREFERENCES_QUIET - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.invalid_references.quiet property specifies if invalid quiet references (as in $!foo) trigger events (defaults to false).
EVENTHANDLER_INVALIDREFERENCES_TESTED - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.invalid_references.tested property specifies if invalid tested references (as in #if($foo) ) trigger invalid reference events (defaults to false).
EVENTHANDLER_METHODEXCEPTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.method_exception.class property specifies a list of the MethodExceptionEventHandler implementations to use.
EVENTHANDLER_REFERENCEINSERTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The event_handler.reference_insertion.class property specifies a list of the ReferenceInsertionEventHandler implementations to use.
EventHandlerUtil - Class in org.apache.velocity.app.event
Calls on request all registered event handlers for a particular event.
EventHandlerUtil() - Constructor for class org.apache.velocity.app.event.EventHandlerUtil
 
Example - Class in org.apache.velocity.example
This class is a simple demonstration of how the Velocity Template Engine can be used in a standalone application.
Example(String) - Constructor for class org.apache.velocity.example.Example
 
Example2 - Class in org.apache.velocity.example
This class is a simple demonstration of how the Velocity Template Engine can be used in a standalone application using the Velocity utility class.
Example2() - Constructor for class org.apache.velocity.example.Example2
 
execute(Object) - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
Execute method against context.
execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTIdentifier
 
execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTIndex
 
execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMethod
invokes the method.
execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
gets an Object that 'is' the value of the reference
execute(Object) - Method in class org.apache.velocity.runtime.parser.node.GetExecutor
 
execute(Object) - Method in class org.apache.velocity.runtime.parser.node.MapGetExecutor
 
execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.MapSetExecutor
 
execute(Object, InternalContextAdapter) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
execute(Object) - Method in class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
execute(Object) - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.PutExecutor
 
execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
Execute method against context.
execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
Execute method against context.
execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
Execute method against context.
execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
expectedTokenSequences - Variable in exception org.apache.velocity.runtime.parser.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Expression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
ExtendedParseException - Interface in org.apache.velocity.exception
All Exceptions that can provide additional information about the place where the error happened (template name, column and line number) can implement this interface and the ParseErrorException will then be able to deal with this information.
ExtProperties - Class in org.apache.velocity.util
This class extends normal Java properties by adding the possibility to use the same key many times concatenating the value strings instead of overwriting them.
ExtProperties() - Constructor for class org.apache.velocity.util.ExtProperties
Creates an empty extended properties object.
ExtProperties(String) - Constructor for class org.apache.velocity.util.ExtProperties
Creates and loads the extended properties from the specified file.
ExtProperties(String, String) - Constructor for class org.apache.velocity.util.ExtProperties
Creates and loads the extended properties from the specified file.
extraIndentation - Variable in class org.apache.velocity.runtime.parser.node.IndentationFixer
 

F

False() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
FALSE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
fetchResult(PreparedStatement, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Fetches the result for a given template name.
FieldMethodizer - Class in org.apache.velocity.app
This is a small utility class allow easy access to static fields in a class, such as string constants.
FieldMethodizer() - Constructor for class org.apache.velocity.app.FieldMethodizer
Allow object to be initialized without any data.
FieldMethodizer(String) - Constructor for class org.apache.velocity.app.FieldMethodizer
Constructor that takes as it's arg the name of the class to methodize.
FieldMethodizer(Object) - Constructor for class org.apache.velocity.app.FieldMethodizer
Constructor that takes as it's arg a living object to methodize.
file - Variable in class org.apache.velocity.util.ExtProperties
The file connected to this repository (holding comments and such).
FILE_RESOURCE_LOADER_CACHE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The public handle for turning the caching on in the FileResourceLoader.
FILE_RESOURCE_LOADER_PATH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The public handle for setting paths in the FileResourceLoader.
FileResourceLoader - Class in org.apache.velocity.runtime.resource.loader
A loader for templates stored on the file system.
FileResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.FileResourceLoader
 
fileSeparator - Variable in class org.apache.velocity.util.ExtProperties
File separator.
fillExtraIndentation(String) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
Filter - Interface in org.apache.velocity.io
Velocity will call the writeReference method on any Writer that implements this interface when rendering references within a template.
finalize() - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Close DB connection on finalization
find(String, Object[]) - Method in class org.apache.velocity.util.introspection.MethodMap
Find a method.
findCalculationBase(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Find the Number-type to be used for a single number
findField(String) - Method in class org.apache.velocity.util.introspection.ClassFieldMap
Find a Field using the field name.
findMethod(Class<?>, DuckType.Types) - Static method in class org.apache.velocity.util.DuckType
 
findMethod(String, Object[]) - Method in class org.apache.velocity.util.introspection.ClassMap
Find a Method using the method name and parameter objects.
first - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
firstImage - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
String image variable of the first Token element that was parsed and connected to this Node.
fix - Variable in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
fixIndentation(SimpleNode, String) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
Fix children indentation in structured space gobbling mode.
FLOATING_POINT_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
FloatingPointLiteral() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
flush() - Method in class org.apache.velocity.io.VelocityWriter
Flush the stream.
flush() - Method in class org.apache.velocity.util.StringBuilderWriter
Flushing this writer has no effect.
For - Class in org.apache.velocity.runtime.directive.contrib
The #for directive provides the behavior of the #foreach directive but also provides an 'index' keyword that allows the user to define an optional index variable that tracks the loop iterations.
For() - Constructor for class org.apache.velocity.runtime.directive.contrib.For
 
Foreach - Class in org.apache.velocity.runtime.directive
Foreach directive used for moving through arrays, or objects that provide an Iterator.
Foreach() - Constructor for class org.apache.velocity.runtime.directive.Foreach
 
ForeachScope - Class in org.apache.velocity.runtime.directive
This represents scoping and metadata for #foreach, adding index, count, hasNext, isFirst and isLast info.
ForeachScope(Object, Object) - Constructor for class org.apache.velocity.runtime.directive.ForeachScope
 
FORMAL_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
formatAndLog(int, String, Object...) - Method in class org.apache.velocity.example.EventExample
This prints the level and formatted message to System.out.
formatFileString(Directive) - Static method in class org.apache.velocity.util.StringUtils
Creates a string that formats the template filename with line number and column of the given Directive.
formatFileString(Node) - Static method in class org.apache.velocity.util.StringUtils
Creates a string that formats the template filename with line number and column of the given Node.
formatFileString(Info) - Static method in class org.apache.velocity.util.StringUtils
Simply creates a string that formats the template filename with line number and column.
formatFileString(String, int, int) - Static method in class org.apache.velocity.util.StringUtils
Simply creates a string that formats the template filename with line number and column.

G

generateParseException() - Method in class org.apache.velocity.runtime.parser.StandardParser
Generate ParseException.
get(String) - Method in class org.apache.velocity.app.FieldMethodizer
Accessor method to get the fields by name.
get(String) - Method in class org.apache.velocity.context.AbstractContext
Gets the value corresponding to the provided key from the context.
get(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
Retrieves from parent context.
get(String) - Method in interface org.apache.velocity.context.Context
Gets the value corresponding to the provided key from the context.
get(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
get(String) - Method in interface org.apache.velocity.context.InternalWrapperContext
Retrieve the specified valuefrom the given key.
get(Object) - Method in class org.apache.velocity.runtime.directive.Scope
getter
get(int) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
get() - Method in interface org.apache.velocity.runtime.ParserPool
Retrieve an instance of a parser pool.
get() - Method in class org.apache.velocity.runtime.ParserPoolImpl
Call the wrapped pool.
get(Object) - Method in interface org.apache.velocity.runtime.resource.ResourceCache
retrieves a Resource from the cache
get(Object) - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
get(String, Template, Template) - Method in class org.apache.velocity.runtime.VelocimacroManager
Gets a VelocimacroProxy object by the name / source template duple.
get(int) - Method in class org.apache.velocity.util.ArrayListWrapper
 
get(String) - Method in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Property getter which checks deprecated property keys
get(Object, DuckType.Types) - Static method in class org.apache.velocity.util.DuckType
 
get(Class<?>) - Method in class org.apache.velocity.util.introspection.IntrospectorCache
Lookup a given Class object in the cache.
get(String) - Method in class org.apache.velocity.util.introspection.MethodMap
Return a list of methods with the same name.
get() - Method in class org.apache.velocity.util.SimplePool
Get an object from the pool, null if the pool is empty.
getApplicationAttribute(Object) - Method in class org.apache.velocity.app.VelocityEngine
Return an application attribute (which can be any Object) that was set by the application in order to be accessible from any component of the system that gets a RuntimeServices.
getApplicationAttribute(Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Gets the application attribute for the given key
getApplicationAttribute(Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
Return the specified application attribute.
getApplicationAttribute(Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Gets the application attribute for the given key
getApplicationEventCartridge() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the event handlers for the application.
getApplicationEventCartridge() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the event handlers for the application.
getAsBoolean() - Method in class org.apache.velocity.runtime.directive.Block.Reference
Makes #if( $blockRef ) true without rendering, so long as we aren't beyond max depth.
getAsBoolean() - Method in interface org.apache.velocity.util.TemplateBoolean
Returns a boolean that can be used in a template.
getAsNumber() - Method in interface org.apache.velocity.util.TemplateNumber
Returns a Number that can be used in a template.
getAsString() - Method in interface org.apache.velocity.util.TemplateString
Returns a String that can be used in a template.
getAsteriskChar() - Method in class org.apache.velocity.runtime.ParserConfiguration
Getter for '*' configured replacement character
getAtChar() - Method in class org.apache.velocity.runtime.ParserConfiguration
Getter for '@' configured replacement character
getBaseContext() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getBaseContext() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
Returns the base context that we are wrapping.
getBaseContext() - Method in interface org.apache.velocity.context.InternalWrapperContext
Returns the base full context impl.
getBeginColumn() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getBeginLine() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getBody() - Method in class org.apache.velocity.runtime.resource.util.StringResource
Sets the template body.
getBoolean(String, boolean) - Method in class org.apache.velocity.runtime.RuntimeInstance
Boolean property accessor method to hide the configuration implementation.
getBoolean(String, boolean) - Method in interface org.apache.velocity.runtime.RuntimeServices
Boolean property accessor method to hide the configuration implementation.
getBoolean(String, boolean) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Boolean property accessor method to hide the configuration implementation.
getBoolean(String) - Method in class org.apache.velocity.util.ExtProperties
Get a boolean associated with the given configuration key.
getBoolean(String, boolean) - Method in class org.apache.velocity.util.ExtProperties
Get a boolean associated with the given configuration key.
getBoolean(String, Boolean) - Method in class org.apache.velocity.util.ExtProperties
Get a boolean associated with the given configuration key.
getBoxedClass(Class) - Static method in class org.apache.velocity.util.introspection.IntrospectionUtils
returns boxed type (or input type if not a primitive type)
getBufferSize() - Method in class org.apache.velocity.io.VelocityWriter
This method returns the size of the buffer used by the JspWriter.
getBuilder() - Method in class org.apache.velocity.util.StringBuilderWriter
Returns the underlying builder.
getByte(String) - Method in class org.apache.velocity.util.ExtProperties
Get a byte associated with the given configuration key.
getByte(String, byte) - Method in class org.apache.velocity.util.ExtProperties
Get a byte associated with the given configuration key.
getByte(String, Byte) - Method in class org.apache.velocity.util.ExtProperties
Get a byte associated with the given configuration key.
getCachedClass() - Method in class org.apache.velocity.util.introspection.ClassFieldMap
Returns the class object whose fields are cached by this map.
getCachedClass() - Method in class org.apache.velocity.util.introspection.ClassMap
Returns the class object whose methods are cached by this map.
getChainedContext() - Method in class org.apache.velocity.context.AbstractContext
returns innerContext if one is chained
getClass(String) - Static method in class org.apache.velocity.util.ClassUtils
Return the specified class.
getClassName() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Return the class name of this resource Loader
getColumn() - Method in class org.apache.velocity.runtime.directive.Directive
for log msg purposes
getColumn() - Method in class org.apache.velocity.runtime.directive.Scope.Info
column getter
getColumn() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getColumn() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getColumn() - Method in class org.apache.velocity.util.introspection.Info
 
getColumnNumber() - Method in interface org.apache.velocity.exception.ExtendedParseException
returns the column number where this exception occurred.
getColumnNumber() - Method in exception org.apache.velocity.exception.MethodInvocationException
 
getColumnNumber() - Method in exception org.apache.velocity.exception.ParseErrorException
Return the column number of the parsing error, or -1 if not defined.
getColumnNumber() - Method in exception org.apache.velocity.exception.TemplateInitException
Returns the column number where this exception occurred.
getColumnNumber() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
returns the column number where this exception occured.
getColumnNumber() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
returns the column number where this exception occurred.
getConfiguration() - Method in class org.apache.velocity.runtime.RuntimeInstance
Return the velocity runtime configuration object.
getConfiguration() - Method in interface org.apache.velocity.runtime.RuntimeServices
Return the velocity runtime configuration object.
getConfiguration() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Return the velocity runtime configuration object.
getContent(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a static content resource from the resource manager.
getContent(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a static content resource from the resource manager.
getContent(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns a static content resource from the resource manager.
getContent(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns a static content resource from the resource manager.
getContent(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns a static content resource from the resource manager.
getContent(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns a static content resource from the resource manager.
getConversionHandler() - Method in class org.apache.velocity.util.introspection.UberspectImpl
 
getCount() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getCtext() - Method in class org.apache.velocity.runtime.parser.node.ASTText
text getter
getCurrentLexicalState() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
getCurrentMacroCallDepth() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentMacroCallDepth() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentMacroName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentResource() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentResource() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentTemplate() - Method in interface org.apache.velocity.runtime.parser.Parser
 
getCurrentTemplate() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
getCurrentTemplateName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getData() - Method in class org.apache.velocity.runtime.resource.Resource
Get arbitrary data object that might be used by the resource.
getDepth() - Method in class org.apache.velocity.runtime.directive.Scope
Returns the number of control arguments of this type that are stacked up.
getDepth() - Method in class org.apache.velocity.runtime.directive.Scope.Info
current depth
getDirective(String) - Method in interface org.apache.velocity.runtime.parser.Parser
 
getDirective(String) - Method in class org.apache.velocity.runtime.parser.StandardParser
This method gets a Directive from the directives Hashtable
getDirective(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Retrieve a previously instantiated directive.
getDirective(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Retrieve a previously instantiated directive.
getDirectiveName() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
Gets the name of this directive.
getDirectiveType() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
 
getDollarChar() - Method in class org.apache.velocity.runtime.ParserConfiguration
Getter for '$' configured replacement character
getDouble(String) - Method in class org.apache.velocity.util.ExtProperties
Get a double associated with the given configuration key.
getDouble(String, double) - Method in class org.apache.velocity.util.ExtProperties
Get a double associated with the given configuration key.
getDouble(String, Double) - Method in class org.apache.velocity.util.ExtProperties
Get a double associated with the given configuration key.
getEncoding() - Method in class org.apache.velocity.runtime.resource.Resource
get the encoding of this resource for example, "ISO-8859-1"
getEncoding() - Method in class org.apache.velocity.runtime.resource.util.StringResource
Returns the encoding of this String resource.
getEncoding() - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
Returns the current encoding of this repository.
getEncoding() - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
getEncodingFromStream() - Method in class org.apache.velocity.io.UnicodeInputStream
Read encoding based on BOM.
getEndColumn() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
getEndColumn() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getEndLine() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
getEndLine() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getEngine() - Method in class org.apache.velocity.script.VelocityCompiledScript
 
getEngineName() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get engine name
getEngineVersion() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get engine version
getEntries() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
getEventCartridge() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getEventCartridge() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getEventCartridge() - Method in interface org.apache.velocity.context.InternalEventContext
 
getEventCartridge() - Method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the event handlers for the application.
GetExecutor - Class in org.apache.velocity.runtime.parser.node
Executor that simply tries to execute a get(key) operation.
GetExecutor(Logger, Introspector, Class<?>, String) - Constructor for class org.apache.velocity.runtime.parser.node.GetExecutor
 
getExtensions() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get the list of file extensions handled by Velocity: vm, vtl, vhtml
getFactory() - Method in class org.apache.velocity.script.VelocityScriptEngine
get the factory used to create this script engine
getField() - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
getField() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
getField(Class<?>, String) - Method in class org.apache.velocity.util.introspection.IntrospectorBase
Gets the field defined by name.
getFieldMap(Class<?>) - Method in class org.apache.velocity.util.introspection.IntrospectorCache
Lookup a given Class object in the cache.
getFilename(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
 
getFirst() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getFirstToken() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getFirstToken() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getFirstTokenImage() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getFirstTokenImage() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getFloat(String) - Method in class org.apache.velocity.util.ExtProperties
Get a float associated with the given configuration key.
getFloat(String, float) - Method in class org.apache.velocity.util.ExtProperties
Get a float associated with the given configuration key.
getFloat(String, Float) - Method in class org.apache.velocity.util.ExtProperties
Get a float associated with the given configuration key.
getHashChar() - Method in class org.apache.velocity.runtime.ParserConfiguration
Getter for '#' configured replacement character
getHasNext() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getIdentifier() - Method in class org.apache.velocity.runtime.parser.node.ASTIdentifier
Identifier getter
GetImage() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns a string made up of characters from the marked token beginning to the current buffer position.
GetImage() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getInclude() - Method in class org.apache.velocity.util.ExtProperties
Gets the property value for including other properties files.
getIndex() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getInfo() - Method in class org.apache.velocity.runtime.directive.Scope
Returns info about the current scope for debugging purposes.
getInfo() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getInfo() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getInputEncoding(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.InputBase
Decides the encoding used during input processing of this directive.
getInt(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Int property accessor method to hide the configuration implementation.
getInt(String, int) - Method in class org.apache.velocity.runtime.RuntimeInstance
Int property accessor method to hide the configuration implementation.
getInt(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Int property accessor method to hide the configuration implementation.
getInt(String, int) - Method in interface org.apache.velocity.runtime.RuntimeServices
Int property accessor method to hide the configuration implementation.
getInt(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Int property accessor method to hide the configuration implementation.
getInt(String, int) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Int property accessor method to hide the configuration implementation.
getInt(String) - Method in class org.apache.velocity.util.ExtProperties
The purpose of this method is to get the configuration resource with the given name as an integer.
getInt(String, int) - Method in class org.apache.velocity.util.ExtProperties
The purpose of this method is to get the configuration resource with the given name as an integer, or a default value.
getInteger(String) - Method in class org.apache.velocity.util.ExtProperties
Get a int associated with the given configuration key.
getInteger(String, int) - Method in class org.apache.velocity.util.ExtProperties
Get a int associated with the given configuration key.
getInteger(String, Integer) - Method in class org.apache.velocity.util.ExtProperties
Get a int associated with the given configuration key.
getInternalUserContext() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
Return the inner / user context.
getInternalUserContext() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
returns the user data context that we are wrapping
getInternalUserContext() - Method in interface org.apache.velocity.context.InternalWrapperContext
Returns the wrapped user context.
getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
 
getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
getIntrospectorCache() - Method in class org.apache.velocity.util.introspection.IntrospectorBase
Return the internal IntrospectorCache object.
getInvalidReference() - Method in class org.apache.velocity.app.event.implement.InvalidReferenceInfo
Get the specific invalid reference string.
getInvalidReferences() - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
All invalid references during the processing of this page.
getInvalidSyntax() - Method in exception org.apache.velocity.exception.ParseErrorException
Return the invalid syntax or reference that triggered this error, or null if not defined.
getIterator(Object, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
Retrieve the contextual iterator.
getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
To support iterative objects used in a #foreach() loop.
getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
To support iterative objects used in a #foreach() loop.
getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.SecureUberspector
Get an iterator from the given object.
getIterator(Object, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
To support iteratives - #foreach()
getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
To support iterative objects used in a #foreach() loop.
getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
 
getKeys() - Method in class org.apache.velocity.context.AbstractContext
Get all the keys for the values in the context
getKeys() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getKeys() - Method in interface org.apache.velocity.context.Context
Get all the keys for the values in the context.
getKeys() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getKeys() - Method in class org.apache.velocity.util.ExtProperties
Get the list of the keys contained in the configuration repository.
getKeys(String) - Method in class org.apache.velocity.util.ExtProperties
Get the list of the keys contained in the configuration repository that match the specified prefix.
getLanguageName() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get language name
getLanguageVersion() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get language version (same as engine version)
getLast() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Get the last modified time of the InputStream source that was used to create the template.
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Checks to see when a resource was last modified
getLastModified() - Method in class org.apache.velocity.runtime.resource.Resource
Return the lastModifed time of this resource.
getLastModified() - Method in class org.apache.velocity.runtime.resource.util.StringResource
Returns the modification date of the template.
getLastModified(Resource) - Method in class org.apache.velocity.spring.SpringResourceLoader
 
getLastToken() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getLastToken() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getLastTokenImage() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getLastTokenImage() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getLibraryName(String, Template) - Method in class org.apache.velocity.runtime.VelocimacroManager
Return the library name for a given macro.
getLine() - Method in class org.apache.velocity.runtime.directive.Directive
for log msg purposes
getLine() - Method in class org.apache.velocity.runtime.directive.Scope.Info
line getter
getLine() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getLine() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getLine() - Method in class org.apache.velocity.util.introspection.Info
 
getLineNumber() - Method in interface org.apache.velocity.exception.ExtendedParseException
returns the line number where this exception occurred.
getLineNumber() - Method in exception org.apache.velocity.exception.MethodInvocationException
 
getLineNumber() - Method in exception org.apache.velocity.exception.ParseErrorException
Return the line number of the parsing error, or -1 if not defined.
getLineNumber() - Method in exception org.apache.velocity.exception.TemplateInitException
Returns the line number where this exception occurred.
getLineNumber() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
returns the line number where this exception occured.
getLineNumber() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
returns the line number where this exception occurred.
getList(String) - Method in class org.apache.velocity.util.ExtProperties
Get a List of strings associated with the given configuration key.
getList(String, List) - Method in class org.apache.velocity.util.ExtProperties
Get a List of strings associated with the given configuration key.
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTAddNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTAndNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
get the string representing the mathematical operator
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
get the string representing the mathematical operator
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTDivNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTGENode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTGTNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTLENode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTLTNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTModNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTMulNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTOrNode
 
getLiteralOperator() - Method in class org.apache.velocity.runtime.parser.node.ASTSubtractNode
 
getLoader(RuntimeServices, String) - Static method in class org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory
Gets the loader specified in the configuration file.
getLoaderNameForResource(String) - Method in interface org.apache.velocity.runtime.resource.ResourceManager
Determines is a template exists, and returns name of the loader that provides it.
getLoaderNameForResource(String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Determines if a template exists, and returns name of the loader that provides it.
getLoaderNameForResource(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Determines if a template exists and returns name of the loader that provides it.
getLoaderNameForResource(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Determines is a template exists, and returns name of the loader that provides it.
getLoaderNameForResource(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Determines is a template exists, and returns name of the loader that provides it.
getLocation(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Return a string that tells the current location of this node.
getLog() - Method in class org.apache.velocity.app.event.EventCartridge
 
getLog() - Static method in class org.apache.velocity.app.Velocity
Returns the current logger.
getLog() - Method in class org.apache.velocity.app.VelocityEngine
Returns the current slf4j logger.
getLog() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the configured logger.
getLog(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Get a logger for the specified child namespace.
getLog() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the configured logger.
getLog(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Get a logger for the specified child namespace.
getLog() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the configured logger.
getLogContext() - Method in class org.apache.velocity.runtime.RuntimeInstance
Get the LogContext object used to tack locations in templates.
getLogContext() - Method in interface org.apache.velocity.runtime.RuntimeServices
Get the LogContext object used to tack locations in templates.
getLong(String) - Method in class org.apache.velocity.util.ExtProperties
Get a long associated with the given configuration key.
getLong(String, long) - Method in class org.apache.velocity.util.ExtProperties
Get a long associated with the given configuration key.
getLong(String, Long) - Method in class org.apache.velocity.util.ExtProperties
Get a long associated with the given configuration key.
getMacroArgs() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Return the list of macro arguments associated with this macro
getMacroLibraries() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getMacroLibraries() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getMacroNameStack() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getMacroNameStack() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getMacros() - Method in class org.apache.velocity.Template
get the map of all macros defined by this template
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeHtmlReference
Deprecated.
 
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
Deprecated.
 
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeReference
Specify the configuration attribute that specifies the regular expression.
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeSqlReference
 
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeXmlReference
Deprecated.
 
getMax() - Method in class org.apache.velocity.util.SimplePool
Return the size of the pool
getMessage() - Method in exception org.apache.velocity.exception.MethodInvocationException
 
getMessage() - Method in exception org.apache.velocity.exception.ParseErrorException
Return our custom message if we have one, else return the default message
getMessage() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error org.apache.velocity.runtime.directive.StopCommand
 
getMessage() - Method in exception org.apache.velocity.runtime.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error org.apache.velocity.runtime.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethod() - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
 
getMethod() - Method in class org.apache.velocity.runtime.parser.node.MapGetExecutor
 
getMethod() - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
 
getMethod(String, Object[], Class<?>[], Object, InternalContextAdapter, SimpleNode, boolean) - Static method in class org.apache.velocity.util.ClassUtils
Lookup a VelMethod object given the method signature that is specified in the passed in parameters.
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
Method
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.DeprecatedCheckUberspector
 
getMethod(Class<?>, String, Object[]) - Method in class org.apache.velocity.util.introspection.Introspector
Gets the method defined by name and params for the Class c.
getMethod(Class<?>, String, Object[]) - Method in class org.apache.velocity.util.introspection.IntrospectorBase
Gets the method defined by name and params for the Class c.
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
Method
getMethod(Class<?>, String, Object[]) - Method in class org.apache.velocity.util.introspection.SecureIntrospectorImpl
Get the Method object corresponding to the given class, name and parameters.
getMethod(Object, String, Object[], Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
Returns a general method, corresponding to $foo.bar( $woogie )
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
Method
getMethod() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
 
getMethod() - Method in interface org.apache.velocity.util.introspection.VelMethod
returns the underlying Method
getMethodCallSyntax(String, String, String...) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get Velocity syntax for calling method 'm' on object 'obj' with provided arguments
getMethodName() - Method in exception org.apache.velocity.exception.MethodInvocationException
Returns the name of the method that threw the exception.
getMethodName() - Method in class org.apache.velocity.runtime.parser.node.ASTMethod
 
getMethodName() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
 
getMethodName() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
getMethodName() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
 
getMethodName() - Method in interface org.apache.velocity.util.introspection.VelMethod
returns the method name used
getMethodName() - Method in interface org.apache.velocity.util.introspection.VelPropertyGet
returns the method name used to return this 'property'
getMethodName() - Method in interface org.apache.velocity.util.introspection.VelPropertySet
returns the method name used to set this 'property'
getMimeTypes() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get the list of Velocity mime types
getModificationCheckInterval() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Get the interval at which the InputStream source should be checked for modifications.
getMorePrefix() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
more prefix getter
getName() - Method in class org.apache.velocity.example.EventExample
Required init methods for Logger interface
getName() - Method in class org.apache.velocity.runtime.directive.BlockMacro
 
getName() - Method in class org.apache.velocity.runtime.directive.Break
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.contrib.For
 
getName() - Method in class org.apache.velocity.runtime.directive.Define
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Directive
Return the name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Evaluate
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Foreach
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Include
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Macro
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.Parse
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Return name of this Velocimacro.
getName() - Method in class org.apache.velocity.runtime.directive.Scope.Info
name getter
getName() - Method in class org.apache.velocity.runtime.directive.Stop
Return name of this directive.
getName() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Return name of this Velocimacro.
getName() - Method in class org.apache.velocity.runtime.resource.Resource
Get the name of this template.
getNames() - Method in class org.apache.velocity.example.Example
 
getNames() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get the list of names
getNeededConverter(Class<?>, Class<?>) - Method in interface org.apache.velocity.util.introspection.ConversionHandler
Deprecated.
Returns the appropriate Converter object needed for an explicit conversion Returns null if no conversion is needed.
getNeededConverter(Type, Class<?>) - Method in interface org.apache.velocity.util.introspection.TypeConversionHandler
Returns the appropriate Converter object needed for an explicit conversion Returns null if no conversion is needed.
getNeededConverter(Type, Class<?>) - Method in class org.apache.velocity.util.introspection.TypeConversionHandlerImpl
Returns the appropriate Converter object needed for an explicit conversion Returns null if no conversion is needed.
getNewInstance(String) - Static method in class org.apache.velocity.util.ClassUtils
Return a new instance of the given class.
getNextToken() - Method in class org.apache.velocity.runtime.parser.StandardParser
Get the next Token.
getNextToken() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Get the next Token.
getNumArgs() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
returns the number of ars needed for this VM
getObject() - Method in class org.apache.velocity.spring.VelocityEngineFactoryBean
 
getObjectType() - Method in class org.apache.velocity.spring.VelocityEngineFactoryBean
 
getOutputStatement(String) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get VTL expression used to display specified string
getParameter(String) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get engine parameter for provided key
getParent() - Method in class org.apache.velocity.runtime.directive.Scope
Returns the parent control reference overridden by the placement of this instance in the context.
getParser() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getParser() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getParserConfiguration() - Method in class org.apache.velocity.runtime.RuntimeInstance
 
getParserConfiguration() - Method in interface org.apache.velocity.runtime.RuntimeServices
Get the replacement characters configured for this runtime service's parser
getPostfix() - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
get indentation postfix
getPostfix() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
get indentation postfix
getPostfix() - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
get indentation postfix
getPostfix() - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
get indentation postfix
getPrefix() - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
get indentation prefix
getPrefix() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
get indentation prefix
getPrefix() - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
get indentation prefix
getPrefix() - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
get indentation prefix
getProgram(String...) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get whole VTL program given VTL lines
getProperties(String) - Method in class org.apache.velocity.util.ExtProperties
Get a list of properties associated with the given configuration key.
getProperties(String, Properties) - Method in class org.apache.velocity.util.ExtProperties
Get a list of properties associated with the given configuration key.
getProperty(String) - Static method in class org.apache.velocity.app.Velocity
Get a Velocity Runtime property.
getProperty(String) - Method in class org.apache.velocity.app.VelocityEngine
Get a Velocity Runtime property.
getProperty(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Allows an external caller to get a property.
getProperty(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Allows an external caller to get a property.
getProperty(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Allows an external caller to get a property.
getProperty(String) - Method in class org.apache.velocity.util.ExtProperties
Gets a property from the configuration.
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
Property getter
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.DeprecatedCheckUberspector
 
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
Property getter
getPropertyGet(Object, String, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
Property getter
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
Property getter
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
Property setter
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.DeprecatedCheckUberspector
 
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
Property setter
getPropertySet(Object, String, Object, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
Property setter
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
Property setter
getReader(ResultSet, String, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Gets a reader from a result set's column
getReferenceName() - Method in exception org.apache.velocity.exception.MethodInvocationException
Retrieves the name of the reference that caused the exception.
getRemaining() - Method in class org.apache.velocity.io.VelocityWriter
 
getReplaced() - Method in class org.apache.velocity.runtime.directive.Scope
Returns the user's context reference overridden by the placement of this instance in the context.
getRepository() - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Returns a reference to the default static repository.
getRepository(String) - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Returns a reference to the repository stored statically under the specified name.
getResource(String) - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
getResource(String, int) - Static method in class org.apache.velocity.runtime.resource.ResourceFactory
 
getResource(String, int, String) - Method in interface org.apache.velocity.runtime.resource.ResourceManager
Gets the named resource.
getResource(String, int, String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Gets the named resource.
getResourceAsStream(Class<?>, String) - Static method in class org.apache.velocity.util.ClassUtils
Finds a resource with the given name.
getResourceLoader() - Method in class org.apache.velocity.runtime.resource.Resource
Return the template loader that pulled in the template stream
getResourceLoader() - Method in class org.apache.velocity.spring.VelocityEngineFactory
Return the Spring ResourceLoader to use for loading Velocity template files.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Get a Reader so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
Get a Reader so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
Get a Reader so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Get the Reader that the Runtime will parse to create a template.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Get a reader so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Get a Reader so that the Runtime can build a template with it.
getResourceReader(String, String) - Method in class org.apache.velocity.script.VelocityScriptEngine.SingleResourceReader
 
getResourceReader(String, String) - Method in class org.apache.velocity.spring.SpringResourceLoader
Get the Reader that the Runtime will parse to create a template.
getReturnType() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
getReturnType() - Method in interface org.apache.velocity.util.introspection.VelMethod
returns the return type of the method invoked
getRootString() - Method in class org.apache.velocity.runtime.parser.node.ASTReference
Returns the 'root string', the reference key
getRootVariableValue(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
getRuntimeServices() - Method in class org.apache.velocity.app.event.implement.EscapeReference
Retrieve a reference to RuntimeServices.
getRuntimeServices() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getRuntimeServices() - Method in interface org.apache.velocity.runtime.parser.Parser
 
getRuntimeServices() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
getRuntimeServices() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the RuntimeServices Instance used by this wrapper.
getScopeName() - Method in class org.apache.velocity.runtime.directive.BlockMacro
Override to use the macro name, since it is within an #@myMacro() ...
getScopeName() - Method in class org.apache.velocity.runtime.directive.Directive
 
getScopeName() - Method in class org.apache.velocity.runtime.directive.Parse
Overrides the default to use "template", so that all templates can use the same scope reference, whether rendered via #parse or direct merge.
getScopeName() - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Override to always return "macro".
getScriptEngine() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
get a Velocity script engine
getShort(String) - Method in class org.apache.velocity.util.ExtProperties
Get a short associated with the given configuration key.
getShort(String, short) - Method in class org.apache.velocity.util.ExtProperties
Get a short associated with the given configuration key.
getShort(String, Short) - Method in class org.apache.velocity.util.ExtProperties
Get a short associated with the given configuration key.
getSpaceGobbling() - Method in class org.apache.velocity.runtime.RuntimeInstance
get space gobbling mode
getSpaceGobbling() - Method in interface org.apache.velocity.runtime.RuntimeServices
get space gobbling mode
getSpecialText(Parser, Token) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
Collect all the <SPECIAL_TOKEN>s that are carried along with a token.
getStackTrace() - Method in class org.apache.velocity.runtime.parser.LogContext
 
getString(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
String property accessor method with default to hide the configuration implementation.
getString(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
String property accessor method to hide the configuration implementation
getString(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
String property accessor method with default to hide the configuration implementation.
getString(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
String property accessor method to hide the configuration implementation
getString(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
String property accessor method with default to hide the configuration implementation.
getString(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
String property accessor method to hide the configuration implementation
getString(String) - Method in class org.apache.velocity.util.ExtProperties
Get a string associated with the given configuration key.
getString(String, String) - Method in class org.apache.velocity.util.ExtProperties
Get a string associated with the given configuration key.
getStringArray(String) - Method in class org.apache.velocity.util.ExtProperties
Get an array of strings associated with the given configuration key.
getStringResource(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
get the string resource that is stored with given key
getStringResource(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
GetSuffix(int) - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
GetSuffix(int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
getTemplate(String) - Static method in class org.apache.velocity.app.Velocity
Returns a Template from the Velocity resource management system.
getTemplate(String, String) - Static method in class org.apache.velocity.app.Velocity
Returns a Template from the Velocity resource management system.
getTemplate(String) - Method in class org.apache.velocity.app.VelocityEngine
Returns a Template from the Velocity resource management system.
getTemplate(String, String) - Method in class org.apache.velocity.app.VelocityEngine
Returns a Template from the Velocity resource management system.
getTemplate() - Method in class org.apache.velocity.runtime.directive.Directive
returns the template in which this directive appears
getTemplate() - Method in class org.apache.velocity.runtime.directive.Scope.Info
template name getter
getTemplate() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getTemplate() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getTemplate(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a Template from the resource manager.
getTemplate(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a Template from the resource manager
getTemplate(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns a Template from the resource manager.
getTemplate(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns a Template from the resource manager
getTemplate(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns a Template from the resource manager.
getTemplate(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns a Template from the resource manager
getTemplateName() - Method in interface org.apache.velocity.exception.ExtendedParseException
returns the Template name where this exception occurred.
getTemplateName() - Method in exception org.apache.velocity.exception.MethodInvocationException
 
getTemplateName() - Method in exception org.apache.velocity.exception.ParseErrorException
Return the name of the template containing the error, or null if not defined.
getTemplateName() - Method in exception org.apache.velocity.exception.TemplateInitException
Returns the Template name where this exception occurred.
getTemplateName() - Method in class org.apache.velocity.runtime.directive.Directive
 
getTemplateName() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
returns the Template name where this exception occured.
getTemplateName() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getTemplateName() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getTemplateName() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
returns the Template name where this exception occurred.
getTemplateName() - Method in class org.apache.velocity.util.introspection.Info
 
getTemplateNameStack() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getTemplateNameStack() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getTimeout() - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Returns the current, custom timeout setting.
getToken(int) - Method in interface org.apache.velocity.runtime.parser.Parser
 
getToken(int) - Method in class org.apache.velocity.runtime.parser.StandardParser
Get the specific Token.
getTopmost() - Method in class org.apache.velocity.runtime.directive.Scope
Returns the topmost parent control reference, retrieved by simple recursion on Scope.getParent().
getType() - Method in class org.apache.velocity.runtime.directive.Block
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.Break
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.contrib.For
 
getType() - Method in class org.apache.velocity.runtime.directive.Directive
Get the directive type BLOCK/LINE.
getType() - Method in class org.apache.velocity.runtime.directive.Evaluate
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.Foreach
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.Include
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.Macro
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.Parse
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Velocimacros are always LINE type directives.
getType() - Method in class org.apache.velocity.runtime.directive.Scope.Info
type getter
getType() - Method in class org.apache.velocity.runtime.directive.Stop
Return type of this directive.
getType() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Velocimacros are always LINE type directives.
getType() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getType() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getType() - Method in class org.apache.velocity.runtime.resource.Resource
 
getTypeClass(Type) - Static method in class org.apache.velocity.util.introspection.IntrospectionUtils
returns the Class corresponding to a Type, if possible
getUberspect() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the Uberspect object for this Instance.
getUberspect() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the configured class introspection/reflection implementation.
getUberspect() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the Uberspect object for this Instance.
getUnboxedClass(Class) - Static method in class org.apache.velocity.util.introspection.IntrospectionUtils
returns unboxed type (or input type if not successful)
getUrlPath() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
getValue() - Method in class org.apache.velocity.runtime.parser.Token
An optional attribute value of the Token.
getVector(String) - Method in class org.apache.velocity.util.ExtProperties
Get a Vector of strings associated with the given configuration key.
getVector(String, Vector) - Method in class org.apache.velocity.util.ExtProperties
Get a Vector of strings associated with the given configuration key.
getVelocimacro(String, Template, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.
getVelocimacro(String, Template, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, Template, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, Template, Template) - Method in class org.apache.velocity.runtime.VelocimacroFactory
actual factory: creates a Directive that will behave correctly wrt getting the framework to dig out the correct # of args
getVelocityContext(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
 
getVelocityEngine() - Method in class org.apache.velocity.script.VelocityScriptEngine
get the internal Velocity RuntimeInstance
getVelocityProperties(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
 
getVtlStackTrace() - Method in exception org.apache.velocity.exception.VelocityException
 
getWrappedThrowable() - Method in exception org.apache.velocity.exception.VelocityException
Deprecated.
globalCache - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Object implementing ResourceCache to be our resource manager's Resource cache.

H

handleArgValues(InternalContextAdapter, Node, int) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Gets the macro argument values and puts them in the context under the argument names.
handleSpecial(Object, Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTAddNode
 
handleSpecial(Object, Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMathNode
Extension hook to allow special behavior by subclasses If this method returns a non-null value, that is returned, rather than the result of the math operation.
hash() - Method in interface org.apache.velocity.runtime.parser.Parser
 
hash() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
HASH - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
hashCode() - Method in class org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
 
hasNext - Variable in class org.apache.velocity.runtime.directive.ForeachScope
 
hasNext() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
hasNext() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
hasNext() - Method in class org.apache.velocity.util.ArrayIterator
Check to see if there is another element in the array.
hasNext() - Method in class org.apache.velocity.util.EnumerationIterator
Check to see if there is another element in the array.
hasPrevious() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
hyphenAllowedInIdentifiers - Variable in class org.apache.velocity.runtime.parser.StandardParser
Set to true if the propoerty RuntimeConstants.PARSER_HYPHEN_ALLOWED is set to true

I

icacheGet(Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
icacheGet(Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
id(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.Block
Creates a string identifying the source and location of the block definition, and the current template being rendered if that is different.
id - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
Identifier() - Method in class org.apache.velocity.runtime.parser.StandardParser
This method corresponds to variable references in Velocity templates.
IDENTIFIER - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
IDENTIFIER_CHAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
IF_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
IfStatement(boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
 
image - Variable in class org.apache.velocity.runtime.parser.Token
The string image of the token.
IN_FORMAL_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
IN_MULTI_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
IN_MULTILINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
IN_SINGLE_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
IN_TEXTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
Include - Class in org.apache.velocity.runtime.directive
Pluggable directive that handles the #include() statement in VTL.
Include() - Constructor for class org.apache.velocity.runtime.directive.Include
 
include - Static variable in class org.apache.velocity.util.ExtProperties
This is the name of the property that can point to other properties file for including other properties files.
includeEvent(Context, String, String, String) - Method in class org.apache.velocity.app.event.EventCartridge
Call include event handlers
includeEvent(RuntimeServices, InternalContextAdapter, String, String, String) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when an include-type directive is encountered (#include or #parse).
includeEvent(Context, String, String, String) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
Check to see if included file exists, and display "not found" page if it doesn't.
includeEvent(Context, String, String, String) - Method in class org.apache.velocity.app.event.implement.IncludeRelativePath
Return path relative to the current template's path.
includeEvent(Context, String, String, String) - Method in interface org.apache.velocity.app.event.IncludeEventHandler
Called when an include-type directive is encountered ( #include or #parse).
IncludeEventHandler - Interface in org.apache.velocity.app.event
Event handler for include type directives (e.g.
IncludeNotFound - Class in org.apache.velocity.app.event.implement
Simple event handler that checks to see if an included page is available.
IncludeNotFound() - Constructor for class org.apache.velocity.app.event.implement.IncludeNotFound
 
IncludeRelativePath - Class in org.apache.velocity.app.event.implement
Event handler that looks for included files relative to the path of the current template.
IncludeRelativePath() - Constructor for class org.apache.velocity.app.event.implement.IncludeRelativePath
 
IndentationFixer - Class in org.apache.velocity.runtime.parser.node
Helper class to fix indentation in structured mode.
IndentationFixer(String) - Constructor for class org.apache.velocity.runtime.parser.node.IndentationFixer
 
index - Variable in class org.apache.velocity.runtime.directive.ForeachScope
 
Index() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
INDEX_LBRACKET - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
INDEX_RBRACKET - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
indexOf(Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
IndexParameter() - Method in class org.apache.velocity.runtime.parser.StandardParser
A Simplified parameter more suitable for an index position: $foo[$index]
info(String) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
info(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
Info(Scope, Object) - Constructor for class org.apache.velocity.runtime.directive.Scope.Info
c'tor
info - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
Info - Class in org.apache.velocity.util.introspection
Little class to carry in info such as template name, line and column for information error reporting from the uberspector implementations
Info(String, int, int) - Constructor for class org.apache.velocity.util.introspection.Info
 
Info(Node) - Constructor for class org.apache.velocity.util.introspection.Info
 
init() - Static method in class org.apache.velocity.app.Velocity
initialize the Velocity runtime engine, using the default properties of the Velocity distribution
init(String) - Static method in class org.apache.velocity.app.Velocity
initialize the Velocity runtime engine, using default properties plus the properties in the properties file passed in as the arg
init(Properties) - Static method in class org.apache.velocity.app.Velocity
initialize the Velocity runtime engine, using default properties plus the properties in the passed in java.util.Properties object
init() - Method in class org.apache.velocity.app.VelocityEngine
initialize the Velocity runtime engine, using the default properties of the Velocity distribution
init(String) - Method in class org.apache.velocity.app.VelocityEngine
initialize the Velocity runtime engine, using default properties plus the properties in the properties file passed in as the arg
init(Properties) - Method in class org.apache.velocity.app.VelocityEngine
initialize the Velocity runtime engine, using default properties plus the properties in the passed in java.util.Properties object
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Block
simple init - get the key
init(RuntimeServices, String, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.BlockMacro
Initializes the directive.
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Break
 
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
 
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Define
simple init - get the key
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Directive
How this directive is to be initialized.
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Evaluate
Initialize and check arguments.
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
simple init - init the tree and get the elementKey from the AST
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Include
simple init - init the tree and get the elementKey from the AST
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Macro
 
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Parse
Init's the #parse directive.
init(RuntimeServices, String, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Initialize the Runtime macro.
init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Stop
 
init(RuntimeServices) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Initialize members of VelocimacroProxy.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTAssignment
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComment
We need to make sure we catch any of the dreaded MORE tokens.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTDirectiveAssign
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTElseStatement
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEscape
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTFalse
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
Initialization method - doesn't do much but do the object creation.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIdentifier
simple init - don't do anything that is context specific.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIncludeStatement
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIndex
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTLogicalOperator
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMap
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMathNode
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMethod
simple init - init our subtree and get what we can from the AST
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTModNode
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMulNode
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTNegateNode
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTNotNode
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTprocess
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
simple init.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
init : we don't have to do much.
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTText
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTTrue
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTVariable
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTWord
 
init(InternalContextAdapter, Object) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
This is abstract in the base class, so we need it
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
 
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
 
init() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
Called by Velocity to initialize the loader
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Initialize the template loader with a a resources class.
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
 
init() - Method in class org.apache.velocity.runtime.RuntimeInstance
This is the primary initialization method in the Velocity Runtime.
init(Properties) - Method in class org.apache.velocity.runtime.RuntimeInstance
Initialize the Velocity Runtime with a Properties object.
init(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Initialize the Velocity Runtime with a properties file path.
init() - Method in interface org.apache.velocity.runtime.RuntimeServices
This is the primary initialization method in the Velocity Runtime.
init(Properties) - Method in interface org.apache.velocity.runtime.RuntimeServices
Initialize the Velocity Runtime with a Properties object.
init(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Initialize the Velocity Runtime with the name of ExtProperties object.
init() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
This is the primary initialization method in the Velocity Runtime.
init(Properties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Initialize the Velocity Runtime with a Properties object.
init(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Initialize the Velocity Runtime with the name of a properties file.
init(ExtProperties) - Method in class org.apache.velocity.spring.SpringResourceLoader
 
init() - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
init - the chainable uberspector is responsible for the initialization of the wrapped uberspector
init() - Method in class org.apache.velocity.util.introspection.DeprecatedCheckUberspector
 
init() - Method in class org.apache.velocity.util.introspection.LinkingUberspector
init - the chainable uberspector is responsible for the initialization of the wrapped uberspector
init() - Method in class org.apache.velocity.util.introspection.SecureUberspector
init - generates the Introspector.
init() - Method in interface org.apache.velocity.util.introspection.Uberspect
Initializer - will be called before use
init() - Method in class org.apache.velocity.util.introspection.UberspectImpl
init - generates the Introspector.
init() - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
init - generates the Introspector.
initDocument() - Method in class org.apache.velocity.Template
initializes the document.
initialize(RuntimeServices) - Method in interface org.apache.velocity.runtime.ParserPool
Initialize the pool so that it can begin serving parser instances.
initialize(RuntimeServices) - Method in class org.apache.velocity.runtime.ParserPoolImpl
Create the underlying "pool".
initialize(RuntimeServices) - Method in interface org.apache.velocity.runtime.resource.ResourceCache
initializes the ResourceCache.
initialize(RuntimeServices) - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
initialize(RuntimeServices) - Method in interface org.apache.velocity.runtime.resource.ResourceManager
Initialize the ResourceManager.
initialize(RuntimeServices) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Initialize the ResourceManager.
initSpringResourceLoader(VelocityEngine, String) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Initialize a SpringResourceLoader for the given VelocityEngine.
initVelocimacro() - Method in class org.apache.velocity.runtime.VelocimacroFactory
initialize the factory - setup all permissions load all global libraries.
initVelocityResourceLoader(VelocityEngine, String) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Initialize a Velocity resource loader for the given VelocityEngine: either a standard Velocity FileResourceLoader or a SpringResourceLoader.
INLINE_TEXT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
inner - Variable in class org.apache.velocity.util.introspection.AbstractChainableUberspector
The wrapped (decorated) uberspector.
INPUT_ENCODING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The default character encoding for the templates.
input_stream - Variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
InputBase - Class in org.apache.velocity.runtime.directive
Base class for directives which do input operations (e.g.
InputBase() - Constructor for class org.apache.velocity.runtime.directive.InputBase
 
INTEGER_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
IntegerLiteral() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
IntegerRange(int, int, int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
IntegerRange() - Method in class org.apache.velocity.runtime.parser.StandardParser
supports the [n..m] vector generator for use in the #foreach() to generate measured ranges w/o needing explicit support from the app/servlet
internalContainsKey(String) - Method in class org.apache.velocity.context.AbstractContext
Implement to determine if a key is in the storage.
internalContainsKey(String) - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalContainsKey(String) - Method in class org.apache.velocity.example.TreeMapContext
 
internalContainsKey(String) - Method in class org.apache.velocity.VelocityContext
determines if there is a value for the given key
InternalContextAdapter - Interface in org.apache.velocity.context
interface to bring all necessary internal and user contexts together.
InternalContextAdapterImpl - Class in org.apache.velocity.context
This adapter class is the container for all context types for internal use.
InternalContextAdapterImpl(Context) - Constructor for class org.apache.velocity.context.InternalContextAdapterImpl
CTOR takes a Context and wraps it, delegating all 'data' calls to it.
InternalEventContext - Interface in org.apache.velocity.context
Interface for event support.
internalGet(String) - Method in class org.apache.velocity.context.AbstractContext
Implement to return a value from the context storage.
internalGet(String) - Method in class org.apache.velocity.example.DBContext
retrieves a serialized object from the db and returns the living instance to the caller.
internalGet(String) - Method in class org.apache.velocity.example.TreeMapContext
 
internalGet(String) - Method in class org.apache.velocity.VelocityContext
retrieves value for key from internal storage
internalGetKeys() - Method in class org.apache.velocity.context.AbstractContext
Implement to return an object array of key strings from your storage.
internalGetKeys() - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalGetKeys() - Method in class org.apache.velocity.example.TreeMapContext
 
internalGetKeys() - Method in class org.apache.velocity.VelocityContext
returns array of keys
internalPut(String, Object) - Method in class org.apache.velocity.context.AbstractContext
Implement to put a value into the context storage.
internalPut(String, Object) - Method in class org.apache.velocity.example.DBContext
Serializes and stores an object in the database.
internalPut(String, Object) - Method in class org.apache.velocity.example.TreeMapContext
 
internalPut(String, Object) - Method in class org.apache.velocity.VelocityContext
stores the value for key to internal storage
internalRemove(String) - Method in class org.apache.velocity.context.AbstractContext
Implement to remove an item from your storage.
internalRemove(String) - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalRemove(String) - Method in class org.apache.velocity.example.TreeMapContext
 
internalRemove(String) - Method in class org.apache.velocity.VelocityContext
remove a key/value pair from the internal storage
InternalWrapperContext - Interface in org.apache.velocity.context
interface for internal context wrapping functionality
interpolate(String) - Method in class org.apache.velocity.util.ExtProperties
Interpolate key names to handle ${key} stuff
INTERPOLATE_STRINGLITERALS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Switch for the interpolation facility for string literals.
interpolateHelper(String, List<String>) - Method in class org.apache.velocity.util.ExtProperties
Recursive handler for multiple levels of interpolation.
IntrospectionCacheData - Class in org.apache.velocity.util.introspection
Holds information for node-local context data introspection information.
IntrospectionCacheData() - Constructor for class org.apache.velocity.util.introspection.IntrospectionCacheData
 
IntrospectionUtils - Class in org.apache.velocity.util.introspection
 
IntrospectionUtils() - Constructor for class org.apache.velocity.util.introspection.IntrospectionUtils
 
Introspector - Class in org.apache.velocity.util.introspection
This basic function of this class is to return a Method object for a particular class given the name of a method and the parameters to the method in the form of an Object[] The first time the Introspector sees a class it creates a class method map for the class in question.
Introspector(Logger) - Constructor for class org.apache.velocity.util.introspection.Introspector
 
Introspector(Logger, TypeConversionHandler) - Constructor for class org.apache.velocity.util.introspection.Introspector
 
introspector - Variable in class org.apache.velocity.util.introspection.UberspectImpl
the default Velocity introspector
introspector - Variable in class org.apache.velocity.util.introspection.UberspectPublicFields
the default Velocity introspector
INTROSPECTOR_RESTRICT_CLASSES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
A comma separated list of classes to restrict access to in the SecureIntrospector.
INTROSPECTOR_RESTRICT_PACKAGES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
A comma separated list of packages to restrict access to in the SecureIntrospector.
IntrospectorBase - Class in org.apache.velocity.util.introspection
Lookup a a Method object for a particular class given the name of a method and its parameters.
IntrospectorBase(Logger, TypeConversionHandler) - Constructor for class org.apache.velocity.util.introspection.IntrospectorBase
C'tor.
IntrospectorCache - Class in org.apache.velocity.util.introspection
This is the internal introspector cache implementation.
IntrospectorCache(Logger, TypeConversionHandler) - Constructor for class org.apache.velocity.util.introspection.IntrospectorCache
C'tor
invalid - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
INVALID_LEXICAL_STATE - Static variable in error org.apache.velocity.runtime.parser.TokenMgrError
Tried to change to an invalid lexical state.
invalidGetMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.app.event.EventCartridge
Call invalid reference handlers for an invalid getter
invalidGetMethod(RuntimeServices, InternalContextAdapter, String, Object, String, Info) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when an invalid get method is encountered.
invalidGetMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
Collect the error and/or throw an exception, depending on configuration.
invalidGetMethod(Context, String, Object, String, Info) - Method in interface org.apache.velocity.app.event.InvalidReferenceEventHandler
Called when object is null or there is no getter for the given property.
invalidGetMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.example.EventExample
 
invalidMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.app.event.EventCartridge
Call invalid reference handlers for an invalid method call
invalidMethod(RuntimeServices, InternalContextAdapter, String, Object, String, Info) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when an invalid method is encountered.
invalidMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
Collect the error and/or throw an exception, depending on configuration.
invalidMethod(Context, String, Object, String, Info) - Method in interface org.apache.velocity.app.event.InvalidReferenceEventHandler
Called when object is null or the given method does not exist.
invalidMethod(Context, String, Object, String, Info) - Method in class org.apache.velocity.example.EventExample
 
InvalidReferenceEventHandler - Interface in org.apache.velocity.app.event
Event handler called when an invalid reference is encountered.
InvalidReferenceInfo - Class in org.apache.velocity.app.event.implement
Convenience class to use when reporting out invalid syntax with line, column, and template name.
InvalidReferenceInfo(String, Info) - Constructor for class org.apache.velocity.app.event.implement.InvalidReferenceInfo
 
invalidSetMethod(Context, String, String, Info) - Method in class org.apache.velocity.app.event.EventCartridge
Call invalid reference handlers for an invalid setter
invalidSetMethod(RuntimeServices, InternalContextAdapter, String, String, Info) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when an invalid set method is encountered.
invalidSetMethod(Context, String, String, Info) - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
Collect the error and/or throw an exception, depending on configuration.
invalidSetMethod(Context, String, String, Info) - Method in interface org.apache.velocity.app.event.InvalidReferenceEventHandler
Called when object is null or there is no setter for the given property.
invalidSetMethod(Context, String, String, Info) - Method in class org.apache.velocity.example.EventExample
Event handler for when the right hand side of a #set() directive is null, which results in a log message.
invoke(Object) - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
 
invoke(Object, Object[]) - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
invoke(Object, Object) - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
Invoke the found Set Executor.
invoke(Object, Object[]) - Method in interface org.apache.velocity.util.introspection.VelMethod
invocation method - called when the method invocation should be performed and a value returned
invoke(Object) - Method in interface org.apache.velocity.util.introspection.VelPropertyGet
invocation method - called when the 'get action' should be preformed and a value returned
invoke(Object, Object) - Method in interface org.apache.velocity.util.introspection.VelPropertySet
method used to set the value in the object
invokeVelocimacro(String, String, String[], Context, Writer) - Static method in class org.apache.velocity.app.Velocity
Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
invokeVelocimacro(String, String, String[], Context, Writer) - Method in class org.apache.velocity.app.VelocityEngine
Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
invokeVelocimacro(String, String, String[], Context, Writer) - Method in class org.apache.velocity.runtime.RuntimeInstance
Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
invokeVelocimacro(String, String, String[], Context, Writer) - Method in interface org.apache.velocity.runtime.RuntimeServices
Invokes a currently registered Velocimacro with the params provided and places the rendered stream into the writer.
isAlive() - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
Tell whether the executor is alive by looking at the value of the method.
isAlive() - Method in class org.apache.velocity.runtime.parser.node.MapGetExecutor
 
isAlive() - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
isAlive() - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
Tell whether the executor is alive by looking at the value of the method.
isAlive() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
isAutoFlush() - Method in class org.apache.velocity.io.VelocityWriter
This method indicates whether the JspWriter is autoFlushing.
isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
 
isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
 
isCacheable() - Method in interface org.apache.velocity.util.introspection.VelMethod
specifies if this VelMethod is cacheable and able to be reused for this class of object it was returned for
isCacheable() - Method in interface org.apache.velocity.util.introspection.VelPropertyGet
specifies if this VelPropertyGet is cacheable and able to be reused for this class of object it was returned for
isCacheable() - Method in interface org.apache.velocity.util.introspection.VelPropertySet
specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for
isCachingOn - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Does this loader want templates produced with it cached in the Runtime.
isCachingOn() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
The Runtime uses this to find out whether this template loader wants the Runtime to cache templates created with InputStreams provided by this loader.
isConstant() - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
Check to see if this is an interpolated string.
isDebugEnabled() - Method in class org.apache.velocity.example.EventExample
 
isDirective(String) - Method in interface org.apache.velocity.runtime.parser.Parser
 
isDirective(String) - Method in class org.apache.velocity.runtime.parser.StandardParser
This method finds out of the directive exists in the directives Map.
isEmpty() - Method in class org.apache.velocity.util.ArrayListWrapper
 
isErrorEnabled() - Method in class org.apache.velocity.example.EventExample
 
isExplicitlyConvertible(Class<?>, Class<?>, boolean) - Method in interface org.apache.velocity.util.introspection.ConversionHandler
Deprecated.
Check to see if the conversion can be done using an explicit conversion
isExplicitlyConvertible(Type, Class<?>, boolean) - Method in interface org.apache.velocity.util.introspection.TypeConversionHandler
Check to see if the conversion can be done using an explicit conversion
isExplicitlyConvertible(Type, Class<?>, boolean) - Method in class org.apache.velocity.util.introspection.TypeConversionHandlerImpl
Check to see if the conversion can be done using an explicit conversion
isFirst() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
isFor(Object) - Method in error org.apache.velocity.runtime.directive.StopCommand
 
isHyphenAllowedInIdentifiers() - Method in class org.apache.velocity.runtime.RuntimeInstance
get whether hyphens are allowed in identifiers
isHyphenAllowedInIdentifiers() - Method in interface org.apache.velocity.runtime.RuntimeServices
Get whether hyphens are allowed in identifiers
isInfoEnabled() - Method in class org.apache.velocity.example.EventExample
 
isInitialized() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns true if the RuntimeInstance has been successfully initialized.
isInitialized() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns true if the RuntimeInstance has been successfully initialized.
isInitialized() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns true if the RuntimeInstance has been successfully initialized.
isInitialized - Variable in class org.apache.velocity.util.ExtProperties
Has this configuration been initialized.
isInitialized() - Method in class org.apache.velocity.util.ExtProperties
Indicate to client code whether property resources have been initialized or not.
isInSet() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
isInteger(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Test, whether the given object is an integer value (Byte, Short, Integer, Long, BigInteger)
isInvalid() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
isInvalid() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
isLast() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
isLevelEnabled(int) - Method in class org.apache.velocity.example.EventExample
This always returns true because logging levels can't be disabled in this impl.
isMethodInvocationConvertible(Type, Class<?>, boolean) - Static method in class org.apache.velocity.util.introspection.IntrospectionUtils
Determines whether a type represented by a class object is convertible to another type represented by a class object using a method invocation conversion, treating object types of primitive types as if they were primitive types (that is, a Boolean actual parameter type matches boolean primitive formal type).
isPreferFileSystemAccess() - Method in class org.apache.velocity.spring.VelocityEngineFactory
Return whether to prefer file system access for template loading.
isScopeControlEnabled(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Get whether to provide a scope control object for this scope
isScopeControlEnabled(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Get whether to provide a scope control object for this scope
isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Break
Since there is no processing of content, there is never a need for an internal scope.
isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Directive
 
isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Include
Since there is no processing of content, there is never a need for an internal scope.
isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Macro
Since this class does no processing of content, there is never a need for an internal scope.
isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Stop
Since there is no processing of content, there is never a need for an internal scope.
isSingleton() - Method in class org.apache.velocity.spring.VelocityEngineFactoryBean
 
isSkipBOM() - Method in class org.apache.velocity.io.UnicodeInputStream
Returns true if the input stream discards the BOM.
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
 
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
How to keep track of all the modified times across the paths.
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
 
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Given a template, check to see if the source of InputStream has been modified.
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
isSourceModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Checks to see if a resource has been deleted, moved or modified.
isSourceModified() - Method in class org.apache.velocity.runtime.resource.Resource
 
isSourceModified(Resource) - Method in class org.apache.velocity.spring.SpringResourceLoader
 
isStrictMethodInvocationConvertible(Type, Class<?>, boolean) - Static method in class org.apache.velocity.util.introspection.IntrospectionUtils
Determines whether a type represented by a class object is convertible to another type represented by a class object using a method invocation conversion, without matching object and primitive types.
isTraceEnabled() - Method in class org.apache.velocity.example.EventExample
 
isVarArg() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
isVelocimacro(String, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
Checks to see if a VM exists
isVelocimacro(String, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
Checks to see if a VM exists
isVelocimacro(String, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Checks to see if a VM exists
isVelocimacro(String, Template) - Method in class org.apache.velocity.runtime.VelocimacroFactory
Tells the world if a given directive string is a Velocimacro
isWarnEnabled() - Method in class org.apache.velocity.example.EventExample
 
isZero(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Compare the given Number to 0.
iterator() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 

J

JarHolder - Class in org.apache.velocity.runtime.resource.loader
A small wrapper around a Jar
JarHolder(RuntimeServices, String, Logger) - Constructor for class org.apache.velocity.runtime.resource.loader.JarHolder
 
JarResourceLoader - Class in org.apache.velocity.runtime.resource.loader
ResourceLoader to load templates from multiple Jar files.
JarResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.JarResourceLoader
 
jj_nt - Variable in class org.apache.velocity.runtime.parser.StandardParser
Next token.
jjFillToken() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
jjnewLexState - Static variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Token literal values.
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTAndNode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTAssignment
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComment
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTElseStatement
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEscape
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTFalse
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIdentifier
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIncludeStatement
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMap
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMathNode
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMethod
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTNotNode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTOrNode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTParameters
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTprocess
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTText
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTTrue
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTVariable
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTWord
 
jjtAccept(ParserVisitor, Object) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
jjtAddChild(Node, int) - Method in interface org.apache.velocity.runtime.parser.node.Node
This method tells the node to add its argument to the node's list of children.
jjtAddChild(Node, int) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
JJTADDNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTANDNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTASSIGNMENT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtClose() - Method in interface org.apache.velocity.runtime.parser.node.Node
This method is called after all the child nodes have been added.
jjtClose() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
JJTCOMMENT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTDIRECTIVEASSIGN - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTDIVNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTELSEIFSTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTELSESTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTEQNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTESCAPE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTESCAPEDDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTEXPRESSION - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTFALSE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTFLOATINGPOINTLITERAL - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTGENODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtGetChild(int) - Method in interface org.apache.velocity.runtime.parser.node.Node
This method returns a child node.
jjtGetChild(int) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
jjtGetNumChildren() - Method in interface org.apache.velocity.runtime.parser.node.Node
Return the number of children the node has.
jjtGetNumChildren() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
jjtGetParent() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
jjtGetParent() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
JJTGTNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTIDENTIFIER - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTIFSTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTINDEX - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTINTEGERLITERAL - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTINTEGERRANGE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTLENODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTLTNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTMAP - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTMETHOD - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTMODNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTMULNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTNEGATENODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTNENODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtNodeName - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTNOTNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTOBJECTARRAY - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtOpen() - Method in interface org.apache.velocity.runtime.parser.node.Node
This method is called after the node has been made the current node.
jjtOpen() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
JJTORNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTParserState - Class in org.apache.velocity.runtime.parser.node
 
JJTParserState() - Constructor for class org.apache.velocity.runtime.parser.node.JJTParserState
 
JJTPROCESS - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtree - Variable in class org.apache.velocity.runtime.parser.StandardParser
 
JJTREFERENCE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTSETDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
jjtSetParent(Node) - Method in interface org.apache.velocity.runtime.parser.node.Node
This pair of methods are used to inform the node of its parent.
jjtSetParent(Node) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
JJTStandardParserState - Class in org.apache.velocity.runtime.parser.node
 
JJTStandardParserState() - Constructor for class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
JJTSTRINGLITERAL - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTSUBTRACTNODE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTTEXT - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTTEXTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTTRUE - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTVOID - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 
JJTWORD - Static variable in interface org.apache.velocity.runtime.parser.node.StandardParserTreeConstants
 

K

key - Variable in class org.apache.velocity.runtime.directive.Block
 
keysAsListed - Variable in class org.apache.velocity.util.ExtProperties
These are the keys in the order they listed in the configuration file.
kind - Variable in class org.apache.velocity.runtime.parser.Token
An integer that describes the kind of this token.

L

last - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
lastImage - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
String image variable of the last Token element that was parsed and connected to this Node.
lastIndexOf(Object) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
lastModified - Variable in class org.apache.velocity.runtime.resource.Resource
The file modification time (in milliseconds) for the cached template.
LBRACKET - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LCURLY - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LEFT_CURLEY - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LETTER - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LEXICAL_ERROR - Static variable in error org.apache.velocity.runtime.parser.TokenMgrError
Lexical error occurred.
LexicalError(boolean, int, int, int, String, char) - Static method in error org.apache.velocity.runtime.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Lexer state names.
LINE - Static variable in interface org.apache.velocity.runtime.directive.DirectiveConstants
Line directive indicator
line - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
Line number for this Node in the vm source file.
lineComment() - Method in interface org.apache.velocity.runtime.parser.Parser
 
LinkingUberspector - Class in org.apache.velocity.util.introspection
When the introspector.uberspect.class configuration property contains several uberspector class names, it means those uberspectors will be chained.
LinkingUberspector(Uberspect, Uberspect) - Constructor for class org.apache.velocity.util.introspection.LinkingUberspector
Constructor that takes the two uberspectors to link
listIterator() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
listIterator(int) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
 
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
Returns the string "#directive_name(...)".
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
 
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTIdentifier
Returns the string ".identifier".
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTMethod
Returns the string ".method_name(...)".
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTNotNode
 
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
Returns the string "#set($reference = ...)".
literal() - Method in class org.apache.velocity.runtime.parser.node.ASTText
text getter
literal() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
literal - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
For caching the literal value.
literal() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
load(InputStream) - Method in class org.apache.velocity.util.ExtProperties
Load the properties from the given input stream.
load(InputStream, String) - Method in class org.apache.velocity.util.ExtProperties
Load the properties from the given input stream and using the specified encoding.
loadDirective(String) - Method in class org.apache.velocity.app.Velocity
Instantiates and loads the directive with some basic checks.
loadDirective(String) - Method in class org.apache.velocity.app.VelocityEngine
Instantiates and loads the directive with some basic checks.
loadDirective(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
instantiates and loads the directive with some basic checks
loadDirective(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Instantiates and loads the directive with some basic checks.
loadResource(String, int, String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Loads a resource from the current set of resource loaders.
log - Variable in class org.apache.velocity.app.event.implement.EscapeReference
 
log - Variable in class org.apache.velocity.app.event.implement.IncludeNotFound
 
log(int, String) - Method in class org.apache.velocity.example.EventExample
This just prints the message and level to System.out.
log(int, String, Throwable) - Method in class org.apache.velocity.example.EventExample
This prints the level, message, and the Throwable's message to System.out.
log - Variable in class org.apache.velocity.runtime.directive.Block
 
log - Variable in class org.apache.velocity.runtime.directive.Directive
 
log - Variable in class org.apache.velocity.runtime.parser.node.AbstractExecutor
 
log - Variable in class org.apache.velocity.runtime.parser.node.SetExecutor
Class logger
log - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
log - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader
 
log - Variable in class org.apache.velocity.runtime.resource.Resource
 
log - Variable in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
log - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Logging.
log - Variable in class org.apache.velocity.util.introspection.IntrospectorBase
Class logger
log - Variable in class org.apache.velocity.util.introspection.UberspectImpl
Our runtime logger.
log - Variable in class org.apache.velocity.util.introspection.UberspectPublicFields
Our runtime logger.
LOG_LEVEL_DEBUG - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_ERROR - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_INFO - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_TRACE - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_WARN - Static variable in class org.apache.velocity.example.EventExample
 
LogContext - Class in org.apache.velocity.runtime.parser
Track location in template files during rendering by populating the slf4j MDC tags file, line and column.
LogContext(boolean) - Constructor for class org.apache.velocity.runtime.parser.LogContext
 
logger - Static variable in class org.apache.velocity.runtime.parser.LogContext
 
logger - Variable in class org.apache.velocity.spring.SpringResourceLoader
 
logger - Static variable in class org.apache.velocity.spring.VelocityEngineFactory
 
logger - Static variable in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Logger used to log the use of deprecated properties names.
LOGICAL_AND - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_EQUALS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_GE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_GT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_LE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_LT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_NOT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_NOT_EQUALS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_OR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOGICAL_OR_2 - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LONE_SYMBOL - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
LOOP_DETECTED - Static variable in error org.apache.velocity.runtime.parser.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
LPAREN - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.

M

Macro - Class in org.apache.velocity.runtime.directive
Macro implements the macro definition directive of VTL.
Macro() - Constructor for class org.apache.velocity.runtime.directive.Macro
 
Macro.MacroArg - Class in org.apache.velocity.runtime.directive
MacroArgs holds the information for a single argument in a macro definition.
MacroArg() - Constructor for class org.apache.velocity.runtime.directive.Macro.MacroArg
 
MacroOverflowException - Exception in org.apache.velocity.exception
Application-level exception thrown when macro calls within macro calls exceeds the maximum allowed depth.
MacroOverflowException(String) - Constructor for exception org.apache.velocity.exception.MacroOverflowException
 
MacroOverflowException(String, Throwable) - Constructor for exception org.apache.velocity.exception.MacroOverflowException
 
MacroOverflowException(String, Throwable, String[]) - Constructor for exception org.apache.velocity.exception.MacroOverflowException
 
MacroOverflowException(Throwable) - Constructor for exception org.apache.velocity.exception.MacroOverflowException
 
MacroOverflowException(Throwable, String[]) - Constructor for exception org.apache.velocity.exception.MacroOverflowException
 
MacroParseException - Exception in org.apache.velocity.runtime.directive
Exception to indicate problem happened while constructing #macro() For internal use in parser - not to be passed to app level
MacroParseException(String, String, Token) - Constructor for exception org.apache.velocity.runtime.directive.MacroParseException
 
macroToString(StringBuilder, List<Macro.MacroArg>, RuntimeServices) - Static method in class org.apache.velocity.runtime.directive.Macro
For debugging purposes.
main(String[]) - Static method in class org.apache.velocity.example.DBContextTest
 
main(String[]) - Static method in class org.apache.velocity.example.EventExample
 
main(String[]) - Static method in class org.apache.velocity.example.Example
 
main(String[]) - Static method in class org.apache.velocity.example.Example2
 
main(String[]) - Static method in class org.apache.velocity.example.XMLTest
 
makeScope(Object) - Method in class org.apache.velocity.runtime.directive.Directive
 
Map() - Method in class org.apache.velocity.runtime.parser.StandardParser
for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})
MapGetExecutor - Class in org.apache.velocity.runtime.parser.node
GetExecutor that is smart about Maps.
MapGetExecutor(Logger, Object, String) - Constructor for class org.apache.velocity.runtime.parser.node.MapGetExecutor
 
MapSetExecutor - Class in org.apache.velocity.runtime.parser.node
SetExecutor that is smart about Maps.
MapSetExecutor(Logger, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.MapSetExecutor
 
mark(int) - Method in class org.apache.velocity.io.UnicodeInputStream
 
markSupported() - Method in class org.apache.velocity.io.UnicodeInputStream
 
MathException - Exception in org.apache.velocity.exception
Separate exception class to distinguish math problems.
MathException(String) - Constructor for exception org.apache.velocity.exception.MathException
 
MathException(String, String[]) - Constructor for exception org.apache.velocity.exception.MathException
 
MathUtils - Class in org.apache.velocity.runtime.parser.node
Utility-class for all arithmetic-operations.

All operations (+ - / *) return a Number which type is the type of the bigger argument.
Example:
add ( new Integer(10), new Integer(1)) will return an Integer-Object with the value 11
add ( new Long(10), new Integer(1)) will return an Long-Object with the value 11
add ( new Integer(10), new Float(1)) will return an Float-Object with the value 11

Overflow checking:
For integral values (byte, short, int) there is an implicit overflow correction (the next "bigger" type will be returned).
MathUtils() - Constructor for class org.apache.velocity.runtime.parser.node.MathUtils
 
MAX_NUMBER_LOOPS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Maximum allowed number of loops.
maxDepth - Variable in class org.apache.velocity.runtime.directive.Block
 
MDC_COLUMN - Static variable in class org.apache.velocity.runtime.parser.LogContext
 
MDC_FILE - Static variable in class org.apache.velocity.runtime.parser.LogContext
 
MDC_LINE - Static variable in class org.apache.velocity.runtime.parser.LogContext
 
merge(Context, Writer) - Method in class org.apache.velocity.Template
The AST node structure is merged with the context to produce the final output.
merge(Context, Writer, List<String>) - Method in class org.apache.velocity.Template
The AST node structure is merged with the context to produce the final output.
mergeTemplate(String, String, Context, Writer) - Static method in class org.apache.velocity.app.Velocity
Merges a template and puts the rendered stream into the writer
mergeTemplate(String, String, Context, Writer) - Method in class org.apache.velocity.app.VelocityEngine
merges a template and puts the rendered stream into the writer
mergeTemplate(VelocityEngine, String, Map<String, Object>, Writer) - Static method in class org.apache.velocity.spring.VelocityEngineUtils
Deprecated.
Use VelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer) instead, following Velocity 1.6's corresponding deprecation in its own API.
mergeTemplate(VelocityEngine, String, String, Map<String, Object>, Writer) - Static method in class org.apache.velocity.spring.VelocityEngineUtils
Merge the specified Velocity template with the given model and write the result to the given Writer.
mergeTemplateIntoString(VelocityEngine, String, Map<String, Object>) - Static method in class org.apache.velocity.spring.VelocityEngineUtils
Deprecated.
Use VelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map) instead, following Velocity 1.6's corresponding deprecation in its own API.
mergeTemplateIntoString(VelocityEngine, String, String, Map<String, Object>) - Static method in class org.apache.velocity.spring.VelocityEngineUtils
Merge the specified Velocity template with the given model into a String.
Method() - Method in class org.apache.velocity.runtime.parser.StandardParser
This method has yet to be fully implemented but will allow arbitrarily nested method calls
MethodCacheKey(String, Class<?>[], boolean) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
 
methodException(Context, Class<?>, String, Exception, Info) - Method in class org.apache.velocity.app.event.EventCartridge
Call method exception event handler
methodException(RuntimeServices, InternalContextAdapter, Class<?>, String, Exception, Info) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when a method exception is generated during Velocity merge.
methodException(Context, Class<?>, String, Exception, Info) - Method in class org.apache.velocity.app.event.implement.PrintExceptions
Render the method exception, and optionally the exception message and stack trace.
methodException(Context, Class<?>, String, Exception, Info) - Method in interface org.apache.velocity.app.event.MethodExceptionEventHandler
Called when a method throws an exception.
methodException(Context, Class, String, Exception, Info) - Method in class org.apache.velocity.example.EventExample
 
MethodExceptionEventHandler - Interface in org.apache.velocity.app.event
Event handler called when a method throws an exception.
MethodInvocationException - Exception in org.apache.velocity.exception
Application-level exception thrown when a reference method is invoked and an exception is thrown.
MethodInvocationException(String, Throwable, String, String, int, int) - Constructor for exception org.apache.velocity.exception.MethodInvocationException
CTOR - wraps the passed in exception for examination later
MethodInvocationException(String, Throwable, String[], String, String, int, int) - Constructor for exception org.apache.velocity.exception.MethodInvocationException
CTOR - wraps the passed in exception for examination later
MethodMap - Class in org.apache.velocity.util.introspection
 
MethodMap() - Constructor for class org.apache.velocity.util.introspection.MethodMap
Default constructor
MethodMap(TypeConversionHandler) - Constructor for class org.apache.velocity.util.introspection.MethodMap
Constructor with provided conversion handler
MethodMap.AmbiguousException - Exception in org.apache.velocity.util.introspection
Simple distinguishable exception, used when we run across ambiguous overloading.
MILLIS_PER_SECOND - Static variable in class org.apache.velocity.runtime.resource.Resource
The number of milliseconds in a minute, used to calculate the check interval.
MINUS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
modificationCheckInterval - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader
This property will be passed on to the templates that are created with this loader.
modificationCheckInterval - Variable in class org.apache.velocity.runtime.resource.Resource
How often the file modification time is checked (in seconds).
modulo(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Modulo two numbers.
MODULUS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
MULTI_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
MultiplicativeExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
multiply(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Multiply two numbers and return the correct value / type.
MULTIPLY - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.

N

name - Variable in class org.apache.velocity.runtime.directive.Macro.MacroArg
Name of the argument with '$' stripped off
name - Variable in class org.apache.velocity.runtime.resource.Resource
Name of the resource
NAME - Static variable in class org.apache.velocity.spring.SpringResourceLoader
 
negate(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Negate a number
NEWLINE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
newToken(int, String) - Static method in class org.apache.velocity.runtime.parser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.apache.velocity.runtime.parser.Token
 
newVelocityEngine() - Method in class org.apache.velocity.spring.VelocityEngineFactory
Return a new VelocityEngine.
next() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
next - Variable in class org.apache.velocity.runtime.parser.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class org.apache.velocity.util.ArrayIterator
Move to next element in the array.
next() - Method in class org.apache.velocity.util.EnumerationIterator
Move to next element in the array.
nextCheck - Variable in class org.apache.velocity.runtime.resource.Resource
The next time the file modification time will be checked (in milliseconds).
nextIndex() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
NO_BUFFER - Static variable in class org.apache.velocity.io.VelocityWriter
constant indicating that the Writer is not buffering output
NO_METHOD - Static variable in class org.apache.velocity.util.DuckType
 
Node - Interface in org.apache.velocity.runtime.parser.node
This file describes the interface between the Velocity code and the JavaCC generated code.
nodeArity() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
nodeCreated() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
NodeUtils - Class in org.apache.velocity.runtime.parser.node
Utilities for dealing with the AST node structure.
NodeUtils() - Constructor for class org.apache.velocity.runtime.parser.node.NodeUtils
 
NodeViewMode - Class in org.apache.velocity.runtime.visitor
This class is simply a visitor implementation that traverses the AST, produced by the Velocity parsing process, and creates a visual structure of the AST.
NodeViewMode() - Constructor for class org.apache.velocity.runtime.visitor.NodeViewMode
 
NUMBER_OF_PARSERS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The default number of parser instances to create.
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
performs the actual comparison
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
 
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTGENode
 
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTGTNode
 
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTLENode
 
numberTest(int) - Method in class org.apache.velocity.runtime.parser.node.ASTLTNode
 

O

ObjectArray() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
OLD_ALPHA_CHAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
OLD_CHECK_EMPTY_OBJECTS - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_CONTEXT_AUTOREFERENCE_KEY - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_CONVERSION_HANDLER_CLASS - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_CUSTOM_DIRECTIVES - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_DEFINE_DIRECTIVE_MAXDEPTH - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_DS_RESOURCE_LOADER_DATASOURCE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_DS_RESOURCE_LOADER_KEY_COLUMN - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_DS_RESOURCE_LOADER_TEMPLATE_COLUMN - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_DS_RESOURCE_LOADER_TIMESTAMP_COLUMN - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_ERRORMSG_END - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_ERRORMSG_START - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_EVENTHANDLER_INCLUDE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_EVENTHANDLER_INVALIDREFERENCE_EXCEPTION - Static variable in class org.apache.velocity.app.event.implement.ReportInvalidReferences
Deprecated.
OLD_EVENTHANDLER_INVALIDREFERENCES - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_EVENTHANDLER_METHODEXCEPTION - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_EVENTHANDLER_REFERENCEINSERTION - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_FILE_RESOURCE_LOADER_CACHE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_FILE_RESOURCE_LOADER_PATH - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_IDENTIFIER - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
OLD_IDENTIFIER_CHAR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
OLD_INPUT_ENCODING - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_INTERPOLATE_STRINGLITERALS - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_MAX_NUMBER_LOOPS - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_PARSE_DIRECTIVE_MAXDEPTH - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_REFMODIFIER - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
OLD_RESOURCE_LOADER_CHECK_INTERVAL - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
Deprecated.
Resource loader modification check interval property suffix
OLD_RESOURCE_LOADERS - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_RESOURCE_MANAGER_DEFAULTCACHE_SIZE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_RESOURCE_MANAGER_LOGWHENFOUND - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_RUNTIME_LOG_REFERENCE_LOG_INVALID - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_RUNTIME_REFERENCES_STRICT - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_RUNTIME_REFERENCES_STRICT_ESCAPE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_SKIP_INVALID_ITERATOR - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_SPACE_GOBBLING - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_STRICT_MATH - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_UBERSPECT_CLASSNAME - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_BODY_REFERENCE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_ENABLE_BC_MODE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
Deprecated.
When displaying null or invalid non-quiet references, use the argument literal reference instead of the one in the macro block.
OLD_VM_LIBRARY - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_LIBRARY_DEFAULT - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_MAX_DEPTH - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_PERM_ALLOW_INLINE - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
OLD_VM_PERM_INLINE_LOCAL - Static variable in interface org.apache.velocity.runtime.DeprecatedRuntimeConstants
openNodeScope(Node) - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
org.apache.velocity - package org.apache.velocity
 
org.apache.velocity.app - package org.apache.velocity.app
 
org.apache.velocity.app.event - package org.apache.velocity.app.event
 
org.apache.velocity.app.event.implement - package org.apache.velocity.app.event.implement
 
org.apache.velocity.context - package org.apache.velocity.context
 
org.apache.velocity.example - package org.apache.velocity.example
 
org.apache.velocity.exception - package org.apache.velocity.exception
 
org.apache.velocity.io - package org.apache.velocity.io
 
org.apache.velocity.runtime - package org.apache.velocity.runtime
 
org.apache.velocity.runtime.directive - package org.apache.velocity.runtime.directive
 
org.apache.velocity.runtime.directive.contrib - package org.apache.velocity.runtime.directive.contrib
 
org.apache.velocity.runtime.parser - package org.apache.velocity.runtime.parser
 
org.apache.velocity.runtime.parser.node - package org.apache.velocity.runtime.parser.node
 
org.apache.velocity.runtime.resource - package org.apache.velocity.runtime.resource
 
org.apache.velocity.runtime.resource.loader - package org.apache.velocity.runtime.resource.loader
 
org.apache.velocity.runtime.resource.util - package org.apache.velocity.runtime.resource.util
 
org.apache.velocity.runtime.visitor - package org.apache.velocity.runtime.visitor
 
org.apache.velocity.script - package org.apache.velocity.script
 
org.apache.velocity.spring - package org.apache.velocity.spring
 
org.apache.velocity.util - package org.apache.velocity.util
 
org.apache.velocity.util.introspection - package org.apache.velocity.util.introspection
 
owner - Variable in class org.apache.velocity.runtime.directive.Scope
 

P

Parameter() - Method in class org.apache.velocity.runtime.parser.StandardParser
This method has yet to be fully implemented but will allow arbitrarily nested method calls
parent - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
parentIndentation - Variable in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
Parse - Class in org.apache.velocity.runtime.directive
Pluggable directive that handles the #parse() statement in VTL.
Parse() - Constructor for class org.apache.velocity.runtime.directive.Parse
 
parse(Reader, Template) - Method in interface org.apache.velocity.runtime.parser.Parser
 
parse(Reader, Template) - Method in class org.apache.velocity.runtime.parser.StandardParser
This was also added to allow parsers to be re-usable.
parse(Reader, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
Parse the input and return the root of AST node structure.
parse(Reader, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
Parse the input and return the root of AST node structure.
parse(Reader, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Parse the input and return the root of AST node structure.
PARSE_DIRECTIVE_MAXDEPTH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Maximum recursion depth allowed for the #parse directive.
ParseErrorException - Exception in org.apache.velocity.exception
Application-level exception thrown when a resource of any type has a syntax or other error which prevents it from being parsed.
ParseErrorException(String) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorException with the given message.
ParseErrorException(ParseException, String) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorException with the given ParseException.
ParseErrorException(VelocityException, String) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorException with the given ParseException.
ParseErrorException(String, Info) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorRuntimeException with the given message and info
ParseErrorException(String, Info, String[]) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorRuntimeException with the given message and info
ParseErrorException(String, Info, String) - Constructor for exception org.apache.velocity.exception.ParseErrorException
Create a ParseErrorRuntimeException with the given message and info
ParseException - Exception in org.apache.velocity.runtime.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.apache.velocity.runtime.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.apache.velocity.runtime.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.apache.velocity.runtime.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
parser - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
Parser - Interface in org.apache.velocity.runtime.parser
 
parser - Variable in class org.apache.velocity.runtime.parser.StandardParserTokenManager
The parser.
PARSER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Property specifying the parser class to use
PARSER_HYPHEN_ALLOWED - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Allow hyphen in identifiers (backward compatibility option)
PARSER_POOL_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The parser.pool.class property specifies the name of the SimplePool implementation to use.
PARSER_POOL_SIZE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
 
ParserConfiguration - Class in org.apache.velocity.runtime
Class gathering configured replacement characters for a specific parser class.
ParserConfiguration() - Constructor for class org.apache.velocity.runtime.ParserConfiguration
 
ParserPool - Interface in org.apache.velocity.runtime
Provides instances of parsers as needed.
ParserPoolImpl - Class in org.apache.velocity.runtime
This wraps the original parser SimplePool class.
ParserPoolImpl() - Constructor for class org.apache.velocity.runtime.ParserPoolImpl
 
ParserTreeConstants - Interface in org.apache.velocity.runtime.parser.node
 
ParserVisitor - Interface in org.apache.velocity.runtime.parser.node
Interface used in implementation of visitor pattern.
peekNode() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTAddNode
 
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTDivNode
 
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMathNode
Performs the math operation represented by this node.
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTModNode
 
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMulNode
 
perform(Number, Number, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTSubtractNode
 
PIPE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
PLUS - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
popCurrentMacroName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
popCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
popCurrentTemplateName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
popCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
popLogContext() - Method in class org.apache.velocity.runtime.parser.LogContext
 
popNode() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
postProcessVelocityEngine(VelocityEngine) - Method in class org.apache.velocity.spring.VelocityEngineFactory
To be implemented by subclasses that want to perform custom post-processing of the VelocityEngine after this FactoryBean performed its default configuration (but before VelocityEngine.init).
postRender(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.Directive
This cleans up any scope control for this directive after rendering, assuming the scope control was turned on.
PRE_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
PRE_OLD_REFERENCE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
PRE_REFERENCE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
prepareStatement(Connection, String, String, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Creates the following PreparedStatement query :
SELECT columnNames FROM tableName WHERE keyColumn = 'templateName'
where keyColumn is a class member set in init()
preRender(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.Directive
This creates and places the scope control for this directive into the context (if scope provision is turned on).
previous() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
previousIndex() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
PrimaryExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
printClass(Class<?>) - Static method in class org.apache.velocity.runtime.parser.node.ASTReference
Utility class to handle nulls when printing a class type
PrintExceptions - Class in org.apache.velocity.app.event.implement
Simple event handler that renders method exceptions in the page rather than throwing the exception.
PrintExceptions() - Constructor for class org.apache.velocity.app.event.implement.PrintExceptions
 
process(InternalContextAdapter, ParserVisitor) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
process() - Method in class org.apache.velocity.runtime.parser.StandardParser
This method is what starts the whole parsing process.
process() - Method in class org.apache.velocity.runtime.resource.ContentResource
Pull in static content and store it.
process() - Method in class org.apache.velocity.runtime.resource.Resource
Perform any subsequent processing that might need to be done by a resource.
process() - Method in class org.apache.velocity.Template
gets the named resource as a stream, parses and inits
PropertyExecutor - Class in org.apache.velocity.runtime.parser.node
Returned the value of object property when executed.
PropertyExecutor(Logger, Introspector, Class<?>, String) - Constructor for class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
PropertyExecutor(Logger, Introspector, Class<?>, String, boolean) - Constructor for class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
PROVIDE_SCOPE_CONTROL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
use context.scope_control.<scope_name> = true/false
PublicFieldExecutor - Class in org.apache.velocity.runtime.parser.node
Returns the value of a public field when executed.
PublicFieldExecutor(Logger, Introspector, Class<?>, String) - Constructor for class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
pushCurrentMacroName(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
pushCurrentMacroName(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
pushCurrentTemplateName(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
pushCurrentTemplateName(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
pushLogContext(SimpleNode, Info) - Method in class org.apache.velocity.runtime.parser.LogContext
 
pushNode(Node) - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
put(String, Object) - Method in class org.apache.velocity.context.AbstractContext
Adds a name/value pair to the context.
put(String, Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
Put method also stores values in parent context
put(String, Object) - Method in interface org.apache.velocity.context.Context
Adds a name/value pair to the context.
put(String, Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
put(String, Object) - Method in interface org.apache.velocity.context.InternalWrapperContext
Place a key value pair into the context.
put(InternalContextAdapter, String, Object) - Method in class org.apache.velocity.runtime.directive.Foreach
Extension hook to allow subclasses to control whether loop vars are set locally or not.
put(Object, Object) - Method in class org.apache.velocity.runtime.directive.Scope
setter
put(Parser) - Method in interface org.apache.velocity.runtime.ParserPool
Return the parser to the pool so that it may be reused.
put(Parser) - Method in class org.apache.velocity.runtime.ParserPoolImpl
Call the wrapped pool.
put(Object, Resource) - Method in interface org.apache.velocity.runtime.resource.ResourceCache
stores a Resource in the cache
put(Object, Resource) - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
put(String, Object) - Method in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Property setter which checks deprecated property keys
put(Class<?>) - Method in class org.apache.velocity.util.introspection.IntrospectorCache
Creates a class map for specific class and registers it in the cache.
put(Object) - Method in class org.apache.velocity.util.SimplePool
Add the object to the pool, silent nothing if the pool is full
PutExecutor - Class in org.apache.velocity.runtime.parser.node
Executor that simply tries to execute a put(key, value) operation.
PutExecutor(Logger, Introspector, Class<?>, Object, String) - Constructor for class org.apache.velocity.runtime.parser.node.PutExecutor
 
putStringResource(String, String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
add a string resource with given key.
putStringResource(String, String, String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
add a string resource with given key.
putStringResource(String, String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
putStringResource(String, String, String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 

R

RangeIterator() - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
RangeIterator(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
RBRACKET - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
RCURLY - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
read() - Method in class org.apache.velocity.io.UnicodeInputStream
 
read(byte[]) - Method in class org.apache.velocity.io.UnicodeInputStream
 
read(byte[], int, int) - Method in class org.apache.velocity.io.UnicodeInputStream
 
readChar() - Method in interface org.apache.velocity.runtime.parser.CharStream
Returns the next character from the selected input.
readChar() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
readEncoding() - Method in class org.apache.velocity.io.UnicodeInputStream
This method gets the encoding from the stream contents if a BOM exists.
recycle(Writer) - Method in class org.apache.velocity.io.VelocityWriter
resets this class so that it can be reused
Reference(InternalContextAdapter, Block) - Constructor for class org.apache.velocity.runtime.directive.Block.Reference
 
Reference() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
REFERENCE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
REFERENCE_TERMINATOR - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
referenceInsert(InternalContextAdapter, String, Object) - Method in class org.apache.velocity.app.event.EventCartridge
Call reference insertion handlers
referenceInsert(RuntimeServices, InternalContextAdapter, String, Object) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called before a reference is inserted.
referenceInsert(Context, String, Object) - Method in class org.apache.velocity.app.event.implement.EscapeReference
Escape the provided text if it matches the configured regular expression.
referenceInsert(Context, String, Object) - Method in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
A call-back which is executed during Velocity merge before a reference value is inserted into the output stream.
referenceInsert(Context, String, Object) - Method in class org.apache.velocity.example.EventExample
Event handler for when a reference is inserted into the output stream.
ReferenceInsertionEventHandler - Interface in org.apache.velocity.app.event
Reference 'Stream insertion' event handler.
REFINDEX - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
REFMOD - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
REFMOD2 - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
REFMOD2_RPAREN - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
REFMOD3 - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
REFMODIFIER - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Lexical state.
refreshResource(Resource, String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Takes an existing resource, and 'refreshes' it.
ReInit(CharStream) - Method in interface org.apache.velocity.runtime.parser.Parser
 
ReInit(CharStream) - Method in class org.apache.velocity.runtime.parser.StandardParser
Reinitialise.
ReInit(StandardParserTokenManager) - Method in class org.apache.velocity.runtime.parser.StandardParser
Reinitialise.
ReInit(CharStream) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Reinitialise parser.
ReInit(CharStream, int) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
ReInit(Reader, int, int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
ReInit(InputStream, int, int, int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
ReInit(InputStream, int, int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
 
RelationalExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
remove(String) - Method in class org.apache.velocity.context.AbstractContext
Removes the value associated with the specified key from the context.
remove(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
remove(String) - Method in interface org.apache.velocity.context.Context
Removes the value associated with the specified key from the context.
remove(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
remove() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
remove(Object) - Method in interface org.apache.velocity.runtime.resource.ResourceCache
removes a Resource from the cache
remove(Object) - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
remove() - Method in class org.apache.velocity.util.ArrayIterator
No op--merely added to satisfy the Iterator interface.
remove() - Method in class org.apache.velocity.util.EnumerationIterator
Unimplemented.
removeDirective(String) - Method in class org.apache.velocity.app.Velocity
Remove a directive.
removeDirective(String) - Method in class org.apache.velocity.app.VelocityEngine
Remove a directive.
removeDirective(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Remove a directive.
removeDirective(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Remove a directive.
removeEventHandler(EventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Removes an event handler(s) from the Cartridge.
removeRepository(String) - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Removes the StringResourceRepository stored under the specified name.
removeStringResource(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
delete a string resource with given key.
removeStringResource(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.directive.Block.Reference
Render the AST of this block into the writer using the context.
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.directive.Block
renders block directive
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.BlockMacro
Renders content using the selected macro and the passed AST body.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Break
This directive throws a StopCommand which signals either the nearest Scope or the specified scope to stop rendering its content.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
 
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Define
directive.render() simply makes an instance of the Block inner class and places it into the context as indicated.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Directive
How this directive is to be rendered
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Evaluate
Evaluate the argument, convert to a String, and evaluate again (with the same context).
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
renders the #foreach() block
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Include
iterates through the argument list and renders every argument that is appropriate.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Macro
render() doesn't do anything in the final output rendering.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Parse
iterates through the argument list and renders every argument that is appropriate.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Velocimacro implementation is not known at the init time.
render(InternalContextAdapter, Writer, Node, Renderable) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
This method is used with BlockMacro when we want to render a macro with a body AST.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Stop
 
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Render the macro AST node
render(InternalContextAdapter, Writer, Node, Renderable) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
Renders the macro using the context.
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTComment
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTEscape
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
gets the value of the reference and outputs it to the writer.
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
puts the value of the RHS into the context under the key of the LHS
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTText
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
render(InternalContextAdapter, Writer) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
render(InternalContextAdapter, Writer) - Method in interface org.apache.velocity.runtime.Renderable
 
render(Context, Writer, String, SimpleNode) - Method in class org.apache.velocity.runtime.RuntimeInstance
Initializes and renders the AST SimpleNode using the context into the output writer.
Renderable - Interface in org.apache.velocity.runtime
This interface characterize objects other than ASTNodes that can be rendered to a writer using a context.
renderBlock(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
 
renderBlock(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
 
ReportInvalidReferences - Class in org.apache.velocity.app.event.implement
Use this event handler to flag invalid references.
ReportInvalidReferences() - Constructor for class org.apache.velocity.app.event.implement.ReportInvalidReferences
 
repository - Variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
the repository used internally by this resource loader
REPOSITORY_CLASS - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Key to look up the repository implementation class.
REPOSITORY_CLASS_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
The default implementation class.
REPOSITORY_ENCODING - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Key to look up the repository char encoding.
REPOSITORY_NAME - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Key to look up the name for the repository to be used.
REPOSITORY_NAME_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
The default name for string resource repositories ('org.apache.velocity.runtime.resource.util.StringResourceRepository').
REPOSITORY_STATIC - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Key to determine whether the repository should be set as the static one or not.
REPOSITORY_STATIC_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
By default, repositories are stored statically (shared across the VM).
requiresChecking() - Method in class org.apache.velocity.runtime.resource.Resource
Is it time to check to see if the resource source has been updated?
reset() - Static method in class org.apache.velocity.app.Velocity
Resets the instance, so Velocity can be re-initialized again.
reset() - Method in class org.apache.velocity.app.VelocityEngine
Resets the instance, so Velocity can be re-initialized again.
reset() - Method in class org.apache.velocity.io.UnicodeInputStream
 
reset() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
reset() - Method in class org.apache.velocity.runtime.RuntimeInstance
Resets the instance, so Velocity can be re-initialized again.
reset() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Resets the instance, so Velocity can be re-initialized again.
resetCurrentTemplate() - Method in interface org.apache.velocity.runtime.parser.Parser
 
resetCurrentTemplate() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
Resource - Class in org.apache.velocity.runtime.resource
This class represent a general text resource that may have been retrieved from any number of possible sources.
Resource() - Constructor for class org.apache.velocity.runtime.resource.Resource
Default constructor
RESOURCE_CONTENT - Static variable in interface org.apache.velocity.runtime.resource.ResourceManager
A static content resource.
RESOURCE_CONTENT - Static variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
A static content resource.
RESOURCE_LOADER - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Key prefix for a specific resource loader properties
RESOURCE_LOADER_CACHE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Resource loader cache property suffix
RESOURCE_LOADER_CHECK_INTERVAL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Resource loader modification check interval property suffix
RESOURCE_LOADER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Resource loader class property suffix
RESOURCE_LOADER_IDENTIFIER - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
token used to identify the loader internally.
RESOURCE_LOADER_INSTANCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Resource loader instance property suffix
RESOURCE_LOADER_PATHS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
File resource loader paths property suffix
RESOURCE_LOADERS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Key used to retrieve the names of the resource loaders to be used.
RESOURCE_MANAGER_CACHE_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The resource.manager.cache.class property specifies the name of the ResourceCache implementation to use.
RESOURCE_MANAGER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The resource.manager.class property specifies the name of the ResourceManager implementation to use.
RESOURCE_MANAGER_DEFAULTCACHE_SIZE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The resource.manager.cache.size property specifies the cache upper bound (if relevant).
RESOURCE_MANAGER_INSTANCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The resource.manager.instance property specifies an existing instance of a ResourceManager implementation to use
RESOURCE_MANAGER_LOGWHENFOUND - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
controls if the finding of a resource is logged.
RESOURCE_TEMPLATE - Static variable in interface org.apache.velocity.runtime.resource.ResourceManager
A template resources.
RESOURCE_TEMPLATE - Static variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
A template resources.
ResourceCache - Interface in org.apache.velocity.runtime.resource
Interface that defines the shape of a pluggable resource cache for the included ResourceManager
ResourceCacheImpl - Class in org.apache.velocity.runtime.resource
Default implementation of the resource cache for the default ResourceManager.
ResourceCacheImpl() - Constructor for class org.apache.velocity.runtime.resource.ResourceCacheImpl
 
resourceExists(String) - Static method in class org.apache.velocity.app.Velocity
Determines whether a resource is accessible via the currently configured resource loaders.
resourceExists(String) - Method in class org.apache.velocity.app.VelocityEngine
Determines if a resource is accessible via the currently configured resource loaders.
resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
Overrides superclass for better performance.
resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Check whether any given resource exists.
resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Overrides superclass for better performance.
ResourceFactory - Class in org.apache.velocity.runtime.resource
Class responsible for instantiating Resource objects, given name and type.
ResourceFactory() - Constructor for class org.apache.velocity.runtime.resource.ResourceFactory
 
ResourceLoader - Class in org.apache.velocity.runtime.resource.loader
This is abstract class the all text resource loaders should extend.
ResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.ResourceLoader
 
resourceLoader - Variable in class org.apache.velocity.runtime.resource.Resource
The template loader that initially loaded the input stream for this template, and knows how to check the source of the input stream for modification.
ResourceLoaderFactory - Class in org.apache.velocity.runtime.resource.loader
Factory to grab a template loader.
ResourceLoaderFactory() - Constructor for class org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory
 
resourceLoaders - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
The List of templateLoaders that the Runtime will use to locate the InputStream source of a template.
ResourceManager - Interface in org.apache.velocity.runtime.resource
Class to manage the text resource for the Velocity Runtime.
ResourceManagerImpl - Class in org.apache.velocity.runtime.resource
Class to manage the text resource for the Velocity Runtime.
ResourceManagerImpl() - Constructor for class org.apache.velocity.runtime.resource.ResourceManagerImpl
 
ResourceNotFoundException - Exception in org.apache.velocity.exception
Application-level exception thrown when a resource of any type isn't found by the Velocity engine.
ResourceNotFoundException(String) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
 
ResourceNotFoundException(String, Throwable) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
 
ResourceNotFoundException(String, Throwable, String[]) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
 
ResourceNotFoundException(Throwable) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
 
ResourceNotFoundException(Throwable, String[]) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
 
resources - Variable in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
mem store
RIGHT_CURLEY - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
rootNode() - Method in class org.apache.velocity.runtime.parser.node.JJTStandardParserState
 
RPAREN - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
rsvc - Variable in class org.apache.velocity.app.event.EventCartridge
 
rsvc - Variable in class org.apache.velocity.runtime.directive.Directive
 
rsvc - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
rsvc - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader
 
rsvc - Variable in class org.apache.velocity.runtime.resource.Resource
 
rsvc - Variable in class org.apache.velocity.runtime.resource.ResourceCacheImpl
Runtime services, generally initialized by the initialize() method.
rsvc - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
The internal RuntimeServices object.
rsvc - Variable in class org.apache.velocity.util.introspection.UberspectImpl
runtime services
RUNTIME_LOG_INSTANCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
externally provided logger.
RUNTIME_LOG_METHOD_CALL_LOG_INVALID - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Logging of invalid method calls.
RUNTIME_LOG_NAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
externally provided logger name.
RUNTIME_LOG_REFERENCE_LOG_INVALID - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Logging of invalid references.
RUNTIME_LOG_TRACK_LOCATION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Whether to:
RUNTIME_REFERENCES_STRICT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Properties referenced in the template are required to exist the object
RUNTIME_REFERENCES_STRICT_ESCAPE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Indicates we are going to use modified escape behavior in strict mode
RUNTIME_STRING_INTERNING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Whether to use string interning.
RuntimeConstants - Interface in org.apache.velocity.runtime
This class defines the keys that are used in the velocity.properties file so that they can be referenced as a constant within Java code.
RuntimeConstants.SpaceGobbling - Enum in org.apache.velocity.runtime
Space gobbling modes
RuntimeInstance - Class in org.apache.velocity.runtime
This is the Runtime system for Velocity.
RuntimeInstance() - Constructor for class org.apache.velocity.runtime.RuntimeInstance
Creates a new RuntimeInstance object.
RuntimeMacro - Class in org.apache.velocity.runtime.directive
This class acts as a proxy for potential macros.
RuntimeMacro() - Constructor for class org.apache.velocity.runtime.directive.RuntimeMacro
 
RuntimeServices - Interface in org.apache.velocity.runtime
Interface for internal runtime services that are needed by the various components w/in Velocity.
RuntimeServicesAware - Interface in org.apache.velocity.util
Use this interface to automatically have the method setRuntimeServices called at initialization.
RuntimeSingleton - Class in org.apache.velocity.runtime
This is the Runtime system for Velocity.
RuntimeSingleton() - Constructor for class org.apache.velocity.runtime.RuntimeSingleton
 

S

sameEncoding(String, String) - Static method in class org.apache.velocity.io.UnicodeInputStream
Helper function to compare encodings
save(OutputStream, String) - Method in class org.apache.velocity.util.ExtProperties
Save the properties to the given output stream.
saveTokenImages() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Call before calling cleanupParserAndTokens() if you want to store image of the first and last token of this node.
Scope - Class in org.apache.velocity.runtime.directive
This handles context scoping and metadata for directives.
Scope(Object, Object) - Constructor for class org.apache.velocity.runtime.directive.Scope
 
Scope.Info - Class in org.apache.velocity.runtime.directive
Class to encapsulate and provide access to info about the current scope for debugging.
SecureIntrospectorControl - Interface in org.apache.velocity.util.introspection
Interface used to determine which methods are allowed to be executed.
SecureIntrospectorImpl - Class in org.apache.velocity.util.introspection
Prevent "dangerous" classloader/reflection related calls.
SecureIntrospectorImpl(String[], String[], Logger) - Constructor for class org.apache.velocity.util.introspection.SecureIntrospectorImpl
 
SecureUberspector - Class in org.apache.velocity.util.introspection
Use a custom introspector that prevents classloader related method calls.
SecureUberspector() - Constructor for class org.apache.velocity.util.introspection.SecureUberspector
 
set(Object, Object) - Method in class org.apache.velocity.runtime.directive.Scope
Convenience method to call put(key,val) in a template without worrying about what is returned/rendered by the call.
set(Integer) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
 
set(int, Object) - Method in class org.apache.velocity.util.ArrayListWrapper
 
SET_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
setApplicationAttribute(Object, Object) - Static method in class org.apache.velocity.app.Velocity
Set the an ApplicationAttribue, which is an Object set by the application which is accessible from any component of the system that gets a RuntimeServices.
setApplicationAttribute(Object, Object) - Method in class org.apache.velocity.app.VelocityEngine
Sets an application attribute (which can be any Object) that will be accessible from any component of the system that gets a RuntimeServices.
setApplicationAttribute(Object, Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Sets the application attribute for the given key
setApplicationAttribute(Object, Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
Set the specified application attribute.
setBody(String) - Method in class org.apache.velocity.runtime.resource.util.StringResource
Sets a new value for the template body.
setCachingOn(boolean) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Set the caching state.
setConfigLocation(Resource) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set the location of the Velocity config file.
setConfiguration(ExtProperties) - Method in class org.apache.velocity.runtime.RuntimeInstance
Allow an external system to set an ExtProperties object to use.
setConfiguration(ExtProperties) - Method in interface org.apache.velocity.runtime.RuntimeServices
Allow an external system to set an ExtProperties object to use.
setConfiguration(ExtProperties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Directly set the ExtProperties configuration object
setContext(Context) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
 
setContext(InternalContextAdapter) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
setContext(Context) - Method in interface org.apache.velocity.util.ContextAware
Initialize the EventHandler.
setCtext(String) - Method in class org.apache.velocity.runtime.parser.node.ASTText
text setter
setCurrentResource(Resource) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
setCurrentResource(Resource) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
setData(Object) - Method in class org.apache.velocity.runtime.resource.Resource
Set arbitrary data object that might be used by the resource.
setDataSource(DataSource) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Set the DataSource used by this resource loader.
setDebugStream(PrintStream) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Set debug output.
SetDirective(boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
Currently support both types of set : #set( expr ) #set expr
setDirectiveName(String) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
Sets the directive name.
setEncoding(String) - Method in class org.apache.velocity.runtime.resource.Resource
set the encoding of this resource for example, "ISO-8859-1"
setEncoding(String) - Method in class org.apache.velocity.runtime.resource.util.StringResource
Sets the encoding of this string resource.
setEncoding(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
Sets the default encoding of the repository.
setEncoding(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
SetExecutor - Class in org.apache.velocity.runtime.parser.node
Abstract class that is used to execute an arbitrary method that is in introspected.
SetExecutor() - Constructor for class org.apache.velocity.runtime.parser.node.SetExecutor
 
setField(Field) - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
 
setField(Field) - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
setFirstToken(Token) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
setInclude(String) - Method in class org.apache.velocity.util.ExtProperties
Sets the property value for including other properties files.
setInfo(int) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
setInfo(int) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
setInlineReplacesGlobal(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
 
setInSet(boolean) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
 
setInvalid() - Method in interface org.apache.velocity.runtime.parser.node.Node
Mark the node as invalid.
setInvalid() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
setLastModified(long) - Method in class org.apache.velocity.runtime.resource.Resource
Set the last modified time for this resource.
setLastModified(long) - Method in class org.apache.velocity.runtime.resource.util.StringResource
Changes the last modified parameter.
setLocation(int, int) - Method in class org.apache.velocity.runtime.directive.Directive
Allows the template location to be set.
setLocation(int, int, Template) - Method in class org.apache.velocity.runtime.directive.Directive
Allows the template location to be set.
setLog(Logger) - Method in class org.apache.velocity.util.introspection.UberspectImpl
Deprecated.
logger is now set by default to the namespace logger "velocity.rendering".
setMacroArgs(List<Macro.MacroArg>) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
sets the array of arguments specified in the macro definition
setMacroLibraries(List<Template>) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
setMacroLibraries(List<Template>) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
setMethod(Method) - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
 
setMethod(Method) - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
 
setModificationCheckInterval(long) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Set the interval at which the InputStream source should be checked for modifications.
setModificationCheckInterval(long) - Method in class org.apache.velocity.runtime.resource.Resource
Set the modification check interval.
setMorePostfix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
 
setName(String) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
sets the directive name of this VM
setName(String) - Method in class org.apache.velocity.runtime.resource.Resource
Set the name of this resource, for example test.vm.
setNamespaceUsage(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
public switch to let external user of manager to control namespace usage indep of properties.
setNodeTree(SimpleNode) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
 
setPostfix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
set indentation postfix
setPostfix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
set indentation postfix
setPostfix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
set indentation postfix
setPostfix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
set indentation postfix
setPreferFileSystemAccess(boolean) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set whether to prefer file system access for template loading.
setPrefix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
set indentation prefix
setPrefix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
set indentation prefix
setPrefix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
set indentation prefix
setPrefix(String) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
set indentation prefix
setProperties(Properties) - Static method in class org.apache.velocity.app.Velocity
Set an entire configuration at once.
setProperties(Properties) - Method in class org.apache.velocity.app.VelocityEngine
Set an entire configuration at once from a Properties configuration
setProperties(String) - Method in class org.apache.velocity.app.VelocityEngine
Set an entire configuration at once from a named properties file
setProperties(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Add all properties contained in the file fileName to the RuntimeInstance properties
setProperties(Properties) - Method in class org.apache.velocity.runtime.RuntimeInstance
Add all the properties in props to the RuntimeInstance properties
setProperties(Properties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Allow an external system to set a Properties object to use.
setProperties(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Set an entire configuration at once from a named properties file
setProperty(String, Object) - Static method in class org.apache.velocity.app.Velocity
Set a Velocity Runtime property.
setProperty(String, Object) - Method in class org.apache.velocity.app.VelocityEngine
Set a Velocity Runtime property.
setProperty(String, Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Allows an external system to set a property in the Velocity Runtime.
setProperty(String, Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
Allows an external system to set a property in the Velocity Runtime.
setProperty(String, Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Allows an external system to set a property in the Velocity Runtime.
setProperty(String, Object) - Method in class org.apache.velocity.util.ExtProperties
Set a property, this will replace any previously set values.
SetPropertyExecutor - Class in org.apache.velocity.runtime.parser.node
Executor for looking up property names in the passed in class This will try to find a set<foo>(key, value) method
SetPropertyExecutor(Logger, Introspector, Class<?>, String, Object) - Constructor for class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
 
SetPublicFieldExecutor - Class in org.apache.velocity.runtime.parser.node
Executor for setting public fields in objects
SetPublicFieldExecutor(Logger, Introspector, Class<?>, String, Object) - Constructor for class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
 
setReferenceName(String) - Method in exception org.apache.velocity.exception.MethodInvocationException
Sets the reference name that threw this exception.
setRegisterFromLib(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
Should macros registered from Libraries be marked special?
setRepository(String, StringResourceRepository) - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Sets the specified StringResourceRepository in static storage under the specified name.
setResourceLoader(ResourceLoader) - Method in class org.apache.velocity.runtime.resource.Resource
Set the template loader for this template.
setResourceLoader(ResourceLoader) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set the Spring ResourceLoader to use for loading Velocity template files.
setResourceLoaderPath(String) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set the Velocity resource loader path via a Spring resource location.
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.EventCartridge
runtime services setter, called during initialization
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.EscapeReference
Called automatically when event cartridge is initialized.
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
 
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.PrintExceptions
 
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
Called automatically when event cartridge is initialized.
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.runtime.resource.Resource
 
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.util.introspection.UberspectImpl
sets the runtime services
setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
 
setRuntimeServices(RuntimeServices) - Method in interface org.apache.velocity.util.RuntimeServicesAware
Called automatically when event cartridge is initialized.
setTemplateLocalInlineVM(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
Should macros from the same template be inlined?
setType(int) - Method in class org.apache.velocity.runtime.resource.Resource
Sets the type of this Resource (RESOURCE_TEMPLATE or RESOURCE_CONTENT)
setValue(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
Sets the value of a complex reference (something like $foo.bar) Currently used by ASTSetReference()
setVelocityProperties(Properties) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set Velocity properties, like "file.resource.loader.path".
setVelocityPropertiesMap(Map<String, Object>) - Method in class org.apache.velocity.spring.VelocityEngineFactory
Set Velocity properties as Map, to allow for non-String values like "ds.resource.loader.instance".
setWriter(Writer) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
SimpleNode - Class in org.apache.velocity.runtime.parser.node
 
SimpleNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.SimpleNode
 
SimpleNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.SimpleNode
 
SimplePool - Class in org.apache.velocity.util
Simple object pool.
SimplePool(int) - Constructor for class org.apache.velocity.util.SimplePool
 
SINGLE_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
SINGLE_LINE_COMMENT_START - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
SingleResourceReader(Reader) - Constructor for class org.apache.velocity.script.VelocityScriptEngine.SingleResourceReader
 
size() - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
 
size() - Method in class org.apache.velocity.util.ArrayListWrapper
 
skip(long) - Method in class org.apache.velocity.io.UnicodeInputStream
 
SKIP_INVALID_ITERATOR - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Whether to throw an exception or just skip bad iterables.
SPACE_GOBBLING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Space gobbling mode
specialConstructor - Variable in exception org.apache.velocity.runtime.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class org.apache.velocity.runtime.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
SPRING_RESOURCE_LOADER - Static variable in class org.apache.velocity.spring.SpringResourceLoader
 
SPRING_RESOURCE_LOADER_CACHE - Static variable in class org.apache.velocity.spring.SpringResourceLoader
 
SPRING_RESOURCE_LOADER_CLASS - Static variable in class org.apache.velocity.spring.SpringResourceLoader
 
SPRING_RESOURCE_LOADER_PATH - Static variable in class org.apache.velocity.spring.SpringResourceLoader
 
SpringResourceLoader - Class in org.apache.velocity.spring
Velocity ResourceLoader adapter that loads via a Spring ResourceLoader.
SpringResourceLoader() - Constructor for class org.apache.velocity.spring.SpringResourceLoader
 
StandardParser - Class in org.apache.velocity.runtime.parser
This class is responsible for parsing a Velocity template.
StandardParser(RuntimeServices) - Constructor for class org.apache.velocity.runtime.parser.StandardParser
This constructor was added to allow the re-use of parsers.
StandardParser(CharStream) - Constructor for class org.apache.velocity.runtime.parser.StandardParser
Constructor with user supplied CharStream.
StandardParser(StandardParserTokenManager) - Constructor for class org.apache.velocity.runtime.parser.StandardParser
Constructor with generated Token Manager.
StandardParserConstants - Interface in org.apache.velocity.runtime.parser
Token literal values and constants.
StandardParserTokenManager - Class in org.apache.velocity.runtime.parser
Token Manager.
StandardParserTokenManager(StandardParser, CharStream) - Constructor for class org.apache.velocity.runtime.parser.StandardParserTokenManager
Constructor with parser.
StandardParserTokenManager(StandardParser, CharStream, int) - Constructor for class org.apache.velocity.runtime.parser.StandardParserTokenManager
Constructor with parser.
StandardParserTreeConstants - Interface in org.apache.velocity.runtime.parser.node
 
StandardParserVisitor - Interface in org.apache.velocity.runtime.parser.node
 
START - Variable in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
START_TOKEN - Static variable in class org.apache.velocity.util.ExtProperties
 
state - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
Statement(boolean) - Method in class org.apache.velocity.runtime.parser.StandardParser
These are the types of statements that are acceptable in Velocity templates.
stateStackPop() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
pops a state off the stack, and restores paren counts
stateStackPush() - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
pushes the current state onto the 'state stack', and maintains the parens counts public because we need it in PD & VM handling
STATIC_LEXER_ERROR - Static variable in error org.apache.velocity.runtime.parser.TokenMgrError
An attempt was made to create a second instance of a static token manager.
STATIC_REPOSITORIES - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
staticFlag - Static variable in class org.apache.velocity.runtime.parser.VelocityCharStream
 
stop() - Method in class org.apache.velocity.runtime.directive.Scope
Allows #stop to easily trigger the proper StopCommand for this scope.
Stop - Class in org.apache.velocity.runtime.directive
This class implements the #stop directive which allows a user to stop the merging and rendering process.
Stop() - Constructor for class org.apache.velocity.runtime.directive.Stop
 
StopCommand - Error in org.apache.velocity.runtime.directive
Stop command for directive Control objects.
StopCommand() - Constructor for error org.apache.velocity.runtime.directive.StopCommand
 
StopCommand(String) - Constructor for error org.apache.velocity.runtime.directive.StopCommand
 
StopCommand(Object) - Constructor for error org.apache.velocity.runtime.directive.StopCommand
 
STRICT_MATH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Switch for ignoring nulls in math equations vs throwing exceptions.
strictEscape - Variable in class org.apache.velocity.runtime.parser.node.ASTReference
Indicates if we are using modified escape behavior in strict mode.
strictEscape - Variable in class org.apache.velocity.runtime.parser.StandardParser
Set to true if the property RuntimeConstants.RUNTIME_REFERENCES_STRICT_ESCAPE is set to true
strictMode - Variable in class org.apache.velocity.runtime.parser.node.ASTMathNode
 
strictMode - Variable in class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
strictRef - Variable in class org.apache.velocity.runtime.directive.Parse
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.directive.RuntimeMacro
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTIdentifier
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTIndex
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTMethod
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTReference
Indicates if we are running in strict reference mode.
strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTSetDirective
Indicates if we are running in strict reference mode.
STRING_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
StringBuilderWriter - Class in org.apache.velocity.util
Writer implementation that outputs to a StringBuilder.
StringBuilderWriter() - Constructor for class org.apache.velocity.util.StringBuilderWriter
Constructs a new StringBuilder instance with default capacity.
StringBuilderWriter(int) - Constructor for class org.apache.velocity.util.StringBuilderWriter
Constructs a new StringBuilder instance with the specified capacity.
StringBuilderWriter(StringBuilder) - Constructor for class org.apache.velocity.util.StringBuilderWriter
Constructs a new instance with the specified StringBuilder.
StringLiteral() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
StringResource - Class in org.apache.velocity.runtime.resource.util
Wrapper for Strings containing templates, allowing to add additional meta data like timestamps.
StringResource(String, String) - Constructor for class org.apache.velocity.runtime.resource.util.StringResource
convenience constructor; sets body to 'body' and sets lastModified to now
StringResourceLoader - Class in org.apache.velocity.runtime.resource.loader
Resource loader that works with Strings.
StringResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
StringResourceRepository - Interface in org.apache.velocity.runtime.resource.util
A StringResourceRepository functions as a central repository for Velocity templates stored in Strings.
StringResourceRepositoryImpl - Class in org.apache.velocity.runtime.resource.util
Default implementation of StringResourceRepository.
StringResourceRepositoryImpl() - Constructor for class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
 
StringUtils - Class in org.apache.velocity.util
This class provides some methods for dynamically invoking methods in objects, and some string manipulation and formatting methods.
StringUtils() - Constructor for class org.apache.velocity.util.StringUtils
 
subset(String) - Method in class org.apache.velocity.util.ExtProperties
Create an ExtProperties object that is a subset of this one.
subtract(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Subtract two numbers and return the correct value / type.
SUFFIX - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
switchTo(int) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Switches to a new state (add some log to the default method)
SwitchTo(int) - Method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Switch to specified lex state.

T

template - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
template - Variable in class org.apache.velocity.script.VelocityCompiledScript
 
Template - Class in org.apache.velocity
This class is used for controlling all template operations.
Template() - Constructor for class org.apache.velocity.Template
Default constructor
TemplateBoolean - Interface in org.apache.velocity.util
Any object in the context which implements TemplateBoolean will use the getAsBoolean() method for #if( $ref ) calls.
TemplateInitException - Exception in org.apache.velocity.exception
Exception generated to indicate parse errors caught during directive initialization (e.g.
TemplateInitException(String, String, int, int) - Constructor for exception org.apache.velocity.exception.TemplateInitException
 
TemplateInitException(String, ParseException, String, int, int) - Constructor for exception org.apache.velocity.exception.TemplateInitException
 
TemplateInitException(String, ParseException, String[], String, int, int) - Constructor for exception org.apache.velocity.exception.TemplateInitException
 
TemplateNumber - Interface in org.apache.velocity.util
Any object in the context which implements TemplateNumber will be treated as a number for the purposes of arithmetic operations and comparison.
TemplateParseException - Exception in org.apache.velocity.runtime.parser
This is an extension of the ParseException, which also takes a template name.
TemplateParseException(Token, int[][], String[], String) - Constructor for exception org.apache.velocity.runtime.parser.TemplateParseException
This constructor is used to add a template name to info cribbed from a ParseException generated in the parser.
TemplateParseException(Token, int[][], String[]) - Constructor for exception org.apache.velocity.runtime.parser.TemplateParseException
This constructor is used by the method "generateParseException" in the generated parser.
TemplateParseException() - Constructor for exception org.apache.velocity.runtime.parser.TemplateParseException
The following constructors are for use by you for whatever purpose you can think of.
TemplateParseException(String) - Constructor for exception org.apache.velocity.runtime.parser.TemplateParseException
Creates a new TemplateParseException object.
templateRoots - Variable in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
 
TemplateString - Interface in org.apache.velocity.util
Any object in the context which implements TemplateString will use the getAsString() method for rendering and empty-checks instead of toString().
testBoolean(String) - Method in class org.apache.velocity.util.ExtProperties
Test whether the string represent by value maps to a boolean value or not.
Text() - Method in class org.apache.velocity.runtime.parser.StandardParser
This method is responsible for allowing all non-grammar text to pass through unscathed.
TEXT - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Textblock() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
TEXTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
thingy - Variable in class org.apache.velocity.util.introspection.IntrospectionCacheData
Object to pair with class - currently either a Method or AbstractExecutor.
throwException() - Method in class org.apache.velocity.example.EventExample
silly method to throw an exception to demonstrate the method invocation exception event handling
toBigDecimal(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Convert the given Number to a BigDecimal
toBigInteger(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Convert the given Number to a BigInteger
token - Variable in class org.apache.velocity.runtime.parser.StandardParser
Current token.
Token - Class in org.apache.velocity.runtime.parser
Describes the input token stream.
Token() - Constructor for class org.apache.velocity.runtime.parser.Token
No-argument constructor
Token(int) - Constructor for class org.apache.velocity.runtime.parser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.apache.velocity.runtime.parser.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class org.apache.velocity.runtime.parser.StandardParser
Generated Token Manager.
tokenImage - Variable in exception org.apache.velocity.runtime.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
Literal token values.
tokenLiteral(Parser, Token) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
complete node literal
TokenMgrError - Error in org.apache.velocity.runtime.parser
Token Manager Error.
TokenMgrError() - Constructor for error org.apache.velocity.runtime.parser.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.apache.velocity.runtime.parser.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.velocity.runtime.parser.TokenMgrError
Full Constructor.
toString() - Method in class org.apache.velocity.app.event.implement.InvalidReferenceInfo
Formats a textual representation of this object as SOURCE [line X, column Y]: invalidReference.
toString() - Method in class org.apache.velocity.runtime.directive.Block.Reference
 
toString() - Method in class org.apache.velocity.runtime.directive.Scope.Info
string representation getter
toString() - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
 
toString(String) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
toString() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
toString() - Method in class org.apache.velocity.runtime.parser.Token
Returns the image.
toString() - Method in class org.apache.velocity.util.introspection.Info
Formats a textual representation of this object as SOURCE [line X, column Y].
toString() - Method in class org.apache.velocity.util.StringBuilderWriter
touch() - Method in class org.apache.velocity.runtime.resource.Resource
'Touch' this template and thereby resetting the nextCheck field.
trace(String) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
trace(String) - Static method in class org.apache.velocity.runtime.parser.StandardParser
Our own trace method.
trace(String) - Static method in class org.apache.velocity.runtime.parser.StandardParserTokenManager
Our own trace method.
translateKey(String) - Method in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Translate if needed a deprecated key into its replacement key, and emit a warning for deprecated keys
TreeMapContext - Class in org.apache.velocity.example
Example context impl that uses a TreeMap Not much point other than to show how easy it is.
TreeMapContext() - Constructor for class org.apache.velocity.example.TreeMapContext
 
TreeMapContext(Context) - Constructor for class org.apache.velocity.example.TreeMapContext
 
True() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
TRUE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
type - Variable in class org.apache.velocity.runtime.resource.Resource
Resource type (RESOURCE_TEMPLATE or RESOURCE_CONTENT)
TypeConversionHandler - Interface in org.apache.velocity.util.introspection
A conversion handler adds admissible conversions between Java types whenever Velocity introspection has to map VTL methods and property accessors to Java methods.
TypeConversionHandlerImpl - Class in org.apache.velocity.util.introspection
A conversion handler adds admissible conversions between Java types whenever Velocity introspection has to map VTL methods and property accessors to Java methods.
TypeConversionHandlerImpl() - Constructor for class org.apache.velocity.util.introspection.TypeConversionHandlerImpl
Constructor

U

uberInfo - Variable in class org.apache.velocity.runtime.directive.Foreach
immutable, so create in init
uberInfo - Variable in class org.apache.velocity.runtime.parser.node.ASTIdentifier
This is really immutable after the init, so keep one for this node
uberInfo - Variable in class org.apache.velocity.runtime.parser.node.ASTMethod
 
uberInfo - Variable in class org.apache.velocity.runtime.parser.node.ASTReference
 
uberInfo - Variable in class org.apache.velocity.runtime.parser.node.ASTSetDirective
This is really immutable after the init, so keep one for this node
Uberspect - Interface in org.apache.velocity.util.introspection
'Federated' introspection/reflection interface to allow the introspection behavior in Velocity to be customized.
UBERSPECT_CLASSNAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
key name for uberspector.
UberspectImpl - Class in org.apache.velocity.util.introspection
Implementation of Uberspect to provide the default introspective functionality of Velocity
UberspectImpl() - Constructor for class org.apache.velocity.util.introspection.UberspectImpl
 
UberspectImpl.VelGetterImpl - Class in org.apache.velocity.util.introspection
 
UberspectImpl.VelMethodImpl - Class in org.apache.velocity.util.introspection
Implementation of VelMethod
UberspectImpl.VelSetterImpl - Class in org.apache.velocity.util.introspection
 
UberspectPublicFields - Class in org.apache.velocity.util.introspection
Implementation of Uberspect to additionally provide access to public fields.
UberspectPublicFields() - Constructor for class org.apache.velocity.util.introspection.UberspectPublicFields
 
UnaryExpression() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
UNBOUNDED_BUFFER - Static variable in class org.apache.velocity.io.VelocityWriter
constant indicating that the Writer is buffered and is unbounded; this is used in BodyContent
unescape(String) - Static method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
 
UnicodeInputStream - Class in org.apache.velocity.io
This is an input stream that is unicode BOM aware.
UnicodeInputStream(InputStream) - Constructor for class org.apache.velocity.io.UnicodeInputStream
Creates a new UnicodeInputStream object.
UnicodeInputStream(InputStream, boolean) - Constructor for class org.apache.velocity.io.UnicodeInputStream
Creates a new UnicodeInputStream object.
URLResourceLoader - Class in org.apache.velocity.runtime.resource.loader
This is a simple URL-based loader.
URLResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.URLResourceLoader
 
useStringInterning() - Method in class org.apache.velocity.runtime.RuntimeInstance
Whether to use string interning
useStringInterning() - Method in interface org.apache.velocity.runtime.RuntimeServices
Check whether the engine uses string interning
UTF16BE_BOM - Static variable in class org.apache.velocity.io.UnicodeInputStream
BOM Marker for UTF 16, big endian.
UTF16LE_BOM - Static variable in class org.apache.velocity.io.UnicodeInputStream
BOM Marker for UTF 16, little endian.
UTF32BE_BOM - Static variable in class org.apache.velocity.io.UnicodeInputStream
BOM Marker for UTF 32, big endian.
UTF32LE_BOM - Static variable in class org.apache.velocity.io.UnicodeInputStream
BOM Marker for UTF 32, little endian.
UTF8_BOM - Static variable in class org.apache.velocity.io.UnicodeInputStream
BOM Marker for UTF 8.

V

val - Variable in class org.apache.velocity.runtime.parser.node.ASTEscape
Used by the parser
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTAndNode
Returns the value of the expression.
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTFalse
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTFloatingPointLiteral
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerLiteral
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTIntegerRange
does the real work.
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMap
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTMathNode
gets the two args and performs the operation on them
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTNegateNode
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTNotNode
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTObjectArray
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTOrNode
Returns the value of the expression.
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
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.
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTTrue
 
value(InternalContextAdapter) - Method in interface org.apache.velocity.runtime.parser.node.Node
 
value(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
valueOf(String) - Static method in enum org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.velocity.util.DuckType.Types
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.velocity.runtime.RuntimeConstants.SpaceGobbling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.velocity.util.DuckType.Types
Returns an array containing the constants of this enum type, in the order they are declared.
VelGetterImpl(AbstractExecutor) - Constructor for class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
 
VelMethod - Interface in org.apache.velocity.util.introspection
Method used for regular method invocation $foo.bar()
VelMethodImpl(Method) - Constructor for class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
VelMethodImpl(Method, boolean) - Constructor for class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
VelMethodImpl(Method, boolean, Converter<?>[]) - Constructor for class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
VelocimacroFactory - Class in org.apache.velocity.runtime
VelocimacroFactory.java manages the set of VMs in a running Velocity engine.
VelocimacroFactory(RuntimeServices) - Constructor for class org.apache.velocity.runtime.VelocimacroFactory
C'tor for the VelociMacro factory.
VelocimacroManager - Class in org.apache.velocity.runtime
Manages VMs in namespaces.
VelocimacroProxy - Class in org.apache.velocity.runtime.directive
VelocimacroProxy.java a proxy Directive-derived object to fit with the current directive system
VelocimacroProxy() - Constructor for class org.apache.velocity.runtime.directive.VelocimacroProxy
 
Velocity - Class in org.apache.velocity.app
This class provides services to the application developer, such as: Simple Velocity Runtime engine initialization methods.
Velocity() - Constructor for class org.apache.velocity.app.Velocity
 
VELOCITY_PROPERTIES_KEY - Static variable in class org.apache.velocity.script.VelocityScriptEngine
Key used to provide this engine with the pathname of the Velocity properties file.
VelocityCharStream - Class in org.apache.velocity.runtime.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
VelocityCharStream(Reader, int, int, int) - Constructor for class org.apache.velocity.runtime.parser.VelocityCharStream
 
VelocityCharStream(Reader, int, int) - Constructor for class org.apache.velocity.runtime.parser.VelocityCharStream
 
VelocityCharStream(InputStream, int, int, int) - Constructor for class org.apache.velocity.runtime.parser.VelocityCharStream
 
VelocityCharStream(InputStream, int, int) - Constructor for class org.apache.velocity.runtime.parser.VelocityCharStream
 
VelocityCompiledScript - Class in org.apache.velocity.script
 
VelocityCompiledScript(VelocityScriptEngine, Template) - Constructor for class org.apache.velocity.script.VelocityCompiledScript
 
VelocityContext - Class in org.apache.velocity
General purpose implementation of the application Context interface for general application use.
VelocityContext() - Constructor for class org.apache.velocity.VelocityContext
Creates a new instance (with no inner context).
VelocityContext(Map<String, Object>) - Constructor for class org.apache.velocity.VelocityContext
Creates a new instance with the provided storage (and no inner context).
VelocityContext(Context) - Constructor for class org.apache.velocity.VelocityContext
Chaining constructor, used when you want to wrap a context in another.
VelocityContext(Map<String, Object>, Context) - Constructor for class org.apache.velocity.VelocityContext
Initializes internal storage (never to null), and inner context.
VelocityEngine - Class in org.apache.velocity.app
This class provides a separate new-able instance of the Velocity template engine.
VelocityEngine() - Constructor for class org.apache.velocity.app.VelocityEngine
Init-less CTOR
VelocityEngine(String) - Constructor for class org.apache.velocity.app.VelocityEngine
Construct a VelocityEngine with the initial properties defined in the file propsFilename
VelocityEngine(Properties) - Constructor for class org.apache.velocity.app.VelocityEngine
Construct a VelocityEngine instance with the specified initial properties.
VelocityEngineFactory - Class in org.apache.velocity.spring
Factory that configures a VelocityEngine.
VelocityEngineFactory() - Constructor for class org.apache.velocity.spring.VelocityEngineFactory
 
VelocityEngineFactoryBean - Class in org.apache.velocity.spring
Factory bean that configures a VelocityEngine and provides it as bean reference.
VelocityEngineFactoryBean() - Constructor for class org.apache.velocity.spring.VelocityEngineFactoryBean
 
VelocityEngineUtils - Class in org.apache.velocity.spring
Utility class for working with a VelocityEngine.
VelocityEngineUtils() - Constructor for class org.apache.velocity.spring.VelocityEngineUtils
 
VelocityEngineVersion - Class in org.apache.velocity.runtime
 
VelocityEngineVersion() - Constructor for class org.apache.velocity.runtime.VelocityEngineVersion
 
VelocityException - Exception in org.apache.velocity.exception
Base class for Velocity runtime exceptions thrown to the application layer.
VelocityException(String) - Constructor for exception org.apache.velocity.exception.VelocityException
 
VelocityException(String, Throwable) - Constructor for exception org.apache.velocity.exception.VelocityException
 
VelocityException(String, Throwable, String[]) - Constructor for exception org.apache.velocity.exception.VelocityException
 
VelocityException(Throwable) - Constructor for exception org.apache.velocity.exception.VelocityException
 
VelocityException(Throwable, String[]) - Constructor for exception org.apache.velocity.exception.VelocityException
 
VelocityScriptEngine - Class in org.apache.velocity.script
 
VelocityScriptEngine(ScriptEngineFactory) - Constructor for class org.apache.velocity.script.VelocityScriptEngine
constructs a new Velocity script engine, linked to the given factory
VelocityScriptEngine() - Constructor for class org.apache.velocity.script.VelocityScriptEngine
constructs a new standalone Velocity script engine
VelocityScriptEngine.SingleResourceReader - Class in org.apache.velocity.script
 
VelocityScriptEngineFactory - Class in org.apache.velocity.script
 
VelocityScriptEngineFactory() - Constructor for class org.apache.velocity.script.VelocityScriptEngineFactory
 
VelocityWriter - Class in org.apache.velocity.io
Implementation of a fast Writer.
VelocityWriter(Writer) - Constructor for class org.apache.velocity.io.VelocityWriter
Create a buffered character-output stream that uses a default-sized output buffer.
VelocityWriter(Writer, int, boolean) - Constructor for class org.apache.velocity.io.VelocityWriter
Create a new buffered character-output stream that uses an output buffer of the given size.
VelPropertyGet - Interface in org.apache.velocity.util.introspection
Interface defining a 'getter'.
VelPropertySet - Interface in org.apache.velocity.util.introspection
Interface used for setting values that appear to be properties in Velocity.
VelSetterImpl(SetExecutor) - Constructor for class org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
 
VERSION - Static variable in class org.apache.velocity.runtime.VelocityEngineVersion
 
visit(SimpleNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTprocess, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTText, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTEscapedDirective, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTEscape, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTComment, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTTextblock, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTFloatingPointLiteral, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTIntegerLiteral, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTStringLiteral, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTIdentifier, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTWord, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTDirectiveAssign, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTDirective, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTBlock, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTMap, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTObjectArray, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTIntegerRange, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTMethod, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTIndex, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTReference, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTTrue, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTFalse, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTIfStatement, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTElseStatement, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTElseIfStatement, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTSetDirective, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTExpression, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTAssignment, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTOrNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTAndNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTEQNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTNENode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTLTNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTGTNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTLENode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTGENode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTAddNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTSubtractNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTMulNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTDivNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTModNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(ASTNotNode, Object) - Method in class org.apache.velocity.runtime.parser.node.IndentationFixer
 
visit(SimpleNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTprocess, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTText, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTEscapedDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTEscape, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTComment, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTTextblock, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTFloatingPointLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTIntegerLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTStringLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTIdentifier, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTWord, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTDirectiveAssign, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTBlock, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTMap, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTObjectArray, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTIntegerRange, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTMethod, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTIndex, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTReference, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTTrue, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTFalse, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTIfStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTElseStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTElseIfStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTSetDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTExpression, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTAssignment, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTOrNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTAndNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTEQNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTNENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTLTNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTGTNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTLENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTGENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTAddNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTSubtractNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTMulNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTDivNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTModNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(ASTNotNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.ParserVisitor
 
visit(SimpleNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTprocess, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTText, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTEscapedDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTEscape, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTComment, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTTextblock, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTFloatingPointLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTIntegerLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTStringLiteral, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTIdentifier, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTWord, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTDirectiveAssign, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTBlock, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTMap, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTObjectArray, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTIntegerRange, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTMethod, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTIndex, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTReference, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTTrue, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTFalse, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTIfStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTElseStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTElseIfStatement, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTSetDirective, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTExpression, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTAssignment, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTOrNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTAndNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTEQNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTNENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTLTNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTGTNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTLENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTGENode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTAddNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTSubtractNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTMulNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTDivNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTModNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTNotNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(ASTNegateNode, Object) - Method in interface org.apache.velocity.runtime.parser.node.StandardParserVisitor
 
visit(SimpleNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTprocess, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTExpression, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTAssignment, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTOrNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTAndNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTEQNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTNENode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTLTNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTGTNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTLENode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTGENode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTAddNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTSubtractNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTMulNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTDivNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTModNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTNotNode, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTIntegerLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTFloatingPointLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTStringLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTIdentifier, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTMethod, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTIndex, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTReference, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTTrue, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTFalse, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTBlock, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTText, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTIfStatement, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTElseStatement, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTElseIfStatement, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTComment, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTTextblock, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTObjectArray, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTWord, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTSetDirective, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTDirectiveAssign, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTDirective, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTEscapedDirective, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTEscape, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTMap, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(ASTIntegerRange, Object) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
 
visit(SimpleNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTprocess, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTExpression, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTAssignment, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTOrNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTAndNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTEQNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTNENode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTLTNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTGTNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTLENode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTGENode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTAddNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTSubtractNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTMulNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTDivNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTModNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTNotNode, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTFloatingPointLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTIntegerLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTStringLiteral, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTIdentifier, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTMethod, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTReference, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTTrue, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTFalse, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTBlock, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTText, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTIfStatement, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTElseStatement, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTElseIfStatement, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTObjectArray, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTDirective, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTWord, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTSetDirective, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTEscapedDirective, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTEscape, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTMap, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
visit(ASTIntegerRange, Object) - Method in class org.apache.velocity.runtime.visitor.NodeViewMode
 
VM_ARGUMENTS_STRICT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
if true, throw an exception for wrong number of arguments
VM_BODY_REFERENCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Defines name of the reference that can be used to get the AST block passed to block macro calls.
VM_ENABLE_BC_MODE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
This flag enable the 1.7 backward compatible mode for velocimacros (defaults to false): preserve argument literals: when displaying null or invalid non-quiet references, use the argument literal reference instead of the one in the macro block.
VM_LIBRARY - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Filename of local Velocimacro library template.
VM_LIBRARY_AUTORELOAD - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
switch for autoloading library-sourced VMs (for development).
VM_LIBRARY_DEFAULT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Velocimacro library template.
VM_MAX_DEPTH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Specify the maximum depth for macro calls
VM_MESSAGES_ON - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
since 2.1
VM_PERM_ALLOW_INLINE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
boolean (true/false) default true: allow inline (in-template) macro definitions.
VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
boolean (true/false) default false: allow inline (in-template) macro definitions to replace existing.
VM_PERM_INLINE_LOCAL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Switch for forcing inline macros to be local: default false.

W

warn(String) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
warnDeprecated(String, String) - Method in class org.apache.velocity.util.DeprecationAwareExtProperties
Deprecated.
Emit a warning in the log for adeprecated property name
WHITESPACE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
Word() - Method in class org.apache.velocity.runtime.parser.StandardParser
 
WORD - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
wrap(Uberspect) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
Specify the decorated Uberspector
wrap(Uberspect) - Method in interface org.apache.velocity.util.introspection.ChainableUberspector
Specify the decorated Uberspector
wrappedContext - Variable in class org.apache.velocity.context.ChainedInternalContextAdapter
the parent context
wrapPrimitive(long, Class<?>) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Wrap the given primitive into the given class if the value is in the range of the destination type.
write(int) - Method in class org.apache.velocity.io.VelocityWriter
Write a single character.
write(char[], int, int) - Method in class org.apache.velocity.io.VelocityWriter
Write a portion of an array of characters.
write(char[]) - Method in class org.apache.velocity.io.VelocityWriter
Write an array of characters.
write(String, int, int) - Method in class org.apache.velocity.io.VelocityWriter
Write a portion of a String.
write(String) - Method in class org.apache.velocity.io.VelocityWriter
Write a string.
write(String) - Method in class org.apache.velocity.util.StringBuilderWriter
Writes a String to the StringBuilder.
write(char[], int, int) - Method in class org.apache.velocity.util.StringBuilderWriter
Writes a portion of a character array to the StringBuilder.
writer - Variable in class org.apache.velocity.runtime.visitor.BaseVisitor
Writer used as the output sink
writeReference(String) - Method in interface org.apache.velocity.io.Filter
 
writeReference(String) - Method in class org.apache.velocity.io.VelocityWriter
Send the content of a reference, e.g.; $foo, to the writer.

X

XMLTest - Class in org.apache.velocity.example
Example to show basic XML handling in a template.
XMLTest(String) - Constructor for class org.apache.velocity.example.XMLTest
 

Z

ZERO_WIDTH_WHITESPACE - Static variable in interface org.apache.velocity.runtime.parser.StandardParserConstants
RegularExpression Id.
A B C D E F G H I J K L M N O P R S T U V W X Z 
Skip navigation links

Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.