Home > Velocity  
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

AbsoluteFileResourceLoaderTestCase - Class in org.apache.velocity.test
Test use of an absolute path with the FileResourceLoader
AbsoluteFileResourceLoaderTestCase() - Constructor for class org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase
Default constructor.
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(Object) - Method in class org.apache.velocity.anakia.NodeList
 
add(int, Object) - Method in class org.apache.velocity.anakia.NodeList
 
add(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Add two numbers and return the correct value / type.
add(int, int) - Method in class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase.DSRLTCTool
 
add(int[]) - Method in class org.apache.velocity.test.VarargMethodsTestCase.NastyTool
 
add(int) - Method in class org.apache.velocity.test.VarargMethodsTestCase.NastyTool
 
add(double[]) - Method in class org.apache.velocity.test.VarargMethodsTestCase.NiceTool
 
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.
addAll(Collection) - Method in class org.apache.velocity.anakia.NodeList
 
addAll(int, Collection) - Method in class org.apache.velocity.anakia.NodeList
 
addCookie(Cookie) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
addDateHeader(String, long) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
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 espaced (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.
addHeader(String, String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
addIncludeEventHandler(IncludeEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add an include event handler to the Cartridge.
addIntHeader(String, int) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
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.Parser
 
addMethodExceptionHandler(MethodExceptionEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add a method exception event handler to the Cartridge.
addNullSetEventHandler(NullSetEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add a null set 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) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Add a property to the configuration.
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.
addReferenceInsertionEventHandler(ReferenceInsertionEventHandler) - Method in class org.apache.velocity.app.event.EventCartridge
Add a reference insertion event handler to the Cartridge.
addTemplate(String, String) - Method in class org.apache.velocity.test.BaseTestCase
 
addVelocimacro(String, String, String[], String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Just like the whole class....
addVelocimacro(String, String, String[], String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Deprecated.
Use addVelocimacro(String, Node, String[], String) instead
addVelocimacro(String, Node, String[], String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Adds a new Velocimacro.
addVelocimacro(String, String, String[], String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Deprecated.
Use addVelocimacro(String, Node, String[], String) instead
addVelocimacro(String, Node, String[], String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Adds a new Velocimacro.
addVelocimacro(String, Node, String[], String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Adds a new Velocimacro.
addVelocimacro(String, String, String[], String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Deprecated.
Use addVelocimacro(String, Node, String[], String) instead
addVelocimacro(String, String, String[], String) - Method in class org.apache.velocity.runtime.VelocimacroFactory
Adds a macro to the factory.
addVelocimacro(String, Node, String[], String) - Method in class org.apache.velocity.runtime.VelocimacroFactory
Adds a macro to the factory.
addVM(String, Node, String[], String, boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
Adds a VM definition to the cache.
addVMProxyArg(InternalContextAdapter, String, String, Node) - Method in class org.apache.velocity.context.ProxyVMContext
Used to put Velocity macro arguments into this context.
addVMProxyArg(InternalContextAdapter, String, String, Renderable) - Method in class org.apache.velocity.context.ProxyVMContext
Used to put Velocity macro bodyContext arguments into this context.
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.
allElements(Element) - Method in class org.apache.velocity.anakia.TreeWalker
Creates a new Vector and walks the Element tree.
allEmpty(Object[]) - Method in class org.apache.velocity.test.provider.TestProvider
 
allEmpty(List) - Method in class org.apache.velocity.util.StringUtils
Check to see if all the string objects passed in are empty.
ALPHA_CHAR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
ALPHANUM_CHAR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
alternate() - Method in class org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator
Deprecated.
Alternates to the next in the list.
alternates - Variable in class org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator
Deprecated.
 
AnakiaElement - Class in org.apache.velocity.anakia
A JDOM Element that is tailored for Anakia needs.
AnakiaElement(String, Namespace) - Constructor for class org.apache.velocity.anakia.AnakiaElement
This will create a new AnakiaElement with the supplied (local) name, and define the Namespace to be used.
AnakiaElement(String) - Constructor for class org.apache.velocity.anakia.AnakiaElement
This will create an AnakiaElement in no Namespace.
AnakiaElement(String, String) - Constructor for class org.apache.velocity.anakia.AnakiaElement
This will create a new AnakiaElement with the supplied (local) name, and specifies the URI of the Namespace the Element should be in, resulting it being unprefixed (in the default namespace).
AnakiaElement(String, String, String) - Constructor for class org.apache.velocity.anakia.AnakiaElement
This will create a new AnakiaElement with the supplied (local) name, and specifies the prefix and URI of the Namespace the Element should be in.
AnakiaJDOMFactory - Class in org.apache.velocity.anakia
A customized JDOMFactory for Anakia that produces AnakiaElement instances instead of ordinary JDOM Element instances.
AnakiaJDOMFactory() - Constructor for class org.apache.velocity.anakia.AnakiaJDOMFactory
 
AnakiaTask - Class in org.apache.velocity.anakia
The purpose of this Ant Task is to allow you to use Velocity as an XML transformation tool like XSLT is.
AnakiaTask() - Constructor for class org.apache.velocity.anakia.AnakiaTask
Constructor creates the SAXBuilder.
AnakiaTask.Context - Class in org.apache.velocity.anakia
A context implementation that loads all values from an XML file.
AnakiaTask.Context() - Constructor for class org.apache.velocity.anakia.AnakiaTask.Context
Public constructor.
AnakiaTestCase - Class in org.apache.velocity.test
This is a test case for Anakia.
AnakiaTestCase(String) - Constructor for class org.apache.velocity.test.AnakiaTestCase
Creates a new instance.
appendTemplateInfo(StringBuffer) - Method in exception org.apache.velocity.runtime.directive.MacroParseException
 
appendTemplateInfo(StringBuffer) - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
 
applyTo(String, Document) - Method in class org.apache.velocity.anakia.XPathTool
Apply an XPath to a JDOM Document
applyTo(String, Element) - Method in class org.apache.velocity.anakia.XPathTool
Apply an XPath to a JDOM Element
applyTo(String, List) - Method in class org.apache.velocity.anakia.XPathTool
Apply an XPath to a nodeset
arg - Variable in class org.apache.velocity.runtime.parser.Parser.JJCalls
 
ArithmeticTestCase - Class in org.apache.velocity.test
Test arithmetic operations.
ArithmeticTestCase(String) - Constructor for class org.apache.velocity.test.ArithmeticTestCase
 
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
 
ArrayMethodsTestCase - Class in org.apache.velocity.test
Used to check that method calls on Array references work properly and that they produce the same results as the same methods would on a fixed-size List.
ArrayMethodsTestCase(String) - Constructor for class org.apache.velocity.test.ArrayMethodsTestCase
 
assertContextValue(String, Object) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that a context value is as expected.
assertEvalEquals(String, String) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that a template renders as expected.
assertEvalException(String) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that an exception occurs when the string is evaluated.
assertEvalException(String, Class) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that a specified type of exception occurs when evaluating the string.
assertEvalExceptionAt(String, String, int, int) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that the error message of the expected exception has the proper location info.
assertEvalExceptionAt(String, int, int) - Method in class org.apache.velocity.test.BaseTestCase
Only ensure that the error message of the expected exception has the proper line and column info.
assertException(VelocityEngine) - Method in class org.apache.velocity.test.ExceptionTestCase
 
assertException(VelocityEngine, String) - Method in class org.apache.velocity.test.ExceptionTestCase
 
assertException(VelocityEngine, Context, String) - Method in class org.apache.velocity.test.ExceptionTestCase
 
assertImaginaryMathEx(String) - Method in class org.apache.velocity.test.StrictMathTestCase
 
assertMethodEx(String) - Method in class org.apache.velocity.test.StrictReferenceTestCase
Assert that we get a MethodInvocationException when calling evaluate
assertMethodInvocationException(VelocityEngine, Context, String) - Method in class org.apache.velocity.test.ExceptionTestCase
 
assertNullMathEx(String) - Method in class org.apache.velocity.test.StrictMathTestCase
 
assertParseEx(String) - Method in class org.apache.velocity.test.StrictReferenceTestCase
Assert that we get a MethodInvocationException when calling evaluate
assertSchmoo(String) - Method in class org.apache.velocity.test.BaseTestCase
Ensure that the given string renders as itself when evaluated.
assertTextblockEvalEquals(String) - Method in class org.apache.velocity.test.TextblockTestCase
 
assertTmplEquals(String, String) - Method in class org.apache.velocity.test.BaseTestCase
Compare an expected string with the given loaded template
assertVelocityEx(String) - Method in class org.apache.velocity.test.StrictCompareTestCase
Assert that we get a VelocityException when calling evaluate
assertVelocityEx(String) - Method in class org.apache.velocity.test.StrictReferenceTestCase
Assert that we get a VelocityException when calling evaluate
Assignment() - Method in class org.apache.velocity.runtime.parser.Parser
 
assureResultsDirectoryExists(String) - Method in class org.apache.velocity.test.BaseTestCase
Assures that the results directory exists.
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
 
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
 
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
 
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 OR both are subclasses of java.lang.Number
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
 
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

Only subclasses of Number can be compared.

Please look at the Parser.jjt file which is what controls the generation of this class.
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

Only subclasses of Number can be compared.

Please look at the Parser.jjt file which is what controls the generation of this class.
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 ASTRefrence 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
 
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
 
ASTLENode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 <= arg2

Only subclasses of Number can be compared.

Please look at the Parser.jjt file which is what controls the generation of this class.
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
 
ASTLTNode - Class in org.apache.velocity.runtime.parser.node
Handles arg1 < arg2

Only subclasses of Number can be compared.

Please look at the Parser.jjt file which is what controls the generation of this class.
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.
ASTMethod.MethodCacheKey(String, Class[]) - Constructor for class org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
 
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
 
ASTNENode - 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 OR both are subclasses of java.lang.Number
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(int) - Constructor for class org.apache.velocity.runtime.parser.node.ASTTextblock
 
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
 
aTestMethod() - Method in class org.apache.velocity.test.SecureIntrospectionTestCase
 
attachEventCartridge(EventCartridge) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
attachEventCartridge(EventCartridge) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
attachEventCartridge(EventCartridge) - Method in class org.apache.velocity.context.InternalContextBase
 
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
 
available - Variable in class org.apache.velocity.runtime.parser.VelocityCharStream
 
AVALON_LOGGER - Static variable in class org.apache.velocity.runtime.log.AvalonLogChute
 
AVALON_LOGGER_FORMAT - Static variable in class org.apache.velocity.runtime.log.AvalonLogChute
 
AVALON_LOGGER_LEVEL - Static variable in class org.apache.velocity.runtime.log.AvalonLogChute
 
AvalonLogChute - Class in org.apache.velocity.runtime.log
Implementation of a Avalon logger.
AvalonLogChute() - Constructor for class org.apache.velocity.runtime.log.AvalonLogChute
 
AvalonLogSystem - Class in org.apache.velocity.runtime.log
Implementation of a Avalon logger.
AvalonLogSystem() - Constructor for class org.apache.velocity.runtime.log.AvalonLogSystem
 

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
 
bang() - Method in class org.apache.velocity.test.provider.TestProvider
 
bar - Variable in class org.apache.velocity.test.IndexTestCase.Foo
 
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.
baseDir - Variable in class org.apache.velocity.anakia.AnakiaTask
the base directory
baseFileName - Variable in class org.apache.velocity.test.TemplateTestCase
The base file name of the template and comparison file (i.e.
BaseSQLTest - Class in org.apache.velocity.test.sql
A base class to implement tests that need a running Velocity engine and an initialized Hsql Database.
BaseSQLTest(String, String) - Constructor for class org.apache.velocity.test.sql.BaseSQLTest
 
BaseTestCase - Class in org.apache.velocity.test
Base test case that provides utility methods for the rest of the tests.
BaseTestCase(String) - Constructor for class org.apache.velocity.test.BaseTestCase
 
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
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class org.apache.velocity.runtime.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last 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).
Block.Reference(InternalContextAdapter, Block) - Constructor for class org.apache.velocity.runtime.directive.Block.Reference
 
BlockMacro - Class in org.apache.velocity.runtime.directive
BlockMacro directive is used to invoke Velocity macros with normal parameters and a macro body.
BlockMacro(String) - Constructor for class org.apache.velocity.runtime.directive.BlockMacro
 
BlockMacroTestCase - Class in org.apache.velocity.test
This class tests the BlockMacro functionality.
BlockMacroTestCase(String) - Constructor for class org.apache.velocity.test.BlockMacroTestCase
 
booleanMethod(boolean) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
BooleanPropertyExecutor - Class in org.apache.velocity.runtime.parser.node
Handles discovery and valuation of a boolean object property, of the form public boolean is when executed.
BooleanPropertyExecutor(Log, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
 
BooleanPropertyExecutor(RuntimeLogger, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
Deprecated.
RuntimeLogger is deprecated. Use the other constructor.
BoolObj - Class in org.apache.velocity.test.provider
simple class to test boolean property introspection - can't use TestProvider as there is a get( String ) and that comes before isProperty in the search pattern
BoolObj() - Constructor for class org.apache.velocity.test.provider.BoolObj
 
BRACKETED_WORD - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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
 
BreakDirectiveTestCase - Class in org.apache.velocity.test
This class tests the break directive.
BreakDirectiveTestCase(String) - Constructor for class org.apache.velocity.test.BreakDirectiveTestCase
 
bufpos - Variable in class org.apache.velocity.runtime.parser.VelocityCharStream
 
bufsize - Variable in class org.apache.velocity.runtime.parser.VelocityCharStream
 
builder - Variable in class org.apache.velocity.anakia.AnakiaTask
SAXBuilder instance to use
buildTestString(UnicodeInputStream.UnicodeBOM, String, String, boolean) - Method in class org.apache.velocity.io.UnicodeInputStreamTestCase
 
BuiltInEventHandlerTestCase - Class in org.apache.velocity.test
Tests the operation of the built in event handlers.
BuiltInEventHandlerTestCase(String) - Constructor for class org.apache.velocity.test.BuiltInEventHandlerTestCase
Default constructor.
byteMethod(byte) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 

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.IntrospectorCacheImpl
define a public string so that it can be looked for if interested
capitalizeFirstLetter(String) - Static method in class org.apache.velocity.util.StringUtils
Capitalize the first letter but leave the rest as they are.
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
ChainedUberspectorsTestCase - Class in org.apache.velocity.test.util.introspection
Tests uberspectors chaining
ChainedUberspectorsTestCase(String) - Constructor for class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase
 
ChainedUberspectorsTestCase.ChainedUberspector - Class in org.apache.velocity.test.util.introspection
 
ChainedUberspectorsTestCase.ChainedUberspector() - Constructor for class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.ChainedUberspector
 
ChainedUberspectorsTestCase.Foo - Class in org.apache.velocity.test.util.introspection
 
ChainedUberspectorsTestCase.Foo() - Constructor for class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.Foo
 
ChainedUberspectorsTestCase.LinkedUberspector - Class in org.apache.velocity.test.util.introspection
 
ChainedUberspectorsTestCase.LinkedUberspector() - Constructor for class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.LinkedUberspector
 
characterMethod(char) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
CharStream - Interface in org.apache.velocity.runtime.parser
This interface describes a character stream that maintains line and column number positions of the characters.
checkArgs(RuntimeServices, Token, Node, String) - Static method in class org.apache.velocity.runtime.directive.Macro
Used by Parser.java to do further parameter checking for macro arguments.
checkArgs(InternalContextAdapter, Node, boolean) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
check if we are calling this macro with the right number of arguments.
checkInfo(String, int, int) - Method in class org.apache.velocity.test.InfoTestCase
 
checkMemberAccess(Class, int) - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
 
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.
checkPackageAccess(String) - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
 
checkPermission(Permission) - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
 
checkPropertyAccess(String) - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
 
checkRead(String) - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
 
checkTemplate(VelocityEngine, String) - Method in class org.apache.velocity.test.SetTestCase
 
child - Variable in class org.apache.velocity.test.InvalidEventHandlerTestCase.Tree
 
Child - Class in org.apache.velocity.test.provider
Rudimentary class used in the testbed to test introspection with subclasses of a particular class.
Child() - Constructor for class org.apache.velocity.test.provider.Child
 
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
 
chooseCharacterEncoding(HttpServletRequest) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Chooses the output character encoding to be used as the value for the "charset=" portion of the HTTP Content-Type header (and thus returned by response.getCharacterEncoding()).
chop(String, int) - Method in class org.apache.velocity.test.provider.TestProvider
Chop i characters off the end of a string.
chop(String, int) - Static method in class org.apache.velocity.util.StringUtils
Chop i characters off the end of a string.
chop(String, int, String) - Static method in class org.apache.velocity.util.StringUtils
Chop i characters off the end of a string.
ClassloaderChangeTestCase - Class in org.apache.velocity.test
Tests if we can hand Velocity an arbitrary class for logging.
ClassloaderChangeTestCase(String) - Constructor for class org.apache.velocity.test.ClassloaderChangeTestCase
Default constructor.
ClassMap - Class in org.apache.velocity.util.introspection
A cache of introspection information for a specific class instance.
ClassMap(Class, Log) - Constructor for class org.apache.velocity.util.introspection.ClassMap
Standard constructor
ClassMapTestCase - Class in org.apache.velocity.test.util.introspection
Test the ClassMap Lookup
ClassMapTestCase(String) - Constructor for class org.apache.velocity.test.util.introspection.ClassMapTestCase
 
ClassMapTestCase.TestClassMap - Class in org.apache.velocity.test.util.introspection
 
ClassMapTestCase.TestClassMap() - Constructor for class org.apache.velocity.test.util.introspection.ClassMapTestCase.TestClassMap
 
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
 
ClasspathResourceTestCase - Class in org.apache.velocity.test
Load templates from the Classpath.
ClasspathResourceTestCase(String) - Constructor for class org.apache.velocity.test.ClasspathResourceTestCase
Default constructor.
ClassUtils - Class in org.apache.velocity.util
Simple utility functions for manipulating classes and resources from the classloader.
clean(InternalContextAdapter, Object, Object, Object) - Method in class org.apache.velocity.runtime.directive.Foreach
 
cleanup() - Method in class org.apache.velocity.texen.ant.TexenTask
A hook method called at the end of TexenTask.execute() which can be overridden to perform any necessary cleanup activities (such as the release of database connections, etc.).
clear() - Method in class org.apache.velocity.anakia.NodeList
 
clear() - Method in class org.apache.velocity.io.VelocityWriter
Discard the output buffer.
clear() - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
clear() - Method in interface org.apache.velocity.util.introspection.IntrospectorCache
Clears the internal cache.
clear() - Method in class org.apache.velocity.util.introspection.IntrospectorCacheImpl
Clears the internal cache.
clearLogString() - Static method in class org.apache.velocity.test.EventHandlingTestCase
 
clearNodeScope(Node) - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
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) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Clear the values pertaining to a particular 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.
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.ParserTokenManager
Clears all state variables, resets to start values, clears stateStack.
clone() - Method in class org.apache.velocity.anakia.NodeList
Returns a NodeList that contains the same nodes as this node list.
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.test.sql.HsqlDB
 
closeNodeScope(Node, int) - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
closeNodeScope(Node, boolean) - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
CMP_FILE_EXT - Static variable in interface org.apache.velocity.test.TemplateTestBase
Comparison file extension.
collapseNewlines(String) - Static method in class org.apache.velocity.util.StringUtils
Remove/collapse multiple newline characters.
collapseSpaces(String) - Static method in class org.apache.velocity.util.StringUtils
Remove/collapse multiple spaces.
COLON - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
COMMA - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
Comment() - Method in class org.apache.velocity.runtime.parser.Parser
 
CommentsTestCase - Class in org.apache.velocity.test
Test comments
CommentsTestCase(String) - Constructor for class org.apache.velocity.test.CommentsTestCase
Default constructor.
commonInit(RuntimeServices, ExtendedProperties) - 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
CommonsExtPropTestCase - Class in org.apache.velocity.test
Tests for the Commons ExtendedProperties class.
CommonsExtPropTestCase(String) - Constructor for class org.apache.velocity.test.CommonsExtPropTestCase
Creates a new instance.
CommonsLogLogChute - Class in org.apache.velocity.runtime.log
Redirects Velocity's LogChute messages to commons-logging.
CommonsLogLogChute() - Constructor for class org.apache.velocity.runtime.log.CommonsLogLogChute
 
compare(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
Compare two numbers.
COMPARE_DIR - Static variable in interface org.apache.velocity.test.TemplateTestBase
Results relative to the build directory.
concat(Object[]) - Method in class org.apache.velocity.test.provider.TestProvider
 
concat(List) - Method in class org.apache.velocity.test.provider.TestProvider
 
concat(String, String) - Method in class org.apache.velocity.test.provider.TestProvider
 
concat(List) - Method in class org.apache.velocity.util.StringUtils
Concatenates a list of objects as a String.
ConditionalAndExpression() - Method in class org.apache.velocity.runtime.parser.Parser
 
ConditionalOrExpression() - Method in class org.apache.velocity.runtime.parser.Parser
 
contains(Object) - Method in class org.apache.velocity.anakia.NodeList
 
containsAll(Collection) - Method in class org.apache.velocity.anakia.NodeList
 
containsHeader(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
containsKey(Object) - Method in class org.apache.velocity.context.AbstractContext
Indicates whether the specified key is in the context.
containsKey(Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
containsKey(Object) - Method in interface org.apache.velocity.context.Context
Indicates whether the specified key is in the context.
containsKey(Object) - Method in class org.apache.velocity.context.EvaluateContext
Deprecated.
 
containsKey(Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
containsKey(Object) - Method in class org.apache.velocity.context.ProxyVMContext
 
containsKey(Object) - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
containsKey(Object) - Method in class org.apache.velocity.test.misc.TestContext
 
containsValue(Object) - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
CONTENT_TYPE - Static variable in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
The HTTP content type context key.
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 - Variable in class org.apache.velocity.app.event.implement.IncludeNotFound
 
context - Variable in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
 
Context - Interface in org.apache.velocity.context
Interface describing the application data context.
context - Variable in class org.apache.velocity.context.InternalContextAdapterImpl
the user data Context that we are wrapping
context - Variable in class org.apache.velocity.runtime.visitor.BaseVisitor
Context used during traversal
context - Variable in class org.apache.velocity.test.BaseTestCase
 
context - Variable in class org.apache.velocity.test.EventHandlingTestCase.TestEventCartridge
 
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
contextProperties - Variable in class org.apache.velocity.texen.ant.TexenTask
These are properties that are fed into the initial context from a properties file.
ContextSafetyTestCase - Class in org.apache.velocity.test
Tests if we are context safe : can we switch objects in the context and re-merge the template safely.
ContextSafetyTestCase(String) - Constructor for class org.apache.velocity.test.ContextSafetyTestCase
 
controlTemplate - Variable in class org.apache.velocity.texen.ant.TexenTask
This is the control template that governs the output.
convert(String) - Method in class org.apache.velocity.convert.WebMacro
Deprecated.
Iterate through the set of find/replace regexes that will convert a given WM template to a VM template
convertTemplate(String) - Method in class org.apache.velocity.convert.WebMacro
Deprecated.
Apply find/replace regexes to our WM template
COUNTER_INITIAL_VALUE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Initial counter value in #foreach directives.
COUNTER_NAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Counter reference name in #foreach directives.
create(boolean) - Static method in class org.apache.velocity.util.MapFactory
Creates a new instance of a class that implements Map interface using the JDK defaults for initial size, load factor, etc.
create(int, float, int, boolean) - Static method in class org.apache.velocity.util.MapFactory
Creates a new instance of a class that implements Map interface.
createContext() - Method in class org.apache.velocity.anakia.AnakiaTask
Create a new context.
createContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Returns a context suitable to pass to the handleRequest() method

Default implementation will create a VelocityContext object, put the HttpServletRequest and HttpServletResponse into the context accessable via the keys VelocityServlet.REQUEST and VelocityServlet.RESPONSE, respectively.
createInputStream(UnicodeInputStream.UnicodeBOM, String, String) - Method in class org.apache.velocity.io.UnicodeInputStreamTestCase
 
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.
createRuntimeException(String, Throwable) - Static method in class org.apache.velocity.util.ExceptionUtils
Create a new RuntimeException, setting the cause if possible.
createWithCause(Class, String, Throwable) - Static method in class org.apache.velocity.util.ExceptionUtils
Create a new Exception, setting the cause if possible.
curChar - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
curLexState - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
current - Variable in class org.apache.velocity.app.tools.VelocityFormatter.VelocityAlternator
Deprecated.
 
currentTemplateName - Variable in class org.apache.velocity.runtime.parser.Parser
Name of 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.

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
 
DataSourceResourceLoaderTestCase - Class in org.apache.velocity.test.sql
 
DataSourceResourceLoaderTestCase(String) - Constructor for class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase
 
DataSourceResourceLoaderTestCase.DSRLTCTool - Class in org.apache.velocity.test.sql
 
DataSourceResourceLoaderTestCase.DSRLTCTool() - Constructor for class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase.DSRLTCTool
 
debug(Object) - Static method in class org.apache.velocity.app.Velocity
Deprecated.
Use getLog() and call debug() on it.
debug(Object) - Method in class org.apache.velocity.app.VelocityEngine
Deprecated.
Use getLog() and call warn() on it.
debug(Object) - Method in class org.apache.velocity.runtime.log.Log
Log a debug message.
debug(Object, Throwable) - Method in class org.apache.velocity.runtime.log.Log
Log a debug message and accompanying Throwable.
debug(boolean, Object) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log a debug message.
debug(boolean, Object, Throwable) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log a debug message and accompanying Throwable.
debug(Object) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
debug(Object, Throwable) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
debug(Object) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Log a debug message.
debug(Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Deprecated.
Use getLog() and call debug() on it.
debug(Object) - Method in interface org.apache.velocity.runtime.RuntimeLogger
Deprecated.
Use Log.debug(Object)
debug(Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Deprecated.
Use getLog() and call debug() on it.
DEBUG - Variable in class org.apache.velocity.test.BaseTestCase
 
DEBUG - Variable in class org.apache.velocity.test.BuiltInEventHandlerTestCase
 
DEBUG - Static variable in class org.apache.velocity.test.issues.VelTools66TestCase
 
DEBUG - Variable in class org.apache.velocity.test.MethodInvocationExceptionTestCase
 
DEBUG_ID - Static variable in interface org.apache.velocity.runtime.log.LogChute
ID for debug messages.
DEBUG_ID - Static variable in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
ID for debug messages.
DEBUG_ON - Static variable in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
This is unused and meaningless
DEBUG_PREFIX - Static variable in interface org.apache.velocity.runtime.log.LogChute
Prefix string for debug messages.
DEBUG_PREFIX - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
Use LogChute.DEBUG_PREFIX instead
debugPrint - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
debugStream - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
Debug output.
DECIMAL_ZERO - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
A BigDecimal representing the number 0
defAndEval(String) - Method in class org.apache.velocity.test.DefineTestCase
 
defAndEval(String, String) - Method in class org.apache.velocity.test.DefineTestCase
 
DEFAULT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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_CONTENT_TYPE - Static variable in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
The default content type for the response
DEFAULT_LOG_NAME - Static variable in class org.apache.velocity.runtime.log.CommonsLogLogChute
Default name for the commons-logging instance
DEFAULT_LOG_NAME - Static variable in class org.apache.velocity.runtime.log.JdkLogChute
Default name for the JDK logger instance
DEFAULT_OUTPUT_ENCODING - Static variable in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Encoding for the output stream
DEFAULT_RUNTIME_DIRECTIVES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Runtime properties.
DEFAULT_RUNTIME_PROPERTIES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Default Runtime properties.
defaultLexState - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
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.
DefineTestCase - Class in org.apache.velocity.test
This class tests the #define directive
DefineTestCase(String) - Constructor for class org.apache.velocity.test.DefineTestCase
 
DefineTestCase.Inc - Class in org.apache.velocity.test
 
DefineTestCase.Inc() - Constructor for class org.apache.velocity.test.DefineTestCase.Inc
 
DIGIT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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() - Method in class org.apache.velocity.runtime.parser.Parser
Supports the Pluggable Directives #foo( arg+ )
DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
DIRECTIVE_CHAR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
DIRECTIVE_IF_TOSTRING_NULLCHECK - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Indicates if toString() should be called during #if condition evaluation just to ensure it does not return null.
DIRECTIVE_TERMINATOR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
DirectiveArg() - Method in class org.apache.velocity.runtime.parser.Parser
Supports the arguments for the Pluggable Directives
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.Parser
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(Class) - 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, 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
 
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.ParserConstants
RegularExpression Id.
doException() - Method in class org.apache.velocity.test.MethodInvocationExceptionTestCase
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
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 - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
DOLLARBANG - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
doRequest(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Handles all requests (by default).
DOT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
DOUBLE_ESCAPE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
DOUBLEDOT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
doubleMethod(double) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
dump(String) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Override this method if you want to customize how the node dumps out its children.
dumpLogMessages(LogSystem) - Method in class org.apache.velocity.runtime.log.PrimordialLogSystem
Deprecated.
use transferTo(LogChute newChute)
dumpNamespace(String) - Method in class org.apache.velocity.runtime.VelocimacroManager
Removes the VMs and the namespace from the manager.
dumpVMNamespace(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
tells the vmFactory to dump the specified namespace.
dumpVMNamespace(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
tells the vmFactory to dump the specified namespace.
dumpVMNamespace(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
tells the vmFactory to dump the specified namespace.
dumpVMNamespace(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
tells the vmFactory to dump the specified namespace.
dumpVMNamespace(String) - Method in class org.apache.velocity.runtime.VelocimacroFactory
tells the vmManager to dump the specified namespace

E

element(String, Namespace) - Method in class org.apache.velocity.anakia.AnakiaJDOMFactory
 
element(String) - Method in class org.apache.velocity.anakia.AnakiaJDOMFactory
 
element(String, String) - Method in class org.apache.velocity.anakia.AnakiaJDOMFactory
 
element(String, String, String) - Method in class org.apache.velocity.anakia.AnakiaJDOMFactory
 
ELSE_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
ELSEIF_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
ElseIfStatement() - Method in class org.apache.velocity.runtime.parser.Parser
 
ElseStatement() - Method in class org.apache.velocity.runtime.parser.Parser
 
EMPTY_INDEX - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
enable_tracing() - Method in class org.apache.velocity.runtime.parser.Parser
Enable tracing.
encodeRedirectURL(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
encodeRedirectUrl(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
encodeURL(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
encodeUrl(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
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 ISO-8859-1.
EncodingTestCase - Class in org.apache.velocity.test
Tests input encoding handling.
EncodingTestCase(String) - Constructor for class org.apache.velocity.test.EncodingTestCase
 
END - Static variable in class org.apache.velocity.runtime.parser.node.ASTTextblock
 
END - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
endColumn - Variable in class org.apache.velocity.runtime.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class org.apache.velocity.runtime.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
engine - Variable in class org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase
 
engine - Variable in class org.apache.velocity.test.BaseTestCase
 
engine - Variable in class org.apache.velocity.test.IncludeEventHandlingTestCase
 
engine - Variable in class org.apache.velocity.test.InlineScopeVMTestCase
 
engine - Variable in class org.apache.velocity.test.issues.Velocity580TestCase
 
engine - Variable in class org.apache.velocity.test.MacroForwardDefineTestCase
 
engine - Variable in class org.apache.velocity.test.MultiLoaderTestCase
 
engine - Variable in class org.apache.velocity.test.MultipleFileResourcePathTestCase
 
engine - Variable in class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase
 
engine - Variable in class org.apache.velocity.test.StringResourceLoaderTestCase
 
engine - Variable in class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase
 
engine - Variable in class org.apache.velocity.test.VelocimacroTestCase
 
entrySet() - Method in class org.apache.velocity.runtime.directive.Scope
 
entrySet() - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
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.ParserConstants
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.Parser
 
equals(Object) - Method in class org.apache.velocity.anakia.NodeList
Tests for equality with another object.
equals(Object) - Method in class org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
 
EQUALS - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
error(Object) - Static method in class org.apache.velocity.app.Velocity
Deprecated.
Use getLog() and call error() on it.
error(Object) - Method in class org.apache.velocity.app.VelocityEngine
Deprecated.
Use getLog() and call warn() on it.
error(Object) - Method in class org.apache.velocity.runtime.log.Log
Log an error message.
error(Object, Throwable) - Method in class org.apache.velocity.runtime.log.Log
Log an error message and accompanying Throwable.
error(boolean, Object) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log an error message.
error(boolean, Object, Throwable) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log an error message and accompanying Throwable.
error(Object) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
error(Object, Throwable) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
error(Object) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Log an error message.
error(Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Deprecated.
Use getLog() and call error() on it.
error(Object) - Method in interface org.apache.velocity.runtime.RuntimeLogger
Deprecated.
Use Log.error(Object)
error(Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Deprecated.
Use getLog() and call error() on it.
error(HttpServletRequest, HttpServletResponse, Exception) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Invoked when there is an error thrown in any part of doRequest() processing.
ERROR_ID - Static variable in interface org.apache.velocity.runtime.log.LogChute
ID for error messages.
ERROR_ID - Static variable in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
ID for error messages.
ERROR_PREFIX - Static variable in interface org.apache.velocity.runtime.log.LogChute
Prefix string for error messages.
ERROR_PREFIX - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
Use LogChute.ERROR_PREFIX instead
errorCode - Variable in error org.apache.velocity.runtime.parser.TokenMgrError
Indicates the reason why the exception is thrown.
ERRORMSG_END - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Ending tag for error messages triggered by passing a parameter not allowed in the #include directive.
ERRORMSG_START - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Starting tag for error messages triggered by passing a parameter not allowed in the #include directive.
Escape - Class in org.apache.velocity.anakia
This class is for escaping CDATA sections.
Escape() - Constructor for class org.apache.velocity.anakia.Escape
Empty constructor
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeHtmlReference
Escape all HTML entities.
escape(Object) - Method in class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
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
Escape all XML entities.
Escape() - Method in class org.apache.velocity.runtime.parser.Parser
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.ParserConstants
RegularExpression Id.
ESCAPE_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
EscapedDirective() - Method in class org.apache.velocity.runtime.parser.Parser
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
Escape all HTML entities.
EscapeHtmlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeHtmlReference
 
EscapeJavaScriptReference - Class in org.apache.velocity.app.event.implement
Escapes the characters in a String to be suitable for use in JavaScript.
EscapeJavaScriptReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
 
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
Escape all XML entities.
EscapeXmlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeXmlReference
 
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, InputStream) - Static method in class org.apache.velocity.app.Velocity
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, InputStream) - Method in class org.apache.velocity.app.VelocityEngine
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 : null && right = false left && null = false null && null = false
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.ASTEQNode
Calculates the value of the logical expression arg1 == arg2 All class types are supported.
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.ASTGENode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTGTNode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTLENode
 
evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTLTNode
 
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.ASTOrNode
the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
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.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.
evaluate(String) - Method in class org.apache.velocity.test.BaseTestCase
Evaluate the specified String as a template and return the result as a String.
EVALUATE_CONTEXT_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
class to use for local context with #evaluate()
EvaluateContext - Class in org.apache.velocity.context
Deprecated.
Will be removed in 2.0
EvaluateContext(InternalContextAdapter, RuntimeServices) - Constructor for class org.apache.velocity.context.EvaluateContext
Deprecated.
CTOR, wraps an ICA
EvaluateContextTestCase - Class in org.apache.velocity.test
Tests scope of EvaluateContext.
EvaluateContextTestCase() - Constructor for class org.apache.velocity.test.EvaluateContextTestCase
 
EvaluateTestCase - Class in org.apache.velocity.test
Test #evaluate directive.
EvaluateTestCase(String) - Constructor for class org.apache.velocity.test.EvaluateTestCase
Default constructor.
EventCartridge - Class in org.apache.velocity.app.event
Stores the event handlers.
EventCartridge() - Constructor for class org.apache.velocity.app.event.EventCartridge
 
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 eventhandler.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 eventhandler.invalidreferences.class property specifies a list of the InvalidReferenceEventHandler implementations to use.
EVENTHANDLER_METHODEXCEPTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The eventhandler.methodexception.class property specifies a list of the MethodExceptionEventHandler implementations to use.
EVENTHANDLER_NULLSET - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The eventhandler.nullset.class property specifies a list of the NullSetEventHandler implementations to use.
EVENTHANDLER_REFERENCEINSERTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The eventhandler.referenceinsertion.class property specifies a list of the ReferenceInsertionEventHandler implementations to use.
EventHandlerMethodExecutor - Interface in org.apache.velocity.app.event
Strategy object used to execute event handler method.
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
 
EventHandlingTestCase - Class in org.apache.velocity.test
Tests event handling for all event handlers except IncludeEventHandler.
EventHandlingTestCase(String) - Constructor for class org.apache.velocity.test.EventHandlingTestCase
Default constructor.
EventHandlingTestCase.TestEventCartridge - Class in org.apache.velocity.test
 
EventHandlingTestCase.TestEventCartridge() - Constructor for class org.apache.velocity.test.EventHandlingTestCase.TestEventCartridge
 
ExceptionGeneratingDirective - Class in org.apache.velocity.test.misc
that always throws an exception.
ExceptionGeneratingDirective() - Constructor for class org.apache.velocity.test.misc.ExceptionGeneratingDirective
 
ExceptionGeneratingEventHandler - Class in org.apache.velocity.test.misc
Event handlers that always throws an exception.
ExceptionGeneratingEventHandler() - Constructor for class org.apache.velocity.test.misc.ExceptionGeneratingEventHandler
 
ExceptionGeneratingResourceLoader - Class in org.apache.velocity.test.misc
Resource Loader that always throws an exception.
ExceptionGeneratingResourceLoader() - Constructor for class org.apache.velocity.test.misc.ExceptionGeneratingResourceLoader
 
ExceptionTestCase - Class in org.apache.velocity.test
Test case for miscellaneous Exception related issues.
ExceptionTestCase(String) - Constructor for class org.apache.velocity.test.ExceptionTestCase
Default constructor.
ExceptionUtils - Class in org.apache.velocity.util
Use this to create a new Exception.
ExceptionUtils() - Constructor for class org.apache.velocity.util.ExceptionUtils
 
exec(String) - Method in class org.apache.velocity.test.IntrospectionCacheDataTestCase
For use when acting as a context reference.
execute() - Method in class org.apache.velocity.anakia.AnakiaTask
Main body of the application
execute(EventHandler) - Method in interface org.apache.velocity.app.event.EventHandlerMethodExecutor
Execute the event handler method.
execute(EventHandler) - Method in class org.apache.velocity.app.event.IncludeEventHandler.IncludeEventExecutor
Call the method includeEvent()
execute(EventHandler) - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor
Call the method invalidGetMethod()
execute(EventHandler) - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor
Call the method invalidMethod()
execute(EventHandler) - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
Call the method invalidSetMethod()
execute(EventHandler) - Method in class org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
Call the method methodException()
execute(EventHandler) - Method in class org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor
Call the method shouldLogOnNullSet()
execute(EventHandler) - Method in class org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
Call the method referenceInsert()
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, 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, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
execute() - Method in class org.apache.velocity.texen.ant.TexenTask
Execute the input script with Velocity
executeSQL(String) - Method in class org.apache.velocity.test.sql.BaseSQLTest
 
executeTest(String) - Method in class org.apache.velocity.test.issues.Velocity537TestCase
 
executeTest(String) - Method in class org.apache.velocity.test.issues.Velocity580TestCase
 
executeTest(String) - Method in class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase
 
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.ParserConstants
RegularExpression Id.
Expression() - Method in class org.apache.velocity.runtime.parser.Parser
 
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.
ExternalLoggerTestCase - Class in org.apache.velocity.test
Tests if we can hand Velocity an arbitrary class for logging.
ExternalLoggerTestCase(String) - Constructor for class org.apache.velocity.test.ExternalLoggerTestCase
Default constructor.

F

False() - Method in class org.apache.velocity.runtime.parser.Parser
 
FALSE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
field - Variable in class org.apache.velocity.test.InvalidEventHandlerTestCase.Tree
 
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(String) - Static method in class org.apache.velocity.texen.util.FileUtil
A method to get a File object.
file(String, String) - Static method in class org.apache.velocity.texen.util.FileUtil
A method to get a File object.
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 a path in the FileResourceLoader.
FILE_RESOURCE_LOADER_PATH - Static variable in interface org.apache.velocity.test.TemplateTestBase
Path for templates.
fileContentsToString(String) - Static method in class org.apache.velocity.util.StringUtils
Read the contents of a file and place them in a string object.
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
 
FileUtil - Class in org.apache.velocity.texen.util
A general file utility for use in the context
FileUtil() - Constructor for class org.apache.velocity.texen.util.FileUtil
 
fillContextDefaults(Context) - Method in class org.apache.velocity.texen.Generator
Add properties that will aways be in the context by default
fillContextHash(Context, Hashtable) - Method in class org.apache.velocity.texen.Generator
Add all the contents of a Hashtable to the context.
fillContextProperties(Context) - Method in class org.apache.velocity.texen.Generator
Add objects to the context from the current properties.
FilteredEventHandlingTestCase - Class in org.apache.velocity.test
Tests event handling for all event handlers when multiple event handlers are assigned for each type.
FilteredEventHandlingTestCase(String) - Constructor for class org.apache.velocity.test.FilteredEventHandlingTestCase
Default constructor.
finalize() - Method in class org.apache.velocity.runtime.log.AvalonLogChute
Also do a shutdown if the object is destroy()'d.
finalize() - Method in class org.apache.velocity.runtime.log.Log4JLogChute
Also do a shutdown if the object is destroy()'d.
finalize() - Method in class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
Deprecated.
Also do a shutdown if the object is destroy()'d.
find(Introspector2TestCase.Woogie, Object) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester
 
find(Object, Introspector2TestCase.Bar) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester
 
find(Introspector2TestCase.Bar, Introspector2TestCase.Bar) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester
 
find(Object) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester
 
find(Introspector2TestCase.Woogie) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester
 
find(Introspector2TestCase.Woogie, Object) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester2
 
find(Object, Introspector2TestCase.Bar) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester2
 
find(Introspector2TestCase.Bar, Object) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester2
 
find(Object) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester2
 
find(Introspector2TestCase.Woogie) - Static method in class org.apache.velocity.test.Introspector2TestCase.Tester2
 
find(String, Object[]) - Method in class org.apache.velocity.util.introspection.MethodMap
Find a method.
findClass(String) - Method in class org.apache.velocity.test.TestClassloader
 
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
 
first - Variable in class org.apache.velocity.runtime.parser.Parser.JJCalls
 
firstLetterCaps(String) - Static method in class org.apache.velocity.util.StringUtils
Makes the first letter caps and the rest lowercase.
FLOATING_POINT_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
FloatingPointLiteral() - Method in class org.apache.velocity.runtime.parser.Parser
 
floatMethod(float) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
flush() - Method in class org.apache.velocity.io.VelocityWriter
Flush the stream.
flushBuffer() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
foo - Variable in class org.apache.velocity.test.DefineTestCase.Inc
 
foo(String) - Method in interface org.apache.velocity.test.issues.Velocity579TestCase.Foo
 
foo(String) - Static method in class org.apache.velocity.test.StaticUtilityMethodsTestCase.Foo
 
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
 
Foreach.NullHolderContext - Class in org.apache.velocity.runtime.directive
A special context to use when the foreach iterator returns a null.
ForeachMethodCallHelper - Class in org.apache.velocity.test.provider
Provides overloaded methods for testing method execution within a foreach
ForeachMethodCallHelper() - Constructor for class org.apache.velocity.test.provider.ForeachMethodCallHelper
 
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
 
ForeachTestCase - Class in org.apache.velocity.test
This class tests the Foreach loop.
ForeachTestCase(String) - Constructor for class org.apache.velocity.test.ForeachTestCase
 
ForeachTestCase.MyIterable - Class in org.apache.velocity.test
 
ForeachTestCase.MyIterable() - Constructor for class org.apache.velocity.test.ForeachTestCase.MyIterable
 
ForeachTestCase.NotReallyIterable - Class in org.apache.velocity.test
 
ForeachTestCase.NotReallyIterable() - Constructor for class org.apache.velocity.test.ForeachTestCase.NotReallyIterable
 
FORMAL_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
formatArray(Object) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats an array into the form "A, B and C".
formatArray(Object, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats an array into the form "A<delim>B<delim>C".
formatArray(Object, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats an array into the form "A<delim>B<finaldelim>C".
formatFileString(Directive) - Static method in class org.apache.velocity.runtime.log.Log
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.runtime.log.Log
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.runtime.log.Log
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.runtime.log.Log
Simply creates a string that formats the template filename with line number and column.
formatLongDate(Date) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a date in DateFormat.LONG style.
formatLongDateTime(Date) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a date/time in 'long' style.
formatShortDate(Date) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a date in DateFormat.SHORT style.
formatShortDateTime(Date) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a date/time in 'short' style.
formatVector(List) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a vector into the form "A, B and C".
formatVector(List, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a vector into the form "A<delim>B<delim>C".
formatVector(List, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Formats a list into the form "Adelim>B<finaldelim>C".

G

gen - Variable in class org.apache.velocity.runtime.parser.Parser.JJCalls
 
generateParseException() - Method in class org.apache.velocity.runtime.parser.Parser
Generate ParseException.
Generator - Class in org.apache.velocity.texen
A text/code generator class
Generator(String) - Constructor for class org.apache.velocity.texen.Generator
Create a new generator object with properties loaded from a file.
Generator(Properties) - Constructor for class org.apache.velocity.texen.Generator
Create a new Generator object with a given property set.
get(int) - Method in class org.apache.velocity.anakia.NodeList
 
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.EvaluateContext
Deprecated.
Retrieves from local or global context.
get(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
get(String) - Method in class org.apache.velocity.context.ProxyVMContext
Implementation of the Context.get() method.
get(String) - Method in class org.apache.velocity.runtime.directive.Foreach.NullHolderContext
Get an object from the context, or null if the key is equal to the loop variable
get(Object) - Method in class org.apache.velocity.runtime.directive.Scope
 
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, String) - Method in class org.apache.velocity.runtime.VelocimacroManager
Gets a VelocimacroProxy object by the name / source template duple.
get(String, String, String) - Method in class org.apache.velocity.runtime.VelocimacroManager
Gets a VelocimacroProxy object by the name / source template duple.
get(Object) - Method in class org.apache.velocity.test.IndexTestCase.Boo
 
get(Boolean) - Method in class org.apache.velocity.test.IndexTestCase.Foo
 
get(String) - Method in class org.apache.velocity.test.IndexTestCase.Foo
 
get() - Method in class org.apache.velocity.test.misc.GetPutObject
 
get(String) - Method in class org.apache.velocity.test.misc.TestContext
 
get(String) - Method in class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.getisTool
 
get(String) - Method in class org.apache.velocity.test.provider.TestProvider
Test the ability of vel to use a get(key) method for any object type, not just one that implements the Map interface.
get(int) - Method in class org.apache.velocity.util.ArrayListWrapper
 
get(Class) - Method in interface org.apache.velocity.util.introspection.IntrospectorCache
Lookup a given Class object in the cache.
get(Class) - Method in class org.apache.velocity.util.introspection.IntrospectorCacheImpl
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.
getAmbigous() - Method in class org.apache.velocity.test.misc.UberspectorTestObject
 
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.
getArray() - Method in class org.apache.velocity.test.provider.TestProvider
 
getAsNumber() - Method in class org.apache.velocity.test.provider.TestNumber
 
getAsNumber() - Method in interface org.apache.velocity.util.TemplateNumber
Returns a Number that can be used in a template.
getAttribute(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getAttributeNames() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getAttributes() - Method in class org.apache.velocity.anakia.AnakiaElement
This returns the complete set of attributes for this element, as a NodeList of Attribute objects in no particular order, or an empty list if there are none.
getBar() - Method in class org.apache.velocity.test.IndexTestCase.Foo
 
getBar() - Method in interface org.apache.velocity.test.issues.Velocity689TestCase.HasMethod
 
getBar() - Method in class org.apache.velocity.test.issues.Velocity701TestCase.Foo
 
getBar() - Method in class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.Foo
 
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.
getBaz() - Method in interface org.apache.velocity.test.issues.Velocity689TestCase.HasOtherMethod
 
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) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Boolean property accessor method to hide the configuration implementation.
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.
getBufferSize() - Method in class org.apache.velocity.io.VelocityWriter
This method returns the size of the buffer used by the JspWriter.
getBufferSize() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
getBytes() - Method in class org.apache.velocity.io.UnicodeInputStream.UnicodeBOM
 
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
getCharacterEncoding() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
getChild() - Method in class org.apache.velocity.test.InvalidEventHandlerTestCase.Tree
 
getChild() - Method in class org.apache.velocity.test.provider.TestProvider
 
getChildren() - Method in class org.apache.velocity.anakia.AnakiaElement
This returns a NodeList of all the child elements nested directly (one level deep) within this element, as Element objects.
getChildren(String) - Method in class org.apache.velocity.anakia.AnakiaElement
This returns a NodeList of all the child elements nested directly (one level deep) within this element with the given local name and belonging to no namespace, returned as Element objects.
getChildren(String, Namespace) - Method in class org.apache.velocity.anakia.AnakiaElement
This returns a NodeList of all the child elements nested directly (one level deep) within this element with the given local name and belonging to the given Namespace, returned as Element objects.
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
getCollection() - Method in class org.apache.velocity.test.SecureIntrospectionTestCase
 
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
 
getColumn() - Method in interface org.apache.velocity.runtime.parser.CharStream
Deprecated. 
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.runtime.parser.VelocityCharStream
Deprecated. 
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 occured.
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 occured.
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 occured.
getConfiguration() - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Return the velocity runtime configuration object.
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.
getConnection() - Method in class org.apache.velocity.test.sql.HsqlDataSource
 
getConnection(String, String) - Method in class org.apache.velocity.test.sql.HsqlDataSource
 
getConnection() - Method in class org.apache.velocity.test.sql.HsqlDB
 
getContent() - Method in class org.apache.velocity.anakia.AnakiaElement
This returns the full content of the element as a NodeList which may contain objects of type String, Element, Comment, ProcessingInstruction, CDATA, and EntityRef.
getContent(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Returns a static content resource from the resource manager.
getContent(String, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Returns a static content resource from the resource manager.
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.
getContext(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getContext(Hashtable) - Method in class org.apache.velocity.texen.Generator
Create a new context and fill it with the elements of the objs Hashtable.
getContextDocument() - Method in class org.apache.velocity.anakia.AnakiaTask.Context
Retrieve the context document object.
getContextProperties() - Method in class org.apache.velocity.texen.ant.TexenTask
Get the context properties that will be fed into the initial context be the generating process starts.
getControlTemplate() - Method in class org.apache.velocity.texen.ant.TexenTask
Get the control template for the generating process.
getCount() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getCurrentMacroCallDepth() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentMacroCallDepth() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentMacroCallDepth() - Method in class org.apache.velocity.context.InternalContextBase
get the current macro call depth
getCurrentMacroCallDepth() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
get the current macro call depth
getCurrentMacroName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextBase
get the current macro name
getCurrentMacroName() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
get the current macro name
getCurrentResource() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentResource() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentResource() - Method in class org.apache.velocity.context.InternalContextBase
 
getCurrentResource() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
temporary fix to enable #include() to figure out current encoding.
getCurrentTemplateName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextBase
get the current template name
getCurrentTemplateName() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
get the current template name
getCustomers() - Method in class org.apache.velocity.test.provider.TestProvider
 
getCustomers2() - Method in class org.apache.velocity.test.provider.TestProvider
 
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
 
getDirective(String) - Method in class org.apache.velocity.runtime.parser.Parser
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.
getDollarBang() - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
getEmptyList() - Method in class org.apache.velocity.test.provider.TestProvider
 
getEnabledLevel() - Method in class org.apache.velocity.runtime.log.ServletLogChute
Returns the current minimum level at which messages will be printed.
getEnabledLevel() - Method in class org.apache.velocity.runtime.log.SystemLogChute
Returns the current minimum level at which messages will be printed.
getEncoding() - Method in class org.apache.velocity.io.UnicodeInputStream.UnicodeBOM
 
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
 
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 class org.apache.velocity.context.InternalContextBase
 
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(Log, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.GetExecutor
 
GetExecutor(RuntimeLogger, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.GetExecutor
Deprecated.
RuntimeLogger is deprecated. Use the other constructor.
getExecutor - Variable in class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
 
getField() - Method in class org.apache.velocity.test.InvalidEventHandlerTestCase.Tree
 
getFileContents(String, String, String) - Method in class org.apache.velocity.test.BaseTestCase
 
getFileName(String, String, String) - Method in class org.apache.velocity.test.BaseTestCase
Concatenates the file name parts together appropriately.
getFileName(String, String, String, boolean) - Method in class org.apache.velocity.test.BaseTestCase
 
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
 
getFoo() - Method in class org.apache.velocity.test.MethodInvocationExceptionTestCase
 
getfoo() - Method in class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.get2getisTool
 
getfoo() - Method in class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.getGetgetisTool
 
getFoo() - Method in class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.GetgetisTool
 
getFoo(Integer) - Method in class org.apache.velocity.test.provider.ForeachMethodCallHelper
 
getFoo(String) - Method in class org.apache.velocity.test.provider.ForeachMethodCallHelper
 
getFoo() - Method in class org.apache.velocity.test.provider.TestProvider
 
getHashtable() - Method in class org.apache.velocity.test.provider.TestProvider
 
getHasNext() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
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
 
getIncludeEventHandlers() - Method in class org.apache.velocity.app.event.EventCartridge
Iterate through all the stored IncludeEventHandlers objects
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
 
getInfo() - Method in exception org.apache.velocity.test.misc.UberspectTestException
 
getInitParameter(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletConfig
 
getInitParameter(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getInitParameterNames() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletConfig
 
getInitParameterNames() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getInputEncoding(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.InputBase
Decides the encoding used during input processing of this directive.
getInstance() - Static method in class org.apache.velocity.texen.Generator
Create a new generator object with default properties.
getInt(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Int property accessor method to hide the configuration implementation.
getInt(String, int) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Int property accessor method to hide the configuration implementation.
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.
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.SetPropertyExecutor
 
getIntrospector() - Method in class org.apache.velocity.runtime.RuntimeInstance
Return the Introspector for this instance
getIntrospector() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the configured method introspection/reflection implementation.
getIntrospector() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Return the Introspector for this RuntimeInstance
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.
getInvalidReferenceEventHandlers() - Method in class org.apache.velocity.app.event.EventCartridge
Iterate through all the stored InvalidReferenceEventHandlers objects
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, 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.
getJdkLevel(int) - Method in class org.apache.velocity.runtime.log.JdkLogChute
Returns the java.util.logging.Level that matches to the specified LogChute level.
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.EvaluateContext
Deprecated.
 
getKeys() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getKeys() - Method in class org.apache.velocity.context.ProxyVMContext
 
getKeys() - Method in class org.apache.velocity.test.misc.TestContext
 
getLast() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
getLastModified() - Method in class org.apache.velocity.anakia.AnakiaTask.Context
Retrieve the time the source file was last modified.
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.test.misc.ExceptionGeneratingResourceLoader
 
getLastToken() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
getLastToken() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
getLibraryName(String, String) - 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
 
getLine() - Method in interface org.apache.velocity.runtime.parser.CharStream
Deprecated. 
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.runtime.parser.VelocityCharStream
Deprecated. 
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 occured.
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 occured.
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 occured.
getList() - Method in class org.apache.velocity.anakia.NodeList
Retrieves the underlying list used to store the nodes.
getList() - Method in class org.apache.velocity.test.provider.TestProvider
 
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) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Determines is 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.
getLocale() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
getLocation(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
Return a string that tells the current location of this node.
getLog() - Static method in class org.apache.velocity.app.Velocity
Returns a convenient Log instance that wraps the current LogChute.
getLog() - Method in class org.apache.velocity.app.VelocityEngine
Returns a convenient Log instance that wraps the current LogChute.
getLog() - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns a convenient Log instance that wraps the current LogChute.
getLog() - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns a convenient Log instance that wraps the current LogChute.
getLog() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns a convenient Log instance that wraps the current LogChute.
getLog() - Method in class org.apache.velocity.test.misc.TestLogChute
Return the captured log messages to date.
getLogChute() - Method in class org.apache.velocity.runtime.log.Log
Returns the LogChute wrapped by this Log instance.
getLogChute() - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
make sure that we always use the right LogChute Object
getLogChute() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
getLogFile() - Method in class org.apache.velocity.texen.ant.TexenTask
Gets the log file.
getLoginTimeout() - Method in class org.apache.velocity.test.sql.HsqlDataSource
 
getLogString() - Static method in class org.apache.velocity.test.EventHandlingTestCase
 
getLogWriter() - Method in class org.apache.velocity.test.sql.HsqlDataSource
 
getMacroLibraries() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getMacroLibraries() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getMacroLibraries() - Method in class org.apache.velocity.context.InternalContextBase
 
getMacroLibraries() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
Get the macro library list for the current template.
getMacroNameStack() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
getMacroNameStack() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
getMacroNameStack() - Method in class org.apache.velocity.context.InternalContextBase
get the current macro name stack
getMacroNameStack() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
Returns the macro name stack in form of an array.
getMajorVersion() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeHtmlReference
 
getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeJavaScriptReference
 
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
 
getMax() - Method in class org.apache.velocity.util.SimplePool
Return the size of the pool
getMenu() - Method in class org.apache.velocity.test.provider.TestProvider
 
getMessage() - Method in exception org.apache.velocity.exception.MethodInvocationException
 
getMessage() - Method in exception org.apache.velocity.exception.ParseErrorException
Return our custum 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.
getMessage() - Method in exception org.apache.velocity.test.misc.UberspectTestException
 
getMessage() - Method in class org.apache.velocity.test.sql.DataSourceResourceLoaderTestCase.DSRLTCTool
 
getMethod() - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
 
getMethod() - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
 
getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.test.misc.UberspectTestImpl
 
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(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
getMethodExceptionEventHandlers() - Method in class org.apache.velocity.app.event.EventCartridge
Iterate through all the stored MethodExceptionEventHandler objects
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'
getMimeType(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getMinorVersion() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getModificationCheckInterval() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Get the interval at which the InputStream source should be checked for modifications.
getName() - Method in class org.apache.velocity.anakia.AnakiaTask.Context
Get the name of the context.
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.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.Literal
Deprecated.
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
 
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.
getName() - Method in class org.apache.velocity.test.misc.ExceptionGeneratingDirective
 
getName() - Method in class org.apache.velocity.test.provider.Child
 
getName() - Method in class org.apache.velocity.test.provider.Person
 
getName() - Method in class org.apache.velocity.test.provider.TestProvider
 
getNamedDispatcher(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getNewInstance(String) - Static method in class org.apache.velocity.util.ClassUtils
Return a new instance of the given class.
getNext() - Method in class org.apache.velocity.test.StrictReferenceTestCase.Fargo
 
getNextToken() - Method in class org.apache.velocity.runtime.parser.Parser
Get the next Token.
getNextToken() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
Get the next Token.
getNull() - Method in class org.apache.velocity.test.StrictEscapeTestCase.Animal
 
getNullSetEventHandlers() - Method in class org.apache.velocity.app.event.EventCartridge
Iterate through all the stored NullSetEventHandler objects
getNullVal() - Method in class org.apache.velocity.test.StrictReferenceTestCase.Fargo
 
getNumArgs() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
returns the number of ars needed for this VM
getOutputDirectory() - Method in class org.apache.velocity.texen.ant.TexenTask
Get the output directory.
getOutputFile() - Method in class org.apache.velocity.texen.ant.TexenTask
Get the output file for the generation process.
getOutputPath() - Method in class org.apache.velocity.texen.Generator
Get the output path for the generated output.
getOutputStream() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
getPackageAsPath(String) - Static method in class org.apache.velocity.util.StringUtils
Return a package name as a relative path name
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.
getPerson() - Method in class org.apache.velocity.test.provider.TestProvider
 
getPool() - Method in class org.apache.velocity.util.SimplePool
for testing purposes, so we can examine the pool
getPrefix(int) - Method in class org.apache.velocity.runtime.log.SystemLogChute
 
getpremium() - Method in class org.apache.velocity.test.misc.UberspectorTestObject
 
getProp() - Method in class org.apache.velocity.test.StrictReferenceTestCase.Fargo
 
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) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Allows an external caller to get a 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() - Method in class org.apache.velocity.test.SecureIntrospectionTestCase
 
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.test.misc.UberspectTestImpl
 
getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.LinkedUberspector
 
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.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
getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.test.util.introspection.ChainedUberspectorsTestCase.ChainedUberspector
 
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.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
GetPutObject - Class in org.apache.velocity.test.misc
 
GetPutObject() - Constructor for class org.apache.velocity.test.misc.GetPutObject
 
getRealPath(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getReferenceInsertionEventHandlers() - Method in class org.apache.velocity.app.event.EventCartridge
Iterate through all the stored ReferenceInsertionEventHandler objects
getReferenceName() - Method in exception org.apache.velocity.exception.MethodInvocationException
Retrieves the name of the reference that caused the exception.
getRegular() - Method in class org.apache.velocity.test.misc.UberspectorTestObject
 
getRelSearches() - Method in class org.apache.velocity.test.provider.TestProvider
 
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.
getRepo(String, VelocityEngine) - Method in class org.apache.velocity.test.StringResourceLoaderRepositoryTestCase
 
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.
getRequestDispatcher(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
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.
getResource(String, int) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
getResource(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getResourceAsStream(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
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
getResourcePaths(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Get the InputStream that the Runtime will parse to create a template.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Get an InputStream so that the Runtime can build a template with it.
getResourceStream(String) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingResourceLoader
 
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
getReturnValue() - Method in interface org.apache.velocity.app.event.EventHandlerMethodExecutor
Get return value at end of all the iterations
getReturnValue() - Method in class org.apache.velocity.app.event.IncludeEventHandler.IncludeEventExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor
 
getReturnValue() - Method in class org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
getRootString() - Method in class org.apache.velocity.runtime.parser.node.ASTReference
Returns the 'root string', the reference key
getRuntimeInstance() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Deprecated.
Use getRuntimeServices() instead.
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() - 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".
getSearch() - Method in class org.apache.velocity.test.provider.TestProvider
 
getServerInfo() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getServlet(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getServletConfig() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockVelocityServlet
 
getServletContext() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletConfig
 
getServletContextName() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getServletName() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletConfig
 
getServletNames() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getServlets() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
getShowStackTraces() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
getSpecialText(Token) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
Collect all the s that are carried along with a token.
getStack() - Method in class org.apache.velocity.test.provider.TestProvider
 
getStateFalse() - Method in class org.apache.velocity.test.provider.TestProvider
 
getStateTrue() - Method in class org.apache.velocity.test.provider.TestProvider
 
getString(String, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
String property accessor method with default to hide the configuration implementation.
getString(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
String property accessor method to hide the configuration implementation
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
getStringRepository() - Method in class org.apache.velocity.test.BaseTestCase
 
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
 
getSystemErrLevel() - Method in class org.apache.velocity.runtime.log.SystemLogChute
Returns the current minimum level at which messages will be printed to System.err instead of System.out.
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.Scope.Info
 
getTemplate(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Returns a Template from the resource manager.
getTemplate(String, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Returns a Template from the resource manager
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
getTemplate(String) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Retrieves the requested template.
getTemplate(String, String) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Retrieves the requested template with the specified character encoding.
getTemplate(String, String) - Method in class org.apache.velocity.texen.Generator
Returns a template, based on encoding and path.
getTemplateName() - Method in interface org.apache.velocity.exception.ExtendedParseException
returns the Template name where this exception occured.
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 occured.
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 occured.
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
 
getTemplateNameStack() - Method in class org.apache.velocity.context.InternalContextBase
get the current template name stack
getTemplateNameStack() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
Returns the template name stack in form of an array.
getTemplatePath() - Method in class org.apache.velocity.texen.ant.TexenTask
Get the path where Velocity will look for templates using the file template loader.
getTemplatePath() - Method in class org.apache.velocity.texen.Generator
Get the template path.
getTestCaseName(String) - Static method in class org.apache.velocity.test.BaseTestCase
Turns a base file name into a test case name.
getTestValue() - Method in interface org.apache.velocity.test.issues.VelTools66TestCase.TestInterface
 
getTestValue() - Method in class org.apache.velocity.test.issues.VelTools66TestCase.TestObject
 
getText(String) - Static method in class org.apache.velocity.anakia.Escape
Do the escaping.
getThrow() - Method in class org.apache.velocity.test.provider.TestProvider
 
getTime(long, String) - Method in class org.apache.velocity.runtime.log.VelocityFormatter
Utility method to format time.
getTimeout() - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
Returns the current, custom timeout setting.
getTitle() - Method in class org.apache.velocity.test.provider.TestProvider
 
getToken(int) - Method in class org.apache.velocity.runtime.parser.Parser
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.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.Literal
Deprecated.
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
 
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
 
getType() - Method in class org.apache.velocity.test.misc.ExceptionGeneratingDirective
 
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.
getUrlPath() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
getVariableValue(Context, String) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
 
getVector() - Method in class org.apache.velocity.test.provider.TestProvider
 
getVelocimacro(String, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.
getVelocimacro(String, String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.
getVelocimacro(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
getVelocimacro(String, String) - 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
getVelocimacro(String, String, String) - Method in class org.apache.velocity.runtime.VelocimacroFactory
 
getWrappedThrowable() - Method in exception org.apache.velocity.exception.VelocityException
returns the wrapped Throwable that caused this MethodInvocationException to be thrown
getWriter() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
getWriter(String, String) - Method in class org.apache.velocity.texen.Generator
Returns a writer, based on encoding and path.
getXPath(String) - Static method in class org.apache.velocity.anakia.XPathCache
Returns an XPath object representing the requested XPath expression.
globalCache - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Object implementing ResourceCache to be our resource manager's Resource cache.

H

Handler1 - Class in org.apache.velocity.test.eventhandler
This is a test set of event handlers, used to test event handler sequences.
Handler1() - Constructor for class org.apache.velocity.test.eventhandler.Handler1
 
Handler2 - Class in org.apache.velocity.test.eventhandler
This is a test set of event handlers, used to test event handler sequences.
Handler2() - Constructor for class org.apache.velocity.test.eventhandler.Handler2
 
handleRequest(HttpServletRequest, HttpServletResponse, Context) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Implement this method to add your application data to the context, calling the getTemplate() method to produce your return value.
handleRequest(Context) - Method in class org.apache.velocity.servlet.VelocityServlet
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.
HAS_NEXT_NAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Iterator.hasNext() reference name in #foreach directives.
HASH - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
hashCode() - Method in class org.apache.velocity.anakia.NodeList
Returns the hash code of the contained list.
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.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.
HoldingLogChute - Class in org.apache.velocity.runtime.log
Pre-init logger.
HoldingLogChute() - Constructor for class org.apache.velocity.runtime.log.HoldingLogChute
 
HsqlDataSource - Class in org.apache.velocity.test.sql
 
HsqlDataSource(String) - Constructor for class org.apache.velocity.test.sql.HsqlDataSource
 
HsqlDB - Class in org.apache.velocity.test.sql
 
HsqlDB(String, String) - Constructor for class org.apache.velocity.test.sql.HsqlDB
 

I

i - Variable in class org.apache.velocity.test.Introspector2TestCase.Bar
 
icacheGet(Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
icacheGet(Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
icacheGet(Object) - Method in class org.apache.velocity.context.InternalContextBase
returns an IntrospectionCache Data (@see IntrospectionCacheData) object if exists for the key
icacheGet(Object) - Method in interface org.apache.velocity.context.InternalHousekeepingContext
returns an IntrospectionCache Data (@see IntrospectionCacheData) object if exists for the key
icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.InternalContextBase
places an IntrospectionCache Data (@see IntrospectionCacheData) element in the cache for specified key
icachePut(Object, IntrospectionCacheData) - Method in interface org.apache.velocity.context.InternalHousekeepingContext
places an IntrospectionCache Data (@see IntrospectionCacheData) element in the cache for specified key
icb - Variable in class org.apache.velocity.context.InternalContextAdapterImpl
the ICB we are wrapping.
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.Parser
This method corresponds to variable references in Velocity templates.
IDENTIFIER - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
IDENTIFIER_CHAR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
iec - Variable in class org.apache.velocity.context.InternalContextAdapterImpl
The InternalEventContext that we are wrapping.
IF_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
IfNullTestCase - Class in org.apache.velocity.test
Used to check that nulls are properly handled in #if statements
IfNullTestCase(String) - Constructor for class org.apache.velocity.test.IfNullTestCase
 
IfNullTestCase.NullToString - Class in org.apache.velocity.test
 
IfNullTestCase.NullToString() - Constructor for class org.apache.velocity.test.IfNullTestCase.NullToString
 
IfStatement() - Method in class org.apache.velocity.runtime.parser.Parser
 
ii(int, int) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
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.ParserConstants
Lexical state.
IN_MULTI_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
IN_SINGLE_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
IN_TEXTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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
 
IncludeErrorTestCase - Class in org.apache.velocity.test
Test that #parse and #include pass errors to calling code.
IncludeErrorTestCase(String) - Constructor for class org.apache.velocity.test.IncludeErrorTestCase
Default constructor.
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(String, String, String) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
Chseck to see if included file exists, and display "not found" page if it doesn't.
includeEvent(String, String, String) - Method in class org.apache.velocity.app.event.implement.IncludeRelativePath
Return path relative to the current template's path.
includeEvent(String, String, String) - Method in interface org.apache.velocity.app.event.IncludeEventHandler
Called when an include-type directive is encountered ( #include or #parse).
includeEvent(String, String, String) - Method in class org.apache.velocity.test.eventhandler.Handler1
 
includeEvent(String, String, String) - Method in class org.apache.velocity.test.eventhandler.Handler2
 
includeEvent(String, String, String) - Method in class org.apache.velocity.test.IncludeEventHandlingTestCase
Sample handler with different behaviors for the different tests.
includeEvent(String, String, String) - Method in class org.apache.velocity.test.issues.Velocity758TestCase.Handler
 
includeEvent(String, String, String) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingEventHandler
 
IncludeEventHandler - Interface in org.apache.velocity.app.event
Event handler for include type directives (e.g.
IncludeEventHandler.IncludeEventExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for includeEvent
IncludeEventHandler.IncludeEventExecutor(Context, String, String, String) - Constructor for class org.apache.velocity.app.event.IncludeEventHandler.IncludeEventExecutor
 
IncludeEventHandlingTestCase - Class in org.apache.velocity.test
Tests event handling
IncludeEventHandlingTestCase(String) - Constructor for class org.apache.velocity.test.IncludeEventHandlingTestCase
Default constructor.
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
 
index - Variable in class org.apache.velocity.runtime.directive.ForeachScope
 
Index() - Method in class org.apache.velocity.runtime.parser.Parser
 
INDEX_LBRACKET - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
INDEX_RBRACKET - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
indexOf(Object) - Method in class org.apache.velocity.anakia.NodeList
 
IndexParameter() - Method in class org.apache.velocity.runtime.parser.Parser
A Simplified parameter more suitable for an index position: $foo[$index]
IndexTestCase - Class in org.apache.velocity.test
Test index syntax e.g, $foo[1]
IndexTestCase(String) - Constructor for class org.apache.velocity.test.IndexTestCase
 
IndexTestCase.Boo - Class in org.apache.velocity.test
 
IndexTestCase.Boo() - Constructor for class org.apache.velocity.test.IndexTestCase.Boo
 
IndexTestCase.Foo - Class in org.apache.velocity.test
 
IndexTestCase.Foo() - Constructor for class org.apache.velocity.test.IndexTestCase.Foo
 
inDirective - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
info(Object) - Static method in class org.apache.velocity.app.Velocity
Deprecated.
Use getLog() and call info() on it.
info(Object) - Method in class org.apache.velocity.app.VelocityEngine
Deprecated.
Use getLog() and call warn() on it.
info(Object) - Method in class org.apache.velocity.runtime.log.Log
Log an info message.
info(Object, Throwable) - Method in class org.apache.velocity.runtime.log.Log
Log an info message and accompanying Throwable.
info(boolean, Object) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log an info message.
info(boolean, Object, Throwable) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
Log an info message and accompanying Throwable.
info(Object) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
info(Object, Throwable) - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
info - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
info(Object) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Log an info message.
info(Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
Deprecated.
Use getLog() and call info() on it.
info(Object) - Method in interface org.apache.velocity.runtime.RuntimeLogger
Deprecated.
Use Log.info(Object)
info(Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Deprecated.
Use getLog() and call info() on it.
info(String) - Method in class org.apache.velocity.test.BaseTestCase
 
info(String, Throwable) - Method in class org.apache.velocity.test.BaseTestCase
 
info - Variable in exception org.apache.velocity.test.misc.UberspectTestException
 
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
 
INFO_ID - Static variable in interface org.apache.velocity.runtime.log.LogChute
ID for info messages.
INFO_ID - Static variable in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
ID for info messages.
INFO_PREFIX - Static variable in interface org.apache.velocity.runtime.log.LogChute
Prefix string for info messages.
INFO_PREFIX - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Deprecated.
Use LogChute.INFO_PREFIX instead
InfoTestCase - Class in org.apache.velocity.test
Test that the Info class in the Introspector holds the correct information.
InfoTestCase(String) - Constructor for class org.apache.velocity.test.InfoTestCase
Default constructor.
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, 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
simple init - init the tree and get the elementKey from the AST
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.Literal
Deprecated.
Store the literal rendition of a node using the Node.literal().
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, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
Intialize 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(RuntimeServices) - Method in class org.apache.velocity.runtime.log.AvalonLogChute
 
init(String) - Method in class org.apache.velocity.runtime.log.AvalonLogChute
Deprecated.
This method should not be used. It is here only to provide backwards compatibility for the deprecated AvalonLogSystem class, in case anyone used it and this method directly.
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.CommonsLogLogChute
LogChute methods
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.HoldingLogChute
 
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.JdkLogChute
 
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.Log4JLogChute
 
init(RuntimeServices) - Method in interface org.apache.velocity.runtime.log.LogChute
Initializes this LogChute.
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.LogChuteSystem
 
init(RuntimeServices) - Method in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
Initializes this LogSystem.
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.NullLogChute
 
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.ServletLogChute
init()
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
Deprecated.
 
init(RuntimeServices) - Method in class org.apache.velocity.runtime.log.SystemLogChute
 
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.ASTEscape
 
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.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.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.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 interface org.apache.velocity.runtime.parser.node.Node
 
init(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
This is abstract in the base class, so we need it
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
 
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
 
init() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
 
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
Called by Velocity to initialize the loader
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Initialize the template loader with a a resources class.
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
 
init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
 
init() - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
This is the primary initialization method in the Velocity Runtime.
init(Properties) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Initialize the Velocity Runtime with a Properties object.
init(String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Initialize the Velocity Runtime with the name of ExtendedProperties object.
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 the name of ExtendedProperties object.
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 ExtendedProperties 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 ExtendedProperties object.
init(ServletConfig) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Performs initialization of this servlet.
init(RuntimeServices) - Method in class org.apache.velocity.test.ClassloaderChangeTestCase
 
init(RuntimeServices) - Method in class org.apache.velocity.test.EventHandlingTestCase
Required by LogChute
init(RuntimeServices) - Method in class org.apache.velocity.test.ExternalLoggerTestCase
 
init(RuntimeServices) - Method in class org.apache.velocity.test.FilteredEventHandlingTestCase
Required by LogChute
init(RuntimeServices) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
init(ExtendedProperties) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingResourceLoader
 
init(RuntimeServices) - Method in class org.apache.velocity.test.misc.TestLogChute
 
init(RuntimeServices) - Method in class org.apache.velocity.test.NumberMethodCallsTestCase
 
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.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_PROPS_KEY - Static variable in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
This is the string that is looked for when getInitParameter is called (org.apache.velocity.properties).
initControlContext() - Method in class org.apache.velocity.texen.ant.TexenTask
Creates a VelocityContext.
initDocument() - Method in class org.apache.velocity.Template
initializes the document.
initialize(RuntimeServices) - Method in class org.apache.velocity.app.event.EventCartridge
Initialize the handlers.
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.
initializedHandlers - Variable in class org.apache.velocity.app.event.EventCartridge
Ensure that handlers are not initialized more than once.
initVelocimacro() - Method in class org.apache.velocity.runtime.VelocimacroFactory
initialize the factory - setup all permissions load all global libraries.
initVelocity(ServletConfig) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Initializes the Velocity runtime, first calling loadConfiguration(ServletConvig) to get a java.util.Properties of configuration information and then calling Velocity.init().
InlineScopeVMTestCase - Class in org.apache.velocity.test
Tests if the VM template-locality is working.
InlineScopeVMTestCase(String) - Constructor for class org.apache.velocity.test.InlineScopeVMTestCase
 
inner - Variable in class org.apache.velocity.util.introspection.AbstractChainableUberspector
The wrapped (decorated) uberspector.
innerContext - Variable in class org.apache.velocity.context.ChainedInternalContextAdapter
the parent context
innerContext - Variable in class org.apache.velocity.test.misc.TestContext
 
INPUT_ENCODING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The character encoding for the templates.
input_stream - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
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
 
inputEncoding - Variable in class org.apache.velocity.texen.ant.TexenTask
This is the encoding for the input file(s) (templates).
inputEncoding - Variable in class org.apache.velocity.texen.Generator
This is the encoding for the input file(s) (templates).
inSet - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
INTEGER_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
IntegerLiteral() - Method in class org.apache.velocity.runtime.parser.Parser
 
integerMethod(int) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
IntegerRange() - Method in class org.apache.velocity.runtime.parser.Parser
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(Object) - Method in class org.apache.velocity.context.AbstractContext
Implement to determine if a key is in the storage.
internalContainsKey(Object) - 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.
InternalContextBase - Class in org.apache.velocity.context
class to encapsulate the 'stuff' for internal operation of velocity.
InternalContextBase() - Constructor for class org.apache.velocity.context.InternalContextBase
 
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.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.VelocityContext
returns array of keys
InternalHousekeepingContext - Interface in org.apache.velocity.context
interface to encapsulate the 'stuff' for internal operation of velocity.
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.VelocityContext
stores the value for key to internal storage
internalRemove(Object) - Method in class org.apache.velocity.context.AbstractContext
I mplement to remove an item from your storage.
internalRemove(Object) - 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, Context) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
Deprecated.
this method isn't called by any class
INTERPOLATE_STRINGLITERALS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Switch for the interpolation facility for string literals.
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
 
IntrospectionCacheDataTestCase - Class in org.apache.velocity.test
Checks that arrays are cached correctly in the Introspector.
IntrospectionCacheDataTestCase() - Constructor for class org.apache.velocity.test.IntrospectionCacheDataTestCase
 
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(Log) - Constructor for class org.apache.velocity.util.introspection.Introspector
 
Introspector(RuntimeLogger) - Constructor for class org.apache.velocity.util.introspection.Introspector
Deprecated.
RuntimeLogger is deprecated. Use Introspector(Log log).
introspector - Variable in class org.apache.velocity.util.introspection.UberspectImpl
the default Velocity introspector
Introspector2TestCase - Class in org.apache.velocity.test
Test case for the Velocity Introspector which tests the ability to find a 'best match'
Introspector2TestCase(String) - Constructor for class org.apache.velocity.test.Introspector2TestCase
Creates a new instance.
Introspector2TestCase.Bar - Class in org.apache.velocity.test
 
Introspector2TestCase.Bar() - Constructor for class org.apache.velocity.test.Introspector2TestCase.Bar
 
Introspector2TestCase.Foo - Class in org.apache.velocity.test
 
Introspector2TestCase.Foo() - Constructor for class org.apache.velocity.test.Introspector2TestCase.Foo
 
Introspector2TestCase.Tester - Class in org.apache.velocity.test
 
Introspector2TestCase.Tester() - Constructor for class org.apache.velocity.test.Introspector2TestCase.Tester
 
Introspector2TestCase.Tester2 - Class in org.apache.velocity.test
 
Introspector2TestCase.Tester2() - Constructor for class org.apache.velocity.test.Introspector2TestCase.Tester2
 
Introspector2TestCase.Woogie - Interface in org.apache.velocity.test
 
Introspector3TestCase - Class in org.apache.velocity.test
Simple introspector test case for primitive problem found in 1.3
Introspector3TestCase(String) - Constructor for class org.apache.velocity.test.Introspector3TestCase
Creates a new instance.
Introspector3TestCase.MethodProvider - Class in org.apache.velocity.test
 
Introspector3TestCase.MethodProvider() - Constructor for class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
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(Log) - Constructor for class org.apache.velocity.util.introspection.IntrospectorBase
C'tor.
IntrospectorCache - Interface in org.apache.velocity.util.introspection
The introspector cache API definition.
IntrospectorCacheImpl - Class in org.apache.velocity.util.introspection
This is the internal introspector cache implementation.
IntrospectorCacheImpl(Log) - Constructor for class org.apache.velocity.util.introspection.IntrospectorCacheImpl
C'tor
IntrospectorTestCase - Class in org.apache.velocity.test
Test case for the Velocity Introspector which uses the Java Reflection API to determine the correct signature of the methods used in VTL templates.
IntrospectorTestCase(String) - Constructor for class org.apache.velocity.test.IntrospectorTestCase
Creates a new instance.
IntrospectorTestCase.MethodProvider - Class in org.apache.velocity.test
 
IntrospectorTestCase.MethodProvider() - Constructor for class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
ints - Static variable in class org.apache.velocity.runtime.parser.node.MathUtils
The Class-object is key, the maximum-value is the value
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.
InvalidEventHandlerTestCase - Class in org.apache.velocity.test
Tests event handling for all event handlers except IncludeEventHandler.
InvalidEventHandlerTestCase(String) - Constructor for class org.apache.velocity.test.InvalidEventHandlerTestCase
Default constructor.
InvalidEventHandlerTestCase.TestEventCartridge - Class in org.apache.velocity.test
Test assigning the event handlers via properties
InvalidEventHandlerTestCase.TestEventCartridge() - Constructor for class org.apache.velocity.test.InvalidEventHandlerTestCase.TestEventCartridge
 
InvalidEventHandlerTestCase.Tree - Class in org.apache.velocity.test
 
InvalidEventHandlerTestCase.Tree() - Constructor for class org.apache.velocity.test.InvalidEventHandlerTestCase.Tree
 
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.test.InvalidEventHandlerTestCase.TestEventCartridge
 
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.test.InvalidEventHandlerTestCase.TestEventCartridge
 
InvalidReferenceEventHandler - Interface in org.apache.velocity.app.event
Event handler called when an invalid reference is encountered.
InvalidReferenceEventHandler.InvalidGetMethodExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for invalidGetMethod
InvalidReferenceEventHandler.InvalidGetMethodExecutor(Context, String, Object, String, Info) - Constructor for class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor
 
InvalidReferenceEventHandler.InvalidMethodExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for invalidGetMethod
InvalidReferenceEventHandler.InvalidMethodExecutor(Context, String, Object, String, Info) - Constructor for class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor
 
InvalidReferenceEventHandler.InvalidSetMethodExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for invalidGetMethod
InvalidReferenceEventHandler.InvalidSetMethodExecutor(Context, String, String, Info) - Constructor for class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
 
invalidReferenceHandlerCall(EventHandlerMethodExecutor, RuntimeServices, InternalContextAdapter) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Calls event handler method with appropriate chaining across event handlers.
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
 
invalidReferences - Variable in class org.apache.velocity.app.event.implement.ReportInvalidReferences
List of InvalidReferenceInfo objects
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.test.InvalidEventHandlerTestCase.TestEventCartridge
 
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.SetExecutor
Tell whether the executor is alive by looking at the value of the method.
isAutoFlush() - Method in class org.apache.velocity.io.VelocityWriter
This method indicates whether the JspWriter is autoFlushing.
isBoolean() - Method in class org.apache.velocity.test.provider.BoolObj
 
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.
isCommitted() - Method in class org.apache.velocity.test.VelocityServletTestCase.MockHttpServletResponse
 
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.runtime.log.Log
Returns true if debug level messages will be printed by the LogChute.
isDebugEnabled() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
isDirective(String) - Method in class org.apache.velocity.runtime.parser.Parser
This method finds out of the directive exists in the directives Map.
isDone() - Method in interface org.apache.velocity.app.event.EventHandlerMethodExecutor
Called after execute() to see if iterating should stop.
isDone() - Method in class org.apache.velocity.app.event.IncludeEventHandler.IncludeEventExecutor
 
isDone() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor
 
isDone() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor
 
isDone() - Method in class org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
 
isDone() - Method in class org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
Only run the first MethodExceptionEventHandler
isDone() - Method in class org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor
 
isDone() - Method in class org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
Continue to end of event handler iteration
isEmpty() - Method in class org.apache.velocity.anakia.NodeList
 
isEmpty() - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
isErrorEnabled() - Method in class org.apache.velocity.runtime.log.Log
Returns true if error level messages will be printed by the LogChute.
isErrorEnabled() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
isFirst() - Method in class org.apache.velocity.runtime.directive.ForeachScope
 
isFoo() - Method in class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.isTool
 
isFor(Object) - Method in error org.apache.velocity.runtime.directive.StopCommand
 
isInfoEnabled() - Method in class org.apache.velocity.runtime.log.Log
Returns true if info level messages will be printed by the LogChute.
isInfoEnabled() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
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.
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.runtime.log.AvalonLogChute
Checks to see whether the specified level is enabled.
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.CommonsLogLogChute
Checks whether the specified log level is enabled.
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.HoldingLogChute
 
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.JdkLogChute
 
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.Log4JLogChute
 
isLevelEnabled(int) - Method in interface org.apache.velocity.runtime.log.LogChute
Tell whether or not a log level is enabled.
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.LogChuteSystem
 
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.NullLogChute
 
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.ServletLogChute
This will return true if the specified level is equal to or higher than the level this LogChute is enabled for.
isLevelEnabled(int) - Method in class org.apache.velocity.runtime.log.SystemLogChute
This will return true if the specified level is equal to or higher than the level this LogChute is enabled for.
isLevelEnabled(int) - Method in class org.apache.velocity.test.ClassloaderChangeTestCase
 
isLevelEnabled(int) - Method in class org.apache.velocity.test.EventHandlingTestCase
 
isLevelEnabled(int) - Method in class org.apache.velocity.test.ExternalLoggerTestCase
 
isLevelEnabled(int) - Method in class org.apache.velocity.test.FilteredEventHandlingTestCase
 
isLevelEnabled(int) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
isLevelEnabled(int) - Method in class org.apache.velocity.test.misc.TestLogChute
 
isMatch(String, String, String, String, String) - Method in class org.apache.velocity.test.BaseTestCase
Returns whether the processed template matches the content of the provided comparison file.
isMatch(String, String, String, String) - Method in class org.apache.velocity.test.BaseTestCase
Returns whether the processed template matches the content of the provided comparison file.
isMethodInvocationConvertible(Class, 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).
isNotboolean() - Method in class org.apache.velocity.test.provider.BoolObj
 
isNull(Object, Object) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Returns a default value if the object passed is null.
ispremiumBool() - Method in class org.apache.velocity.test.misc.UberspectorTestObject
 
isRegularBool() - Method in class org.apache.velocity.test.misc.UberspectorTestObject
 
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.Literal
Deprecated.
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.
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.test.misc.ExceptionGeneratingResourceLoader
 
isStrictMethodInvocationConvertible(Class, 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.runtime.log.Log
Returns true if trace level messages will be printed by the LogChute.
isTraceEnabled() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
isTrue() - Method in class org.apache.velocity.test.issues.Velocity544TestCase.Foobar
 
isTrueObject() - Method in class org.apache.velocity.test.issues.Velocity544TestCase.Foobar
 
isVarArg - Variable in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
isVarArg() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
isVelocimacro(String, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Checks to see if a VM exists
isVelocimacro(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Checks to see if a VM exists
isVelocimacro(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Checks to see if a VM exists
isVelocimacro(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Checks to see if a VM exists
isVelocimacro(String, String) - 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.runtime.log.Log
Returns true if warn level messages will be printed by the LogChute.
isWarnEnabled() - Method in class org.apache.velocity.runtime.log.RuntimeLoggerLog
Deprecated.
 
isWrapperFor(Class) - Method in class org.apache.velocity.test.sql.HsqlDataSource
 
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.anakia.NodeList
 
iterator() - Method in class org.apache.velocity.test.ForeachTestCase.MyIterable
 
iterator() - Method in class org.apache.velocity.test.ForeachTestCase.NotReallyIterable
 
iterator() - Method in class org.apache.velocity.test.StrictForeachTestCase.BadIterable
 
iterator() - Method in class org.apache.velocity.test.StrictForeachTestCase.GoodIterable
 
iterator() - Method in class org.apache.velocity.test.StrictForeachTestCase.UglyIterable
 

J

j - Variable in class org.apache.velocity.test.Introspector2TestCase.Foo
 
JarHolder - Class in org.apache.velocity.runtime.resource.loader
A small wrapper around a Jar
JarHolder(RuntimeServices, String) - 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
 
JdkLogChute - Class in org.apache.velocity.runtime.log
Implementation of a simple java.util.logging LogChute.
JdkLogChute() - Constructor for class org.apache.velocity.runtime.log.JdkLogChute
 
jj_nt - Variable in class org.apache.velocity.runtime.parser.Parser
Next token.
jjbitVec0 - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjbitVec2 - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjFillToken() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjmatchedKind - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjmatchedPos - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjnewLexState - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
Lex State array.
jjnewStateCnt - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjnextStates - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjround - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjstrLiteralImages - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
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.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.ASTEQNode
 
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.ASTGENode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTGTNode
 
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.ASTLENode
 
jjtAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTLTNode
 
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.ASTNENode
 
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.ParserTreeConstants
 
JJTANDNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTASSIGNMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
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.ParserTreeConstants
 
JJTDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTDIVNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTELSEIFSTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTELSESTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTEQNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTESCAPE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTESCAPEDDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTEXPRESSION - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTFALSE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTFLOATINGPOINTLITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTGENODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
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.ParserTreeConstants
 
JJTIDENTIFIER - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTIFSTATEMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTINDEX - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTINTEGERLITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTINTEGERRANGE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTLENODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTLTNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTMAP - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTMETHOD - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTMODNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTMULNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTNENODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
jjtNodeName - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTNOTNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTOBJECTARRAY - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
jjtoMore - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
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.ParserTreeConstants
 
jjtoSkip - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjtoSpecial - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
jjtoToken - Static variable in class org.apache.velocity.runtime.parser.ParserTokenManager
 
JJTParserState - Class in org.apache.velocity.runtime.parser
 
JJTParserState() - Constructor for class org.apache.velocity.runtime.parser.JJTParserState
 
JJTPROCESS - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
jjtree - Variable in class org.apache.velocity.runtime.parser.Parser
 
JJTREFERENCE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTSETDIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
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
 
JJTSTRINGLITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTSUBTRACTNODE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTTEXT - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTTEXTBLOCK - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTTRUE - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTVOID - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 
JJTWORD - Static variable in interface org.apache.velocity.runtime.parser.ParserTreeConstants
 

K

key - Variable in class org.apache.velocity.runtime.directive.Block
 
keySet() - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
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
 
lastIndexOf(Object) - Method in class org.apache.velocity.anakia.NodeList
 
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.ParserConstants
RegularExpression Id.
LCURLY - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LEFT_CURLEY - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LETTER - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LEXICAL_ERROR - Static variable in error org.apache.velocity.runtime.parser.TokenMgrError
Lexical error occured.
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.ParserTokenManager
Lexer state names.
lii(List, int, int) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
limitLen(int, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Limits 'string' to 'maxlen' characters.
limitLen(int, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Limits 'string' to 'maxlen' character.
LINE - Static variable in interface org.apache.velocity.runtime.directive.DirectiveConstants
Line directive indicator
LINE_SEPARATOR - Static variable in class org.apache.velocity.anakia.Escape
 
LinkingUberspector - Class in org.apache.velocity.util.introspection
When the runtime.introspection.uberspect 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.anakia.NodeList
 
listIterator(int) - Method in class org.apache.velocity.anakia.NodeList
 
Literal - Class in org.apache.velocity.runtime.directive
Deprecated.
Use the #[[unparsed content]]# syntax instead.
Literal() - Constructor for class org.apache.velocity.runtime.directive.Literal
Deprecated.
 
literal() - Method in interface org.apache.velocity.runtime.parser.node.Node
 
literal() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
 
literalText - Variable in class org.apache.velocity.runtime.directive.Literal
Deprecated.
 
ll(long, long) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
lll(List, long, List) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
lll(List, long, int) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
lll(List, long) - Method in class org.apache.velocity.test.Introspector3TestCase.MethodProvider
 
load(String) - Method in class org.apache.velocity.texen.util.PropertiesUtil
Load properties from either a file in the templatePath if there is one or the classPath.
loadConfiguration(ServletConfig) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
Use VelocityViewServlet from the Velocity Tools library instead.
loadConfiguration(ServletConfig) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockVelocityServlet
 
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.
loadFromClassPath(String) - Method in class org.apache.velocity.texen.util.PropertiesUtil
Load a properties file from the classpath
loadFromTemplatePath(String) - Method in class org.apache.velocity.texen.util.PropertiesUtil
Load a properties file from the templatePath defined in the generator.
loadResource(String, int, String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
Loads a resource from the current set of resource loaders.
localContext - Variable in class org.apache.velocity.context.EvaluateContext
Deprecated.
container for any local items
localcontext - Variable in class org.apache.velocity.context.ProxyVMContext
container for any local or constant macro arguments.
localPut(String, Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
localPut(String, Object) - Method in class org.apache.velocity.context.EvaluateContext
Deprecated.
Allows callers to explicitly put objects in the local context.
localPut(String, Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
localPut(String, Object) - Method in interface org.apache.velocity.context.InternalWrapperContext
Allows callers to explicitly put objects in the local context.
localPut(String, Object) - Method in class org.apache.velocity.context.ProxyVMContext
Allows callers to explicitly put objects in the local context, no matter what the velocimacro.context.local setting says.
localPut(String, Object) - Method in class org.apache.velocity.runtime.directive.Foreach.NullHolderContext
Allows callers to explicitly put objects in the local context.
log - Variable in class org.apache.velocity.runtime.directive.Block
 
log(int, String) - Method in class org.apache.velocity.runtime.log.AvalonLogChute
logs messages
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.AvalonLogChute
logs messages and error
log - Variable in class org.apache.velocity.runtime.log.CommonsLogLogChute
the commons-logging Log instance
log(int, String) - Method in class org.apache.velocity.runtime.log.CommonsLogLogChute
Send a log message from Velocity.
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.CommonsLogLogChute
Send a log message from Velocity with an error.
log(int, String) - Method in class org.apache.velocity.runtime.log.HoldingLogChute
Logs messages.
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.HoldingLogChute
Logs messages and errors.
log(int, String) - Method in class org.apache.velocity.runtime.log.JdkLogChute
Logs messages
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.JdkLogChute
Send a log message from Velocity along with an exception or error
Log - Class in org.apache.velocity.runtime.log
Convenient wrapper for LogChute functions.
Log() - Constructor for class org.apache.velocity.runtime.log.Log
Creates a new Log that wraps a HoldingLogChute.
Log(LogChute) - Constructor for class org.apache.velocity.runtime.log.Log
Creates a new Log that wraps the specified LogChute.
log(int, Object) - Method in class org.apache.velocity.runtime.log.Log
 
log(int, Object, Throwable) - Method in class org.apache.velocity.runtime.log.Log
 
log(int, String) - Method in class org.apache.velocity.runtime.log.Log4JLogChute
logs messages
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.Log4JLogChute
 
log(int, String) - Method in interface org.apache.velocity.runtime.log.LogChute
Send a log message from Velocity.
log(int, String, Throwable) - Method in interface org.apache.velocity.runtime.log.LogChute
Send a log message from Velocity along with an exception or error
log(int, String) - Method in class org.apache.velocity.runtime.log.LogChuteSystem
 
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.LogChuteSystem
First passes off the message at the specified level, then passes off stack trace of the Throwable as a 2nd message at the same level.
log(int, Object) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
 
log(boolean, int, Object) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
 
log(int, Object, Throwable) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
 
log(boolean, int, Object, Throwable) - Method in class org.apache.velocity.runtime.log.LogDisplayWrapper
 
log(int, String) - Method in class org.apache.velocity.runtime.log.NullLogChute
logs messages to the great Garbage Collector in the sky
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.NullLogChute
logs messages and their accompanying Throwables to the great Garbage Collector in the sky
log(int, String) - Method in class org.apache.velocity.runtime.log.ServletLogChute
Send a log message from Velocity.
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.ServletLogChute
 
log(int, String) - Method in class org.apache.velocity.runtime.log.SystemLogChute
Logs messages to either std.out or std.err depending on their severity.
log(int, String, Throwable) - Method in class org.apache.velocity.runtime.log.SystemLogChute
Logs messages to the system console so long as the specified level is equal to or greater than the level this LogChute is enabled for.
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.ResourceManagerImpl
Logging.
log - Variable in class org.apache.velocity.test.BaseTestCase
 
log(String) - Method in class org.apache.velocity.test.BuiltInEventHandlerTestCase
 
log(int, String) - Method in class org.apache.velocity.test.ClassloaderChangeTestCase
method to catch Velocity log messages.
log(int, String, Throwable) - Method in class org.apache.velocity.test.ClassloaderChangeTestCase
method to catch Velocity log messages.
log(int, String) - Method in class org.apache.velocity.test.EventHandlingTestCase
handler for LogChute interface
log(int, String, Throwable) - Method in class org.apache.velocity.test.EventHandlingTestCase
 
log(int, String) - Method in class org.apache.velocity.test.ExternalLoggerTestCase
 
log(int, String, Throwable) - Method in class org.apache.velocity.test.ExternalLoggerTestCase
 
log(int, String) - Method in class org.apache.velocity.test.FilteredEventHandlingTestCase
handler for LogChute interface
log(int, String, Throwable) - Method in class org.apache.velocity.test.FilteredEventHandlingTestCase
 
log(String) - Static method in class org.apache.velocity.test.issues.VelTools66TestCase
 
log(String) - Method in class org.apache.velocity.test.MethodInvocationExceptionTestCase
 
log(int, String) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
log(int, String, Throwable) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
log(Exception, String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
log(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
log(String, Throwable) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
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.
Log4JLogChute - Class in org.apache.velocity.runtime.log
Implementation of a simple log4j system that will either latch onto an existing category, or just do a simple rolling file log.
Log4JLogChute() - Constructor for class org.apache.velocity.runtime.log.Log4JLogChute
 
Log4JLogSystem - Class in org.apache.velocity.runtime.log
Deprecated.
Use Log4JLogChute instead.
Log4JLogSystem() - Constructor for class org.apache.velocity.runtime.log.Log4JLogSystem
Deprecated.
 
LogChute - Interface in org.apache.velocity.runtime.log
Base interface that logging systems need to implement.
LOGCHUTE_COMMONS_LOG_NAME - Static variable in class org.apache.velocity.runtime.log.CommonsLogLogChute
Property key for specifying the name for the log instance
LogChuteSystem - Class in org.apache.velocity.runtime.log
Wrapper to make user's custom LogSystem implementations work with the new LogChute setup.
LogChuteSystem(LogSystem) - Constructor for class org.apache.velocity.runtime.log.LogChuteSystem
Only classes in this package should be creating this.
logData - Variable in class org.apache.velocity.test.MethodOverloadingTestCase
 
LogDisplayWrapper - Class in org.apache.velocity.runtime.log
This is a wrapper around a log object, that can add a prefix to log messages and also turn logging on and off dynamically.
LogDisplayWrapper(Log, String, boolean) - Constructor for class org.apache.velocity.runtime.log.LogDisplayWrapper
Create a new LogDisplayWrapper
logFile - Variable in class org.apache.velocity.texen.ant.TexenTask
The LogFile (incl.
logger - Variable in class org.apache.velocity.runtime.log.JdkLogChute
 
logger - Variable in class org.apache.velocity.runtime.log.Log4JLogChute
Log4J logging API.
logger - Variable in class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
Deprecated.
log4java logging interface
LOGICAL_AND - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_EQUALS - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_GE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_GT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_LE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_LT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_NOT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_NOT_EQUALS - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LOGICAL_OR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
LogManager - Class in org.apache.velocity.runtime.log
This class is responsible for instantiating the correct LogChute
LogManager() - Constructor for class org.apache.velocity.runtime.log.LogManager
 
logOnNull - Variable in class org.apache.velocity.runtime.parser.node.ASTSetDirective
 
LogSystem - Interface in org.apache.velocity.runtime.log
Deprecated.
Use LogChute instead!
logVelocityMessage(int, String) - Method in class org.apache.velocity.runtime.log.AvalonLogSystem
Deprecated.
Use log(level, message).
logVelocityMessage(int, String) - Method in class org.apache.velocity.runtime.log.Log4JLogSystem
Deprecated.
Use log(level, message).
logVelocityMessage(int, String) - Method in interface org.apache.velocity.runtime.log.LogSystem
Deprecated.
Use log(level, message).
logVelocityMessage(int, String) - Method in class org.apache.velocity.runtime.log.NullLogSystem
Deprecated.
Use log(level, message).
logVelocityMessage(int, String) - Method in class org.apache.velocity.runtime.log.PrimordialLogSystem
Deprecated.
Use log(level, message).
logVelocityMessage(int, String) - Method in class org.apache.velocity.runtime.log.SimpleLog4JLogSystem
Deprecated.
logs messages
longMethod(long) - Method in class org.apache.velocity.test.IntrospectorTestCase.MethodProvider
 
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.ParserConstants
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
 
MacroForwardDefineTestCase - Class in org.apache.velocity.test
Make sure that a forward referenced macro inside another macro definition does not report an error in the log.
MacroForwardDefineTestCase(String) - Constructor for class org.apache.velocity.test.MacroForwardDefineTestCase
Default constructor.
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(Throwable) - 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(StringBuffer, String[]) - Static method in class org.apache.velocity.runtime.directive.Macro
For debugging purposes.
main(String[]) - Static method in class org.apache.velocity.convert.WebMacro
Deprecated.
Main hook for the conversion process.
makeAlternator(String, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Makes an alternator object that alternates between two values.
makeAlternator(String, String, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Makes an alternator object that alternates between three values.
makeAlternator(String, String, String, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Makes an alternator object that alternates between four values.
makeAutoAlternator(String, String, String) - Method in class org.apache.velocity.app.tools.VelocityFormatter
Deprecated.
Makes an alternator object that alternates between two values automatically.
makeScope(Object) - Method in class org.apache.velocity.runtime.directive.Directive
 
Map() - Method in class org.apache.velocity.runtime.parser.Parser
for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})
map() - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
MapFactory - Class in org.apache.velocity.util
Factory class for creating Maps.
MapFactory() - Constructor for class org.apache.velocity.util.MapFactory
 
MapGetExecutor - Class in org.apache.velocity.runtime.parser.node
GetExecutor that is smart about Maps.
MapGetExecutor(Log, Class, 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(Log, 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
 
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 - Variable in class org.apache.velocity.runtime.ParserPoolImpl
 
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
 
me() - Method in class org.apache.velocity.test.provider.TestProvider
 
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) - Method in class org.apache.velocity.Template
The AST node structure is merged with the context to produce the final output.
mergeTemplate(String, Context, Writer) - Static method in class org.apache.velocity.app.Velocity
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, Context, Writer) - Method in class org.apache.velocity.app.VelocityEngine
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(Template, Context, HttpServletResponse) - Method in class org.apache.velocity.servlet.VelocityServlet
Deprecated.
merges the template with the context.
Method() - Method in class org.apache.velocity.runtime.parser.Parser
This method has yet to be fully implemented but will allow arbitrarily nested method calls
method - Variable in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
 
methodByNameMap - Variable in class org.apache.velocity.util.introspection.MethodMap
Keep track of all methods with the same name.
MethodCacheKeyTestCase - Class in org.apache.velocity.test
Checks that the equals method works correctly when caching method keys.
MethodCacheKeyTestCase() - Constructor for class org.apache.velocity.test.MethodCacheKeyTestCase
 
methodException(RuntimeServices, InternalContextAdapter, Class, String, Exception) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called when a method exception is generated during Velocity merge.
methodException(Class, String, Exception) - Method in class org.apache.velocity.app.event.implement.PrintExceptions
Render the method exception, and optionally the exception message and stack trace.
methodException(Class, String, Exception) - Method in interface org.apache.velocity.app.event.MethodExceptionEventHandler
Called when a method throws an exception.
methodException(Class, String, Exception) - Method in class org.apache.velocity.test.eventhandler.Handler1
throw the exception
methodException(Class, String, Exception) - Method in class org.apache.velocity.test.eventhandler.Handler2
print the exception
methodException(Class, String, Exception) - Method in class org.apache.velocity.test.EventHandlingTestCase.TestEventCartridge
Handles exceptions thrown during in-template method access
methodException(Class, String, Exception) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingEventHandler
 
MethodExceptionEventHandler - Interface in org.apache.velocity.app.event
Event handler called when a method throws an exception.
MethodExceptionEventHandler.MethodExceptionExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for methodException
MethodExceptionEventHandler.MethodExceptionExecutor(Context, Class, String, Exception) - Constructor for class org.apache.velocity.app.event.MethodExceptionEventHandler.MethodExceptionExecutor
 
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
MethodInvocationExceptionTestCase - Class in org.apache.velocity.test
Tests if we can hand Velocity an arbitrary class for logging.
MethodInvocationExceptionTestCase(String) - Constructor for class org.apache.velocity.test.MethodInvocationExceptionTestCase
Default constructor.
MethodMap - Class in org.apache.velocity.util.introspection
 
MethodMap() - Constructor for class org.apache.velocity.util.introspection.MethodMap
 
MethodMap.AmbiguousException - Exception in org.apache.velocity.util.introspection
Simple distinguishable exception, used when we run across ambiguous overloading.
MethodMap.AmbiguousException() - Constructor for exception org.apache.velocity.util.introspection.MethodMap.AmbiguousException
 
MethodOverloadingTestCase - Class in org.apache.velocity.test
Test a reported bug in which method overloading throws IllegalArgumentException after a null return value.
MethodOverloadingTestCase(String) - Constructor for class org.apache.velocity.test.MethodOverloadingTestCase
Default constructor.
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.ParserConstants
RegularExpression Id.
MiscTestCase - Class in org.apache.velocity.test
Test case for any miscellaneous stuff.
MiscTestCase(String) - Constructor for class org.apache.velocity.test.MiscTestCase
 
mkdir(String) - Static method in class org.apache.velocity.texen.util.FileUtil
Creates the directory s (and any parent directories needed).
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.ParserConstants
RegularExpression Id.
MoreLexicalActions() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
 
MULTI_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
MultiLoaderTestCase - Class in org.apache.velocity.test
Load templates from the Classpath.
MultiLoaderTestCase(String) - Constructor for class org.apache.velocity.test.MultiLoaderTestCase
Default constructor.
MultipleFileResourcePathTestCase - Class in org.apache.velocity.test
Multiple paths in the file resource loader.
MultipleFileResourcePathTestCase(String) - Constructor for class org.apache.velocity.test.MultipleFileResourcePathTestCase
Default constructor.
MultiplicativeExpression() - Method in class org.apache.velocity.runtime.parser.Parser
 
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.ParserConstants
RegularExpression Id.

N

name - Variable in class org.apache.velocity.runtime.resource.Resource
Name of the resource
NEWLINE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
newStringEngine(String, boolean) - Method in class org.apache.velocity.test.StringResourceLoaderRepositoryTestCase
 
newToken(int) - Static method in class org.apache.velocity.runtime.parser.Token
Returns a new Token object, by default.
next - Variable in class org.apache.velocity.runtime.parser.Parser.JJCalls
 
next - Variable in class org.apache.velocity.runtime.parser.Token
A reference to the next regular (non-special) token from the input stream.
next - Variable in class org.apache.velocity.test.StrictReferenceTestCase.Fargo
 
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).
NO_BUFFER - Static variable in class org.apache.velocity.io.VelocityWriter
constant indicating that the Writer is not buffering output
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.JJTParserState
 
nodeCreated() - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
NodeList - Class in org.apache.velocity.anakia
Provides a class for wrapping a list of JDOM objects primarily for use in template engines and other kinds of text transformation tools.
NodeList() - Constructor for class org.apache.velocity.anakia.NodeList
Creates an empty node list.
NodeList(Document) - Constructor for class org.apache.velocity.anakia.NodeList
Creates a node list that holds a single Document node.
NodeList(Element) - Constructor for class org.apache.velocity.anakia.NodeList
Creates a node list that holds a single Element node.
NodeList(List) - Constructor for class org.apache.velocity.anakia.NodeList
Creates a node list that holds a list of nodes.
NodeList(List, boolean) - Constructor for class org.apache.velocity.anakia.NodeList
Creates a node list that holds a list of nodes.
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
 
normalizeNewlines(String) - Method in class org.apache.velocity.test.BaseTestCase
Normalizes lines to account for platform differences.
normalizePath(String) - Static method in class org.apache.velocity.util.StringUtils
Return a context-relative path, beginning with a "/", that represents the canonical version of the specified path after ".." and "." elements are resolved out.
notfound - Variable in class org.apache.velocity.app.event.implement.IncludeNotFound
 
NullLogChute - Class in org.apache.velocity.runtime.log
Logger used in case of failure.
NullLogChute() - Constructor for class org.apache.velocity.runtime.log.NullLogChute
 
NullLogSystem - Class in org.apache.velocity.runtime.log
Deprecated.
Use NullLogChute.
NullLogSystem() - Constructor for class org.apache.velocity.runtime.log.NullLogSystem
Deprecated.
 
NullSetEventHandler - Interface in org.apache.velocity.app.event
Event handler called when the RHS of #set is null.
NullSetEventHandler.ShouldLogOnNullSetExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for shouldLogOnNullSet
NullSetEventHandler.ShouldLogOnNullSetExecutor(Context, String, String) - Constructor for class org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor
 
NullToStringObject - Class in org.apache.velocity.test.provider
Used to confirm that a null to string is processed properly
NullToStringObject() - Constructor for class org.apache.velocity.test.provider.NullToStringObject
 
nullTrim(String) - Static method in class org.apache.velocity.util.StringUtils
Trim the string, but pass a null through.
NUMBER_OF_PARSERS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
The default number of parser instances to create.
NumberMethodCallsTestCase - Class in org.apache.velocity.test
Used to check that method calls with number parameters are executed correctly.
NumberMethodCallsTestCase(String) - Constructor for class org.apache.velocity.test.NumberMethodCallsTestCase
Default constructor.
NumberMethods - Class in org.apache.velocity.test.provider
Used to check that method calls with number parameters are executed correctly.
NumberMethods() - Constructor for class org.apache.velocity.test.provider.NumberMethods
 
numMethod(byte) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(short) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(int) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(double) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(long) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(BigInteger) - Method in class org.apache.velocity.test.provider.NumberMethods
 
numMethod(BigDecimal) - Method in class org.apache.velocity.test.provider.NumberMethods
 

O

ob - Variable in class org.apache.velocity.test.provider.TestProvider
 
objConcat(List) - Method in class org.apache.velocity.test.provider.TestProvider
 
ObjectArray() - Method in class org.apache.velocity.runtime.parser.Parser
 
objectArrayMethod(Object[]) - Method in class org.apache.velocity.test.provider.TestProvider
 
off() - Method in class org.apache.velocity.test.misc.TestLogChute
 
on() - Method in class org.apache.velocity.test.misc.TestLogChute
 
openNodeScope(Node) - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
org.apache.velocity - package org.apache.velocity
 
org.apache.velocity.anakia - package org.apache.velocity.anakia
 
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.app.tools - package org.apache.velocity.app.tools
 
org.apache.velocity.context - package org.apache.velocity.context
 
org.apache.velocity.convert - package org.apache.velocity.convert
 
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.log - package org.apache.velocity.runtime.log
 
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.servlet - package org.apache.velocity.servlet
 
org.apache.velocity.test - package org.apache.velocity.test
 
org.apache.velocity.test.eventhandler - package org.apache.velocity.test.eventhandler
 
org.apache.velocity.test.issues - package org.apache.velocity.test.issues
 
org.apache.velocity.test.misc - package org.apache.velocity.test.misc
 
org.apache.velocity.test.provider - package org.apache.velocity.test.provider
 
org.apache.velocity.test.sql - package org.apache.velocity.test.sql
 
org.apache.velocity.test.util.introspection - package org.apache.velocity.test.util.introspection
 
org.apache.velocity.test.view - package org.apache.velocity.test.view
 
org.apache.velocity.texen - package org.apache.velocity.texen
 
org.apache.velocity.texen.ant - package org.apache.velocity.texen.ant
 
org.apache.velocity.texen.util - package org.apache.velocity.texen.util
 
org.apache.velocity.util - package org.apache.velocity.util
 
org.apache.velocity.util.introspection - package org.apache.velocity.util.introspection
 
originalKeys - Variable in class org.apache.velocity.test.misc.TestContext
 
OUTPUT_ENCODING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Encoding for the output stream.
OUTPUT_PATH - Static variable in class org.apache.velocity.texen.Generator
Where the texen output will placed.
outputDirectory - Variable in class org.apache.velocity.texen.ant.TexenTask
This is where texen will place all the output that is a product of the generation process.
outputEncoding - Variable in class org.apache.velocity.texen.ant.TexenTask
This is the encoding for the output file(s).
outputEncoding - Variable in class org.apache.velocity.texen.Generator
This is the encoding for the output file(s).
outputFile - Variable in class org.apache.velocity.texen.ant.TexenTask
This is the file where the generated text will be placed.
outputString(Element, boolean) - Method in class org.apache.velocity.anakia.OutputWrapper
This method walks an Element tree into a String.
OutputWrapper - Class in org.apache.velocity.anakia
This class extends XMLOutputter in order to provide a way to walk an Element tree into a String.
OutputWrapper() - Constructor for class org.apache.velocity.anakia.OutputWrapper
Empty constructor
OutputWrapper(Format) - Constructor for class org.apache.velocity.anakia.OutputWrapper
 
overloadedMethod(Integer) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
overloadedMethod(String) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
overloadedMethod2(Integer) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
overloadedMethod2(String) - Method in class org.apache.velocity.test.MethodOverloadingTestCase
 
owner - Variable in class org.apache.velocity.runtime.directive.Scope
 

P

Parameter() - Method in class org.apache.velocity.runtime.parser.Parser
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
 
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, String) - Method in class org.apache.velocity.runtime.parser.Parser
This was also added to allow parsers to be re-usable.
parse(Reader, String) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Parse the input and return the root of AST node structure.
parse(Reader, String, boolean) - Static method in class org.apache.velocity.runtime.Runtime
Deprecated.
Parse the input and return the root of the AST node structure.
parse(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Parse the input and return the root of AST node structure.
parse(Reader, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
Parse the input and return the root of AST node structure.
parse(Reader, String, boolean) - Method in class org.apache.velocity.runtime.RuntimeInstance
Parse the input and return the root of the AST node structure.
parse(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Wraps the String in a StringReader and passes it off to RuntimeServices.parse(Reader,String).
parse(Reader, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
Parse the input and return the root of AST node structure.
parse(Reader, String, boolean) - Method in interface org.apache.velocity.runtime.RuntimeServices
Parse the input and return the root of the AST node structure.
parse(Reader, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Parse the input and return the root of AST node structure.
parse(Reader, String, boolean) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
Parse the input and return the root of the AST node structure.
parse(String, Object, String, String) - Method in class org.apache.velocity.test.provider.TestProvider
 
parse(String, String) - Method in class org.apache.velocity.texen.Generator
Parse an input and write the output to an output file.
parse(String, String, String, Object) - Method in class org.apache.velocity.texen.Generator
Parse an input and write the output to an output file.
parse(String, String, String, String, String, Object) - Method in class org.apache.velocity.texen.Generator
Parse an input and write the output to an output file.
parse(String, Context) - Method in class org.apache.velocity.texen.Generator
Parse the control template and merge it with the control context.
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
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
 
ParseExceptionTestCase - Class in org.apache.velocity.test
Test parser exception is generated with appropriate info.
ParseExceptionTestCase(String) - Constructor for class org.apache.velocity.test.ParseExceptionTestCase
Default constructor.
parser - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
 
Parser - Class in org.apache.velocity.runtime.parser
This class is responsible for parsing a Velocity template.
Parser(RuntimeServices) - Constructor for class org.apache.velocity.runtime.parser.Parser
This constructor was added to allow the re-use of parsers.
Parser(CharStream) - Constructor for class org.apache.velocity.runtime.parser.Parser
Constructor with user supplied CharStream.
Parser(ParserTokenManager) - Constructor for class org.apache.velocity.runtime.parser.Parser
Constructor with generated Token Manager.
Parser.JJCalls - Class in org.apache.velocity.runtime.parser
 
Parser.JJCalls() - Constructor for class org.apache.velocity.runtime.parser.Parser.JJCalls
 
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
 
ParserConstants - Interface in org.apache.velocity.runtime.parser
Token literal values and constants.
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
 
ParserTestCase - Class in org.apache.velocity.test
More specific parser tests where just templating isn't enough.
ParserTestCase(String) - Constructor for class org.apache.velocity.test.ParserTestCase
 
ParserTestCase.ToStringCounter - Class in org.apache.velocity.test
 
ParserTestCase.ToStringCounter() - Constructor for class org.apache.velocity.test.ParserTestCase.ToStringCounter
 
ParserTokenManager - Class in org.apache.velocity.runtime.parser
Token Manager.
ParserTokenManager(CharStream) - Constructor for class org.apache.velocity.runtime.parser.ParserTokenManager
Constructor.
ParserTokenManager(CharStream, int) - Constructor for class org.apache.velocity.runtime.parser.ParserTokenManager
Constructor.
ParserTreeConstants - Interface in org.apache.velocity.runtime.parser
 
ParserVisitor - Interface in org.apache.velocity.runtime.parser.node
Interface used in implementation of visitor pattern.
ParseWithMacroLibsTestCase - Class in org.apache.velocity.test
Test case for including macro libraries via the #parse method.
ParseWithMacroLibsTestCase(String) - Constructor for class org.apache.velocity.test.ParseWithMacroLibsTestCase
 
peekNode() - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
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
 
perLineREs - Static variable in class org.apache.velocity.convert.WebMacro
Deprecated.
The regexes to use for line by line substition.
Person - Class in org.apache.velocity.test.provider
Rudimentary class used in the testbed to test introspection with subclasses of a particular class.
Person() - Constructor for class org.apache.velocity.test.provider.Person
 
PLUS - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
plus() - Method in class org.apache.velocity.test.issues.Velocity615TestCase.Inc
 
pool - Variable in class org.apache.velocity.runtime.ParserPoolImpl
 
popCurrentMacroName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
popCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
popCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextBase
remove the current macro name from stack
popCurrentMacroName() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
remove the current macro name from stack
popCurrentTemplateName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
popCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
popCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextBase
remove the current template name from stack
popCurrentTemplateName() - Method in interface org.apache.velocity.context.InternalHousekeepingContext
remove the current template name from stack
popNode() - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
populateInitialContext(Context) - Method in class org.apache.velocity.texen.ant.TexenTask
Place useful objects into the initial context.
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.ParserConstants
Lexical state.
PREFIX - Static variable in class org.apache.velocity.runtime.log.ServletLogChute
 
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).
PrimaryExpression() - Method in class org.apache.velocity.runtime.parser.Parser
 
PrimordialLogSystem - Class in org.apache.velocity.runtime.log
Deprecated.
Use HoldingLogChute instead!
PrimordialLogSystem() - Constructor for class org.apache.velocity.runtime.log.PrimordialLogSystem
Deprecated.
 
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.Parser
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
prop - Variable in class org.apache.velocity.test.StrictReferenceTestCase.Fargo
 
PropertiesUtil - Class in org.apache.velocity.texen.util
A property utility class for the texen text/code generator Usually this class is only used from a Velocity context.
PropertiesUtil() - Constructor for class org.apache.velocity.texen.util.PropertiesUtil
 
PropertyExecutor - Class in org.apache.velocity.runtime.parser.node
Returned the value of object property when executed.
PropertyExecutor(Log, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.PropertyExecutor
 
PropertyExecutor(RuntimeLogger, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.PropertyExecutor
Deprecated.
RuntimeLogger is deprecated. Use the other constructor.
PropertyMethodPrecedenceTestCase - Class in org.apache.velocity.test
Used to check that vararg method calls on references work properly
PropertyMethodPrecedenceTestCase(String) - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase
 
PropertyMethodPrecedenceTestCase.get2getisTool - Class in org.apache.velocity.test
 
PropertyMethodPrecedenceTestCase.get2getisTool() - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.get2getisTool
 
PropertyMethodPrecedenceTestCase.getGetgetisTool - Class in org.apache.velocity.test
 
PropertyMethodPrecedenceTestCase.getGetgetisTool() - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.getGetgetisTool
 
PropertyMethodPrecedenceTestCase.GetgetisTool - Class in org.apache.velocity.test
 
PropertyMethodPrecedenceTestCase.GetgetisTool() - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.GetgetisTool
 
PropertyMethodPrecedenceTestCase.getisTool - Class in org.apache.velocity.test
 
PropertyMethodPrecedenceTestCase.getisTool() - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.getisTool
 
PropertyMethodPrecedenceTestCase.isTool - Class in org.apache.velocity.test
 
PropertyMethodPrecedenceTestCase.isTool() - Constructor for class org.apache.velocity.test.PropertyMethodPrecedenceTestCase.isTool
 
PROVIDE_SCOPE_CONTROL - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
Used to suppress various scope control objects.
ProxyVMContext - Class in org.apache.velocity.context
Context for Velocity macro arguments.
ProxyVMContext(InternalContextAdapter, RuntimeServices, boolean) - Constructor for class org.apache.velocity.context.ProxyVMContext
 
PUB_STAT_STRING - Static variable in class org.apache.velocity.test.provider.TestProvider
 
pushCurrentMacroName(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
pushCurrentMacroName(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
pushCurrentMacroName(String) - Method in class org.apache.velocity.context.InternalContextBase
set the current macro name on top of stack
pushCurrentMacroName(String) - Method in interface org.apache.velocity.context.InternalHousekeepingContext
set the current macro name on top of stack
pushCurrentTemplateName(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
pushCurrentTemplateName(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
pushCurrentTemplateName(String) - Method in class org.apache.velocity.context.InternalContextBase
set the current template name on top of stack
pushCurrentTemplateName(String) - Method in interface org.apache.velocity.context.InternalHousekeepingContext
set the current template name on top of stack
pushNode(Node) - Method in class org.apache.velocity.runtime.parser.JJTParserState
 
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.EvaluateContext
Deprecated.
Put method also stores values in local scope
put(String, Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
put(String, Object) - Method in class org.apache.velocity.context.ProxyVMContext
Impl of the Context.put() method.
put(String, Object, boolean) - Method in class org.apache.velocity.context.ProxyVMContext
Internal put method to select between local and global scope.
put(String, Object) - Method in class org.apache.velocity.runtime.directive.Foreach.NullHolderContext
 
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
 
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(Object) - Method in class org.apache.velocity.test.misc.GetPutObject
 
put(String, Object) - Method in class org.apache.velocity.test.misc.TestContext
 
put(String, Object) - Method in class org.apache.velocity.test.provider.TestProvider
Test the ability of vel to use a put(key) method for any object type, not just one that implements the Map interface.
put(String, String) - Method in class org.apache.velocity.test.StringResourceLoaderRepositoryTestCase.MyRepo
 
put(Class) - Method in interface org.apache.velocity.util.introspection.IntrospectorCache
Creates a class map for specific class and registers it in the cache.
put(Class) - Method in class org.apache.velocity.util.introspection.IntrospectorCacheImpl
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
putAll(Map) - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
PutExecutor - Class in org.apache.velocity.runtime.parser.node
Executor that simply tries to execute a put(key, value) operation.
PutExecutor(Log, 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

RBRACKET - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
RCURLY - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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
 
readAllBytes(InputStream, String) - Method in class org.apache.velocity.io.UnicodeInputStreamTestCase
 
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() - Method in class org.apache.velocity.runtime.parser.Parser
 
REFERENCE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
REFERENCE_TERMINATOR - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
referenceInsert(RuntimeServices, InternalContextAdapter, String, Object) - Static method in class org.apache.velocity.app.event.EventHandlerUtil
Called before a reference is inserted.
referenceInsert(String, Object) - Method in class org.apache.velocity.app.event.implement.EscapeReference
Escape the provided text if it matches the configured regular expression.
referenceInsert(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(String, Object) - Method in class org.apache.velocity.test.eventhandler.Handler1
display output twice, once uppercase and once lowercase
referenceInsert(String, Object) - Method in class org.apache.velocity.test.eventhandler.Handler2
convert output to upper case
referenceInsert(String, Object) - Method in class org.apache.velocity.test.EventHandlingTestCase.TestEventCartridge
Event handler for when a reference is inserted into the output stream.
referenceInsert(String, Object) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingEventHandler
 
ReferenceInsertionEventHandler - Interface in org.apache.velocity.app.event
Reference 'Stream insertion' event handler.
ReferenceInsertionEventHandler.referenceInsertExecutor - Class in org.apache.velocity.app.event
Defines the execution strategy for referenceInsert
ReferenceInsertionEventHandler.referenceInsertExecutor(Context, String, Object) - Constructor for class org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
REFINDEX - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
REFMOD - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
REFMOD2 - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
Lexical state.
REFMOD2_RPAREN - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
RegularExpression Id.
REFMODIFIER - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
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 class org.apache.velocity.runtime.parser.Parser
Reinitialise.
ReInit(ParserTokenManager) - Method in class org.apache.velocity.runtime.parser.Parser
Reinitialise.
ReInit(CharStream) - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
Reinitialise parser.
ReInit(CharStream, int) - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
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.Parser
 
remove(int) - Method in class org.apache.velocity.anakia.NodeList
 
remove(Object) - Method in class org.apache.velocity.anakia.NodeList
 
remove(Object) - Method in class org.apache.velocity.context.AbstractContext
Removes the value associated with the specified key from the context.
remove(Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
 
remove(Object) - Method in interface org.apache.velocity.context.Context
Removes the value associated with the specified key from the context.
remove(Object) - Method in class org.apache.velocity.context.EvaluateContext
Deprecated.
 
remove(Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
 
remove(Object) - Method in class org.apache.velocity.context.ProxyVMContext
 
remove(Object) - Method in class org.apache.velocity.runtime.directive.Foreach.NullHolderContext
Remove an object from the context
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(Object) - Method in class org.apache.velocity.test.issues.Velocity730TestCase.MyMapImpl
 
remove(Object) - Method in class org.apache.velocity.test.misc.TestContext
 
remove() - Method in class org.apache.velocity.util.ArrayIterator
No op--merely added to satify the Iterator interface.
remove() - Method in class org.apache.velocity.util.EnumerationIterator
Unimplemented.
removeAll(Collection) - Method in class org.apache.velocity.anakia.NodeList
 
removeAndHump(String) - Static method in class org.apache.velocity.util.StringUtils
'Camels Hump' replacement of underscores.
removeAndHump(String, String) - Static method in class org.apache.velocity.util.StringUtils
'Camels Hump' replacement.
removeAttribute(String) - Method in class org.apache.velocity.test.VelocityServletTestCase.MockServletContext
 
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
 
removeTemplate(String) - Method in class org.apache.velocity.test.BaseTestCase
 
removeUnderScores(String) - Static method in class org.apache.velocity.util.StringUtils
Deprecated.
Use the org.apache.commons.util.StringUtils class instead. Using its firstLetterCaps() method in conjunction with a StringTokenizer will achieve the same result.
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
 
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
Break directive does not actually do any rendering.
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.Literal
Deprecated.
Throw the literal rendition of the block between #literal()/#end into the writer.
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(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.
render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.test.misc.ExceptionGeneratingDirective
 
render(Template) - Method in class org.apache.velocity.test.StringResourceLoaderRepositoryTestCase
 
Renderable - Interface in org.apache.velocity.runtime
This interface caraterize objects other than ASTNodes that can be rendered to a writer using a context.
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
 
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.