- 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
- 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(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Break
-
Called by the parser to validate the argument types
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.contrib.For
-
We do not allow a word token in any other arg position except for the 2nd
since we are looking for the pattern #foreach($foo in $bar).
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Define
-
Called by the parser to validate the argument types
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Directive
-
The Parser calls this method during template parsing to check the arguments
types.
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Foreach
-
We do not allow a word token in any other arg position except for the 2nd since
we are looking for the pattern #foreach($foo in $bar).
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Macro
-
Check the argument types of a macro call, called by the parser to do validation
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Parse
-
Called by the parser to validate the argument types
- checkArgs(ArrayList<Integer>, Token, String) - Method in class org.apache.velocity.runtime.directive.Stop
-
Called by the parser to check the argument types
- checkArgumentCount(Node, int) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
Check whether the number of arguments given matches the number defined.
- checkDepth(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
check that we aren't already at the max call depth and throws
a MacroOverflowException if we are there.
- checkObjectExecutePermission(Class, String) - Method in interface org.apache.velocity.util.introspection.SecureIntrospectorControl
-
Determine which methods and classes to prevent from executing.
- checkObjectExecutePermission(Class, String) - Method in class org.apache.velocity.util.introspection.SecureIntrospectorImpl
-
Determine which methods and classes to prevent from executing.
- children - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- childrenAccept(ParserVisitor, Object) - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- childrenAccept(ParserVisitor, Object) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- 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.
- ClassFieldMap - Class in org.apache.velocity.util.introspection
-
A cache of introspection information for a specific class instance.
- ClassFieldMap(Class, Logger) - Constructor for class org.apache.velocity.util.introspection.ClassFieldMap
-
Standard constructor
- ClassMap - Class in org.apache.velocity.util.introspection
-
A cache of introspection information for a specific class instance.
- ClassMap(Class, Logger) - Constructor for class org.apache.velocity.util.introspection.ClassMap
-
Standard constructor
- className - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Class name for this loader, for logging/debuggin
purposes.
- ClasspathResourceLoader - Class in org.apache.velocity.runtime.resource.loader
-
ClasspathResourceLoader is a simple loader that will load
templates from the classpath.
- ClasspathResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-
- ClassUtils - Class in org.apache.velocity.util
-
Simple utility functions for manipulating classes and resources
from the classloader.
- clean(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.directive.Foreach
-
- clear() - Method in class org.apache.velocity.io.VelocityWriter
-
Discard the output buffer.
- clear() - Method in interface org.apache.velocity.runtime.resource.ResourceCache
-
Removes all of the resources from this cache.
- clear() - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
-
- clear() - Method in 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.
- 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) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Clear the values pertaining to a particular
property.
- clearProperty(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Clear the values pertaining to a particular
property.
- clearProperty(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Clear the values pertaining to a particular
property.
- clearProperty(String) - Method in class org.apache.velocity.util.ExtProperties
-
Clear a property in the configuration.
- clearRepositories() - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- 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.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
-
- closeNodeScope(Node, int) - Method in class org.apache.velocity.runtime.parser.JJTParserState
-
- closeNodeScope(Node, boolean) - Method in class org.apache.velocity.runtime.parser.JJTParserState
-
- 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.
- combine(ExtProperties) - Method in class org.apache.velocity.util.ExtProperties
-
Combines an existing Hashtable with this Hashtable.
- COMMA - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- Comment() - Method in class org.apache.velocity.runtime.parser.Parser
-
- commonInit(RuntimeServices, ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
-
- commonInit(RuntimeServices, ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
This initialization is used by all resource
loaders and must be called to set up common
properties shared by all resource loaders
- compare(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
-
Compare two numbers.
- compareNonNumber(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
-
- compareNonNumber(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
-
- compareNull(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
-
Always false by default, != and == subclasses must override this.
- compareNull(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTEQNode
-
- compareNumbers(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
-
- compile(String) - Method in class org.apache.velocity.script.VelocityScriptEngine
-
Compile a template
- compile(Reader) - Method in class org.apache.velocity.script.VelocityScriptEngine
-
Compile a template
- 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
-
- containsKey(String) - Method in class org.apache.velocity.context.AbstractContext
-
Indicates whether the specified key is in the context.
- containsKey(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- containsKey(String) - Method in interface org.apache.velocity.context.Context
-
Indicates whether the specified key is in the context.
- containsKey(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- containsKey(String) - Method in interface org.apache.velocity.context.InternalWrapperContext
-
Tests if the key exists in the specified scope
- ContentResource - Class in org.apache.velocity.runtime.resource
-
This class represent a general text resource that may have been
retrieved from any number of possible sources.
- ContentResource() - Constructor for class org.apache.velocity.runtime.resource.ContentResource
-
Default empty constructor
- Context - Interface in org.apache.velocity.context
-
Interface describing the application data context.
- context - Variable in class org.apache.velocity.runtime.visitor.BaseVisitor
-
Context used during traversal
- 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
- convertProperties(Properties) - Static method in class org.apache.velocity.util.ExtProperties
-
Convert a standard properties class into a configuration class.
- convertProperties(Map) - Static method in class org.apache.velocity.util.ExtProperties
-
Convert a Map into a configuration class.
- counterInitialValue - Variable in class org.apache.velocity.runtime.directive.contrib.For
-
- counterName - Variable in class org.apache.velocity.runtime.directive.contrib.For
-
- createBindings() - Method in class org.apache.velocity.script.VelocityScriptEngine
-
creates a new Bindings to be used with this script
- createNewParser() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns a JavaCC generated Parser.
- createNewParser() - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Create a new parser instance.
- createRepository(String, String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- createResource(String, int) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
Create a new Resource of the specified type.
- curChar - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
-
- currentTemplate - Variable in class org.apache.velocity.runtime.parser.Parser
-
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.
- 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.
- encoding - Variable in class org.apache.velocity.runtime.resource.Resource
-
Character encoding of this resource
- ENCODING_DEFAULT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Default Encoding is UTF-8 if not found in system.
- 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.
- END_TOKEN - Static variable in class org.apache.velocity.util.ExtProperties
-
- endColumn - Variable in class org.apache.velocity.runtime.parser.Token
-
The column number of the last character of this Token.
- endLine - Variable in class org.apache.velocity.runtime.parser.Token
-
The line number of the last character of this Token.
- engine - Variable in class org.apache.velocity.script.VelocityCompiledScript
-
- entrySet() - Method in class org.apache.velocity.runtime.directive.Scope
-
- enumerateKeys() - Method in interface org.apache.velocity.runtime.resource.ResourceCache
-
returns an Iterator of Keys in the cache.
- enumerateKeys() - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
-
- EnumerationIterator - Class in org.apache.velocity.util
-
An Iterator wrapper for an Enumeration.
- EnumerationIterator(Enumeration) - Constructor for class org.apache.velocity.util.EnumerationIterator
-
Creates a new iteratorwrapper instance for the specified
Enumeration.
- EOF - Static variable in interface org.apache.velocity.runtime.parser.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.runtime.parser.node.ASTMethod.MethodCacheKey
-
- EQUALS - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- error(String) - Method in class org.apache.velocity.example.EventExample
-
- error(String, Object) - Method in class org.apache.velocity.example.EventExample
-
- error(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
-
- error(String, Object...) - Method in class org.apache.velocity.example.EventExample
-
- error(String, Throwable) - Method in class org.apache.velocity.example.EventExample
-
- ERRORMSG_END - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
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(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, suitable for placing the output inside an XML (1.0) text node or attribute value.
- EscapeXmlReference() - Constructor for class org.apache.velocity.app.event.implement.EscapeXmlReference
-
- eval(ScriptContext) - Method in class org.apache.velocity.script.VelocityCompiledScript
-
- eval(String, ScriptContext) - Method in class org.apache.velocity.script.VelocityScriptEngine
-
Evaluate the given script.
- eval(Reader, ScriptContext) - Method in class org.apache.velocity.script.VelocityScriptEngine
-
Evaluate the given script.
- evaluate(Context, Writer, String, String) - Static method in class org.apache.velocity.app.Velocity
-
renders the input string using the context into the output writer.
- evaluate(Context, Writer, String, Reader) - Static method in class org.apache.velocity.app.Velocity
-
Renders the input reader using the context into the output writer.
- evaluate(Context, Writer, String, String) - Method in class org.apache.velocity.app.VelocityEngine
-
renders the input string using the context into the output writer.
- evaluate(Context, Writer, String, Reader) - Method in class org.apache.velocity.app.VelocityEngine
-
Renders the input reader using the context into the output writer.
- Evaluate - Class in org.apache.velocity.runtime.directive
-
Evaluates the directive argument as a VTL string, using the existing
context.
- Evaluate() - Constructor for class org.apache.velocity.runtime.directive.Evaluate
-
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTAndNode
-
logical and :
null && right = false
left && null = false
null && null = false
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTComparisonNode
-
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
-
An ASTElseStatement is true if the expression
it contains evaluates to true.
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTElseStatement
-
An ASTElseStatement always evaluates to
true.
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTExpression
-
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.ASTFalse
-
- evaluate(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.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.
- EventCartridge - Class in org.apache.velocity.app.event
-
Stores the event handlers.
- EventCartridge() - Constructor for class org.apache.velocity.app.event.EventCartridge
-
- EventExample - Class in org.apache.velocity.example
-
This class is a simple demonstration of how the event handling
features of the Velocity Servlet Engine are used.
- EventExample() - Constructor for class org.apache.velocity.example.EventExample
-
- EventHandler - Interface in org.apache.velocity.app.event
-
Base interface for all event handlers
- EVENTHANDLER_INCLUDE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
The
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
-
- EVENTHANDLER_METHODEXCEPTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
- EVENTHANDLER_REFERENCEINSERTION - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
- 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
-
- Example - Class in org.apache.velocity.example
-
This class is a simple demonstration of how the Velocity Template Engine
can be used in a standalone application.
- Example(String) - Constructor for class org.apache.velocity.example.Example
-
- Example2 - Class in org.apache.velocity.example
-
This class is a simple demonstration of how the Velocity Template Engine
can be used in a standalone application using the Velocity utility class.
- Example2() - Constructor for class org.apache.velocity.example.Example2
-
- execute(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.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) - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
-
- execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.PutExecutor
-
- execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
-
Execute method against context.
- execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
-
Execute method against context.
- execute(Object, Object) - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
Execute method against context.
- execute(Object, InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- expectedTokenSequences - Variable in exception org.apache.velocity.runtime.parser.ParseException
-
Each entry in this array is an array of integers.
- EXPONENT - Static variable in interface org.apache.velocity.runtime.parser.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.
- ExtProperties - Class in org.apache.velocity.util
-
This class extends normal Java properties by adding the possibility
to use the same key many times concatenating the value strings
instead of overwriting them.
- ExtProperties() - Constructor for class org.apache.velocity.util.ExtProperties
-
Creates an empty extended properties object.
- ExtProperties(String) - Constructor for class org.apache.velocity.util.ExtProperties
-
Creates and loads the extended properties from the specified file.
- ExtProperties(String, String) - Constructor for class org.apache.velocity.util.ExtProperties
-
Creates and loads the extended properties from the specified file.
- generateParseException() - Method in class org.apache.velocity.runtime.parser.Parser
-
Generate ParseException.
- get(String) - Method in class org.apache.velocity.app.FieldMethodizer
-
Accessor method to get the fields by name.
- get(String) - Method in class org.apache.velocity.context.AbstractContext
-
Gets the value corresponding to the provided key from the context.
- get(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
Retrieves from parent context.
- get(String) - Method in interface org.apache.velocity.context.Context
-
Gets the value corresponding to the provided key from the context.
- get(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- get(String) - Method in interface org.apache.velocity.context.InternalWrapperContext
-
Place key value pair into the context of the specified scope.
- 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, Template, Template) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
Gets a VelocimacroProxy object by the name / source template duple.
- get(int) - Method in class org.apache.velocity.util.ArrayListWrapper
-
- get(Object, DuckType.Types) - Static method in class org.apache.velocity.util.DuckType
-
- 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.
- getApplicationAttribute(Object) - Method in class org.apache.velocity.app.VelocityEngine
-
Return an application attribute (which can be any Object)
that was set by the application in order to be accessible from
any component of the system that gets a RuntimeServices.
- getApplicationAttribute(Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Gets the application attribute for the given key
- getApplicationAttribute(Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Return the specified application attribute.
- getApplicationAttribute(Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Gets the application attribute for the given key
- getApplicationEventCartridge() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns the event handlers for the application.
- getApplicationEventCartridge() - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns the event handlers for the application.
- getAsBoolean() - Method in class org.apache.velocity.runtime.directive.Block.Reference
-
Makes #if( $blockRef ) true without rendering, so long as we aren't beyond max depth.
- getAsBoolean() - Method in interface org.apache.velocity.util.TemplateBoolean
-
Returns a boolean that can be used in a template.
- getAsNumber() - Method in interface org.apache.velocity.util.TemplateNumber
-
Returns a Number that can be used in a template.
- getAsString() - Method in interface org.apache.velocity.util.TemplateString
-
Returns a String that can be used in a template.
- getBaseContext() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getBaseContext() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
Returns the base context that we are
wrapping.
- getBaseContext() - Method in interface org.apache.velocity.context.InternalWrapperContext
-
Returns the base full context impl.
- getBeginColumn() - Method in interface org.apache.velocity.runtime.parser.CharStream
-
Returns the column number of the first character for current token (being
matched after the last call to BeginTOken).
- getBeginColumn() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- getBeginLine() - Method in interface org.apache.velocity.runtime.parser.CharStream
-
Returns the line number of the first character for current token (being
matched after the last call to BeginTOken).
- getBeginLine() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- getBody() - Method in class org.apache.velocity.runtime.resource.util.StringResource
-
Sets the template body.
- getBoolean(String, boolean) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Boolean property accessor method to hide the configuration implementation.
- getBoolean(String, boolean) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Boolean property accessor method to hide the configuration implementation.
- getBoolean(String, boolean) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Boolean property accessor method to hide the configuration implementation.
- getBoolean(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a boolean associated with the given configuration key.
- getBoolean(String, boolean) - Method in class org.apache.velocity.util.ExtProperties
-
Get a boolean associated with the given configuration key.
- getBoolean(String, Boolean) - Method in class org.apache.velocity.util.ExtProperties
-
Get a boolean associated with the given configuration key.
- getBufferSize() - Method in class org.apache.velocity.io.VelocityWriter
-
This method returns the size of the buffer used by the JspWriter.
- getByte(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a byte associated with the given configuration key.
- getByte(String, byte) - Method in class org.apache.velocity.util.ExtProperties
-
Get a byte associated with the given configuration key.
- getByte(String, Byte) - Method in class org.apache.velocity.util.ExtProperties
-
Get a byte associated with the given configuration key.
- getCachedClass() - Method in class org.apache.velocity.util.introspection.ClassFieldMap
-
Returns the class object whose fields are cached by this map.
- getCachedClass() - Method in class org.apache.velocity.util.introspection.ClassMap
-
Returns the class object whose methods are cached by this map.
- getChainedContext() - Method in class org.apache.velocity.context.AbstractContext
-
returns innerContext if one is chained
- getClass(String) - Static method in class org.apache.velocity.util.ClassUtils
-
Return the specified class.
- getClassName() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Return the class name of this resource Loader
- getColumn() - Method in class org.apache.velocity.runtime.directive.Directive
-
for log msg purposes
- getColumn() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- getColumn() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getColumn() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getColumn() - Method in class org.apache.velocity.util.introspection.Info
-
- getColumnNumber() - Method in interface org.apache.velocity.exception.ExtendedParseException
-
returns the column number where this exception occurred.
- getColumnNumber() - Method in exception org.apache.velocity.exception.MethodInvocationException
-
- getColumnNumber() - Method in exception org.apache.velocity.exception.ParseErrorException
-
Return the column number of the parsing error, or -1 if not defined.
- getColumnNumber() - Method in exception org.apache.velocity.exception.TemplateInitException
-
Returns the column number where this exception occurred.
- getColumnNumber() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
-
returns the column number where this exception occured.
- getColumnNumber() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
-
returns the column number where this exception occured.
- getConfiguration() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Return the velocity runtime configuration object.
- getConfiguration() - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Return the velocity runtime configuration object.
- getConfiguration() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Return the velocity runtime configuration object.
- getContent(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns a static content resource from the
resource manager.
- getContent(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns a static content resource from the
resource manager.
- getContent(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns a static content resource from the
resource manager.
- getContent(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns a static content resource from the
resource manager.
- getContent(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns a static content resource from the
resource manager.
- getContent(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns a static content resource from the
resource manager.
- 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
-
- getCurrentMacroName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getCurrentMacroName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getCurrentResource() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getCurrentResource() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getCurrentTemplateName() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getCurrentTemplateName() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getData() - Method in class org.apache.velocity.runtime.resource.Resource
-
Get arbitrary data object that might be used
by the resource.
- getDepth() - Method in class org.apache.velocity.runtime.directive.Scope
-
Returns the number of control arguments of this type
that are stacked up.
- getDepth() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- 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.
- getDouble(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a double associated with the given configuration key.
- getDouble(String, double) - Method in class org.apache.velocity.util.ExtProperties
-
Get a double associated with the given configuration key.
- getDouble(String, Double) - Method in class org.apache.velocity.util.ExtProperties
-
Get a double associated with the given configuration key.
- getEncoding() - Method in class org.apache.velocity.runtime.resource.Resource
-
get the encoding of this resource
for example, "ISO-8859-1"
- getEncoding() - Method in class org.apache.velocity.runtime.resource.util.StringResource
-
Returns the encoding of this String resource.
- getEncoding() - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
-
Returns the current encoding of this repository.
- getEncoding() - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
- getEncodingFromStream() - Method in class org.apache.velocity.io.UnicodeInputStream
-
Read encoding based on BOM.
- getEndColumn() - Method in interface org.apache.velocity.runtime.parser.CharStream
-
Returns the column number of the last character for current token (being
matched after the last call to BeginTOken).
- getEndColumn() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- getEndLine() - Method in interface org.apache.velocity.runtime.parser.CharStream
-
Returns the line number of the last character for current token (being
matched after the last call to BeginTOken).
- getEndLine() - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- getEngine() - Method in class org.apache.velocity.script.VelocityCompiledScript
-
- getEngineName() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get engine name
- getEngineVersion() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get engine version
- getEntries() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
-
- getEventCartridge() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getEventCartridge() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getEventCartridge() - Method in interface org.apache.velocity.context.InternalEventContext
-
- getEventCartridge() - Method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns the event handlers for the application.
- GetExecutor - Class in org.apache.velocity.runtime.parser.node
-
Executor that simply tries to execute a get(key)
operation.
- GetExecutor(Logger, Introspector, Class, String) - Constructor for class org.apache.velocity.runtime.parser.node.GetExecutor
-
- getExtensions() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get the list of file extensions handled by Velocity: vm, vtl, vhtml
- getFactory() - Method in class org.apache.velocity.script.VelocityScriptEngine
-
get the factory used to create this script engine
- getField() - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
-
- getField() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
- getField(Class, String) - Method in class org.apache.velocity.util.introspection.IntrospectorBase
-
Gets the field defined by name
.
- getFieldMap(Class) - Method in interface org.apache.velocity.util.introspection.IntrospectorCache
-
Lookup a given Class object in the cache.
- getFieldMap(Class) - Method in class org.apache.velocity.util.introspection.IntrospectorCacheImpl
-
Lookup a given Class object in the cache.
- getFilename(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
-
- getFirst() - Method in class org.apache.velocity.runtime.directive.ForeachScope
-
- getFirstToken() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getFirstToken() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getFloat(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a float associated with the given configuration key.
- getFloat(String, float) - Method in class org.apache.velocity.util.ExtProperties
-
Get a float associated with the given configuration key.
- getFloat(String, Float) - Method in class org.apache.velocity.util.ExtProperties
-
Get a float associated with the given configuration key.
- 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
-
- getInclude() - Method in class org.apache.velocity.util.ExtProperties
-
Gets the property value for including other properties files.
- 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
-
- getInputEncoding(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.InputBase
-
Decides the encoding used during input processing of this
directive.
- getInt(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Int property accessor method to hide the configuration implementation.
- getInt(String, int) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Int property accessor method to hide the configuration implementation.
- getInt(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Int property accessor method to hide the configuration implementation.
- getInt(String, int) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Int property accessor method to hide the configuration implementation.
- getInt(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Int property accessor method to hide the configuration implementation.
- getInt(String, int) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Int property accessor method to hide the configuration implementation.
- getInt(String) - Method in class org.apache.velocity.util.ExtProperties
-
The purpose of this method is to get the configuration resource
with the given name as an integer.
- getInt(String, int) - Method in class org.apache.velocity.util.ExtProperties
-
The purpose of this method is to get the configuration resource
with the given name as an integer, or a default value.
- getInteger(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a int associated with the given configuration key.
- getInteger(String, int) - Method in class org.apache.velocity.util.ExtProperties
-
Get a int associated with the given configuration key.
- getInteger(String, Integer) - Method in class org.apache.velocity.util.ExtProperties
-
Get a int associated with the given configuration key.
- getInternalUserContext() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
Return the inner / user context.
- getInternalUserContext() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
returns the user data context that
we are wrapping
- getInternalUserContext() - Method in interface org.apache.velocity.context.InternalWrapperContext
-
Returns the wrapped user context.
- getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.PropertyExecutor
-
- getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
-
- getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
-
- getIntrospector() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
- 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, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
-
Retrieve the contextual iterator.
- getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
-
To support iterative objects used in a #foreach()
loop.
- getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
-
To support iterative objects used in a #foreach()
loop.
- getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.SecureUberspector
-
Get an iterator from the given object.
- getIterator(Object, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
-
To support iteratives - #foreach()
- getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
-
To support iterative objects used in a #foreach()
loop.
- getIterator(Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
- getKeys() - Method in class org.apache.velocity.context.AbstractContext
-
Get all the keys for the values in the context
- getKeys() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getKeys() - Method in interface org.apache.velocity.context.Context
-
Get all the keys for the values in the context.
- getKeys() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getKeys() - Method in class org.apache.velocity.util.ExtProperties
-
Get the list of the keys contained in the configuration
repository.
- getKeys(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get the list of the keys contained in the configuration
repository that match the specified prefix.
- getLanguageName() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get language name
- getLanguageVersion() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get language version (same as engine version)
- getLast() - Method in class org.apache.velocity.runtime.directive.ForeachScope
-
- getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-
- getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
-
- getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
-
- getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
-
- getLastModified(Resource) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
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.
- getLastToken() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getLastToken() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getLibraryName(String, Template) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
Return the library name for a given macro.
- getLine() - Method in class org.apache.velocity.runtime.directive.Directive
-
for log msg purposes
- getLine() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- getLine() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getLine() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getLine() - Method in class org.apache.velocity.util.introspection.Info
-
- getLineNumber() - Method in interface org.apache.velocity.exception.ExtendedParseException
-
returns the line number where this exception occurred.
- getLineNumber() - Method in exception org.apache.velocity.exception.MethodInvocationException
-
- getLineNumber() - Method in exception org.apache.velocity.exception.ParseErrorException
-
Return the line number of the parsing error, or -1 if not defined.
- getLineNumber() - Method in exception org.apache.velocity.exception.TemplateInitException
-
Returns the line number where this exception occurred.
- getLineNumber() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
-
returns the line number where this exception occured.
- getLineNumber() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
-
returns the line number where this exception occured.
- getList(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a List of strings associated with the given configuration key.
- getList(String, List) - Method in class org.apache.velocity.util.ExtProperties
-
Get a List of strings associated with the given configuration key.
- getLoader(RuntimeServices, String) - Static method in class org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory
-
Gets the loader specified in the configuration file.
- getLoaderNameForResource(String) - Method in interface org.apache.velocity.runtime.resource.ResourceManager
-
Determines is a template exists, and returns name of the loader that
provides it.
- getLoaderNameForResource(String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
Determines if a template exists, and returns name of the loader that provides it.
- getLoaderNameForResource(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Determines if a template exists and returns name of the loader that
provides it.
- getLoaderNameForResource(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Determines is a template exists, and returns name of the loader that
provides it.
- getLoaderNameForResource(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Determines is a template exists, and returns name of the loader that
provides it.
- getLocation(InternalContextAdapter) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
Return a string that tells the current location of this node.
- getLog() - 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.
- getLong(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a long associated with the given configuration key.
- getLong(String, long) - Method in class org.apache.velocity.util.ExtProperties
-
Get a long associated with the given configuration key.
- getLong(String, Long) - Method in class org.apache.velocity.util.ExtProperties
-
Get a long associated with the given configuration key.
- getMacroArgs() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
Return the list of macro arguments associated with this macro
- getMacroLibraries() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getMacroLibraries() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getMacroNameStack() - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- getMacroNameStack() - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- getMacros() - Method in class org.apache.velocity.Template
-
get the map of all macros defined by this template
- getMatchAttribute() - Method in class org.apache.velocity.app.event.implement.EscapeHtmlReference
-
- 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
- getMessage() - Method in exception org.apache.velocity.exception.MethodInvocationException
-
- getMessage() - Method in exception org.apache.velocity.exception.ParseErrorException
-
Return our custom message if we have one, else return the default message
- getMessage() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error org.apache.velocity.runtime.directive.StopCommand
-
- getMessage() - Method in exception org.apache.velocity.runtime.parser.ParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error org.apache.velocity.runtime.parser.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMethod() - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
-
- getMethod() - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
-
- getMethod(String, Object[], Class[], Object, InternalContextAdapter, SimpleNode, boolean) - Static method in class org.apache.velocity.util.ClassUtils
-
Lookup a VelMethod object given the method signature that is specified in
the passed in parameters.
- getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
-
Method
- getMethod(Class, String, Object[]) - Method in class org.apache.velocity.util.introspection.Introspector
-
Gets the method defined by name
and
params
for the Class c
.
- getMethod(Class, String, Object[]) - Method in class org.apache.velocity.util.introspection.IntrospectorBase
-
Gets the method defined by name
and
params
for the Class c
.
- getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
-
Method
- getMethod(Class, String, Object[]) - Method in class org.apache.velocity.util.introspection.SecureIntrospectorImpl
-
Get the Method object corresponding to the given class, name and parameters.
- getMethod(Object, String, Object[], Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
-
Returns a general method, corresponding to $foo.bar( $woogie )
- getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
-
Method
- getMethod(Object, String, Object[], Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
- getMethodCallSyntax(String, String, String...) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get Velocity syntax for calling method 'm' on bject 'obj' with provided arguments
- 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'
- getMimeTypes() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get the list of Velocity mime types
- getModificationCheckInterval() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Get the interval at which the InputStream source
should be checked for modifications.
- getName() - Method in class org.apache.velocity.example.EventExample
-
Required init methods for Logger interface
- getName() - Method in class org.apache.velocity.runtime.directive.BlockMacro
-
- getName() - Method in class org.apache.velocity.runtime.directive.Break
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.contrib.For
-
- getName() - Method in class org.apache.velocity.runtime.directive.Define
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Directive
-
Return the name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Evaluate
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Foreach
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Include
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Macro
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.Parse
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
-
Return name of this Velocimacro.
- getName() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- getName() - Method in class org.apache.velocity.runtime.directive.Stop
-
Return name of this directive.
- getName() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
Return name of this Velocimacro.
- getName() - Method in class org.apache.velocity.runtime.resource.Resource
-
Get the name of this template.
- getNames() - Method in class org.apache.velocity.example.Example
-
- getNames() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get the list of names
- getNewInstance(String) - Static method in class org.apache.velocity.util.ClassUtils
-
Return a new instance of the given class.
- getNextToken() - Method in class org.apache.velocity.runtime.parser.Parser
-
Get the next Token.
- getNextToken() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
-
Get the next Token.
- getNumArgs() - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
returns the number of ars needed for this VM
- getOutputStatement(String) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get VTL expression used to display specified string
- getPackageAsPath(String) - Static method in class org.apache.velocity.util.StringUtils
-
Return a package name as a relative path name
- getParameter(String) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get engine parameter for provided key
- getParent() - Method in class org.apache.velocity.runtime.directive.Scope
-
Returns the parent control reference overridden by the placement
of this instance in the context.
- getProgram(String...) - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get whole VTL program given VTL lines
- getProperties(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a list of properties associated with the given
configuration key.
- getProperties(String, Properties) - Method in class org.apache.velocity.util.ExtProperties
-
Get a list of properties associated with the given
configuration key.
- getProperty(String) - Static method in class org.apache.velocity.app.Velocity
-
Get a Velocity Runtime property.
- getProperty(String) - Method in class org.apache.velocity.app.VelocityEngine
-
Get a Velocity Runtime property.
- getProperty(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Allows an external caller to get a property.
- getProperty(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Allows an external caller to get a property.
- getProperty(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Allows an external caller to get a property.
- getProperty(String) - Method in class org.apache.velocity.util.ExtProperties
-
Gets a property from the configuration.
- getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
-
Property getter
- getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
-
Property getter
- getPropertyGet(Object, String, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
-
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)
- getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
-
Property getter
- getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
Property getter
- getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.AbstractChainableUberspector
-
Property setter
- getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.LinkingUberspector
-
Property setter
- getPropertySet(Object, String, Object, Info) - Method in interface org.apache.velocity.util.introspection.Uberspect
-
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")
- getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectImpl
-
Property setter
- getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
Property setter
- 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.
- getRemaining() - Method in class org.apache.velocity.io.VelocityWriter
-
- getReplaced() - Method in class org.apache.velocity.runtime.directive.Scope
-
Returns the user's context reference overridden by the placement
of this instance in the context.
- getRepository() - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Returns a reference to the default static repository.
- getRepository(String) - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Returns a reference to the repository stored statically under the
specified name.
- getResource(String) - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
-
- getResource(String, int) - Static method in class org.apache.velocity.runtime.resource.ResourceFactory
-
- getResource(String, int, String) - Method in interface org.apache.velocity.runtime.resource.ResourceManager
-
Gets the named resource.
- getResource(String, int, String) - Method in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
Gets the named resource.
- getResourceAsStream(Class, String) - Static method in class org.apache.velocity.util.ClassUtils
-
Finds a resource with the given name.
- getResourceLoader() - Method in class org.apache.velocity.runtime.resource.Resource
-
Return the template loader that pulled
in the template stream
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-
Get a Reader so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
-
Get an InputStream so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
-
Get a Reader so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
-
Get a Reader so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
-
Deprecated.
Get the Reader that the Runtime will parse
to create a template.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Get the Reader that the Runtime will parse
to create a template.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Get a reader so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
-
Get a Reader so that the Runtime can build a
template with it.
- getResourceReader(String, String) - Method in class org.apache.velocity.script.VelocityScriptEngine.SingleResourceReader
-
- getResourceStream(String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
-
- 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.ReferenceInsertionEventHandler.referenceInsertExecutor
-
- getRootString() - Method in class org.apache.velocity.runtime.parser.node.ASTReference
-
Returns the 'root string', the reference key
- 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".
- getScriptEngine() - Method in class org.apache.velocity.script.VelocityScriptEngineFactory
-
get a Velocity script engine
- getShort(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a short associated with the given configuration key.
- getShort(String, short) - Method in class org.apache.velocity.util.ExtProperties
-
Get a short associated with the given configuration key.
- getShort(String, Short) - Method in class org.apache.velocity.util.ExtProperties
-
Get a short associated with the given configuration key.
- getSpecialText(Token) - Static method in class org.apache.velocity.runtime.parser.node.NodeUtils
-
Collect all the s that
are carried along with a token.
- getStatement(Connection, String, String, String, String) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
-
Creates the following PreparedStatement query :
SELECT columnNames FROM tableName WHERE keyColumn
= 'templateName'
where keyColumn is a class member set in init()
- getString(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
String property accessor method with default to hide the
configuration implementation.
- getString(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
String property accessor method to hide the configuration implementation
- getString(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
String property accessor method with default to hide the
configuration implementation.
- getString(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
String property accessor method to hide the configuration implementation
- getString(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
String property accessor method with default to hide the
configuration implementation.
- getString(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
String property accessor method to hide the configuration implementation
- getString(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a string associated with the given configuration key.
- getString(String, String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a string associated with the given configuration key.
- getStringArray(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get an array of strings associated with the given configuration
key.
- getStringResource(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
-
get the string resource that is stored with given key
- getStringResource(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
- GetSuffix(int) - Method in interface org.apache.velocity.runtime.parser.CharStream
-
Returns an array of characters that make up the suffix of length 'len' for
the currently matched token.
- GetSuffix(int) - Method in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- getTemplate(String) - Static method in class org.apache.velocity.app.Velocity
-
Returns a Template
from the Velocity
resource management system.
- getTemplate(String, String) - Static method in class org.apache.velocity.app.Velocity
-
Returns a Template
from the Velocity
resource management system.
- getTemplate(String) - Method in class org.apache.velocity.app.VelocityEngine
-
Returns a Template
from the Velocity
resource management system.
- getTemplate(String, String) - Method in class org.apache.velocity.app.VelocityEngine
-
Returns a Template
from the Velocity
resource management system.
- getTemplate() - Method in class org.apache.velocity.runtime.directive.Directive
-
returns the template in which this directive appears
- getTemplate() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- getTemplate() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getTemplate() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getTemplate(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns a Template
from the resource manager.
- getTemplate(String, String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns a Template
from the resource manager
- getTemplate(String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns a Template
from the resource manager.
- getTemplate(String, String) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns a Template
from the resource manager
- getTemplate(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns a Template
from the resource manager.
- getTemplate(String, String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns a Template
from the resource manager
- getTemplateName() - Method in interface org.apache.velocity.exception.ExtendedParseException
-
returns the Template name where this exception occurred.
- getTemplateName() - Method in exception org.apache.velocity.exception.MethodInvocationException
-
- getTemplateName() - Method in exception org.apache.velocity.exception.ParseErrorException
-
Return the name of the template containing the error, or null if not
defined.
- getTemplateName() - Method in exception org.apache.velocity.exception.TemplateInitException
-
Returns the Template name where this exception occurred.
- getTemplateName() - Method in class org.apache.velocity.runtime.directive.Directive
-
- getTemplateName() - Method in exception org.apache.velocity.runtime.directive.MacroParseException
-
returns the Template name where this exception occured.
- getTemplateName() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- getTemplateName() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- getTemplateName() - Method in exception org.apache.velocity.runtime.parser.TemplateParseException
-
returns the Template name where this exception 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
-
- getTimeout() - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
-
Returns the current, custom timeout setting.
- 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.contrib.For
-
- getType() - Method in class org.apache.velocity.runtime.directive.Directive
-
Get the directive type BLOCK/LINE.
- getType() - Method in class org.apache.velocity.runtime.directive.Evaluate
-
Return type of this directive.
- getType() - Method in class org.apache.velocity.runtime.directive.Foreach
-
Return type of this directive.
- getType() - Method in class org.apache.velocity.runtime.directive.Include
-
Return type of this directive.
- getType() - Method in class org.apache.velocity.runtime.directive.Macro
-
Return type of this directive.
- getType() - Method in class org.apache.velocity.runtime.directive.Parse
-
Return type of this directive.
- getType() - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
-
Velocimacros are always LINE
type directives.
- getType() - Method in class org.apache.velocity.runtime.directive.Scope.Info
-
- 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
-
- 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
-
- getValue() - Method in class org.apache.velocity.runtime.parser.Token
-
An optional attribute value of the Token.
- getVariableValue(InternalContextAdapter, String) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
-
- getVector(String) - Method in class org.apache.velocity.util.ExtProperties
-
Get a Vector of strings associated with the given configuration
key.
- getVector(String, Vector) - Method in class org.apache.velocity.util.ExtProperties
-
Get a Vector of strings associated with the given configuration key.
- getVelocimacro(String, Template, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns the appropriate VelocimacroProxy object if vmName
is a valid current Velocimacro.
- getVelocimacro(String, Template, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns the appropriate VelocimacroProxy object if strVMname
is a valid current Velocimacro.
- getVelocimacro(String, Template, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns the appropriate VelocimacroProxy object if strVMname
is a valid current Velocimacro.
- getVelocimacro(String, Template, Template) - Method in class org.apache.velocity.runtime.VelocimacroFactory
-
actual factory : creates a Directive that will
behave correctly wrt getting the framework to
dig out the correct # of args
- getVelocityContext(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
-
- getVelocityEngine() - Method in class org.apache.velocity.script.VelocityScriptEngine
-
get the internal Velocity RuntimeInstance
- getVelocityProperties(ScriptContext) - Static method in class org.apache.velocity.script.VelocityScriptEngine
-
- getWrappedThrowable() - Method in exception org.apache.velocity.exception.VelocityException
-
- globalCache - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
Object implementing ResourceCache to be our resource manager's Resource cache.
- icacheGet(Object) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- icacheGet(Object) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- icachePut(Object, IntrospectionCacheData) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- id(InternalContextAdapter) - Method in class org.apache.velocity.runtime.directive.Block
-
Creates a string identifying the source and location of the block
definition, and the current template being rendered if that is
different.
- id - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- Identifier() - Method in class org.apache.velocity.runtime.parser.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.
- IF_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- IfStatement() - Method in class org.apache.velocity.runtime.parser.Parser
-
- 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
-
- include - Static variable in class org.apache.velocity.util.ExtProperties
-
This is the name of the property that can point to other
properties file for including other properties files.
- includeEvent(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
-
Check 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
).
- 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
- 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.
- IndexParameter() - Method in class org.apache.velocity.runtime.parser.Parser
-
A Simplified parameter more suitable for an index position: $foo[$index]
- inDirective - Variable in class org.apache.velocity.runtime.parser.ParserTokenManager
-
- info(String) - Method in class org.apache.velocity.example.EventExample
-
- info(String, Object) - Method in class org.apache.velocity.example.EventExample
-
- info(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
-
- info(String, Object...) - Method in class org.apache.velocity.example.EventExample
-
- info(String, Throwable) - Method in class org.apache.velocity.example.EventExample
-
- info - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- Info - Class in org.apache.velocity.util.introspection
-
Little class to carry in info such as template name, line and column
for information error reporting from the uberspector implementations
- Info(String, int, int) - Constructor for class org.apache.velocity.util.introspection.Info
-
- Info(Node) - Constructor for class org.apache.velocity.util.introspection.Info
-
- init() - Static method in class org.apache.velocity.app.Velocity
-
initialize the Velocity runtime engine, using the default
properties of the Velocity distribution
- init(String) - Static method in class org.apache.velocity.app.Velocity
-
initialize the Velocity runtime engine, using default properties
plus the properties in the properties file passed in as the arg
- init(Properties) - Static method in class org.apache.velocity.app.Velocity
-
initialize the Velocity runtime engine, using default properties
plus the properties in the passed in java.util.Properties object
- init() - Method in class org.apache.velocity.app.VelocityEngine
-
initialize the Velocity runtime engine, using the default
properties of the Velocity distribution
- init(String) - Method in class org.apache.velocity.app.VelocityEngine
-
initialize the Velocity runtime engine, using default properties
plus the properties in the properties file passed in as the arg
- init(Properties) - Method in class org.apache.velocity.app.VelocityEngine
-
initialize the Velocity runtime engine, using default properties
plus the properties in the passed in java.util.Properties object
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Block
-
simple init - get the key
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.BlockMacro
-
Initializes the directive.
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Break
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Define
-
simple init - get the key
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Directive
-
How this directive is to be initialized.
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Evaluate
-
Initialize and check arguments.
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
-
simple init - init the tree and get the elementKey from
the AST
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Include
-
simple init - init the tree and get the elementKey from
the AST
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Macro
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class org.apache.velocity.runtime.directive.Parse
-
Init's the #parse directive.
- init(RuntimeServices, 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(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(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
-
This is abstract in the base class, so we need it
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
-
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
-
- init() - Method in class org.apache.velocity.runtime.resource.loader.JarHolder
-
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.JarResourceLoader
-
Called by Velocity to initialize the loader
- init(ExtendedProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader
-
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Initialize the template loader with a
a resources class.
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- init(ExtProperties) - Method in class org.apache.velocity.runtime.resource.loader.URLResourceLoader
-
- init() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
This is the primary initialization method in the Velocity
Runtime.
- init(Properties) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Initialize the Velocity Runtime with a Properties
object.
- init(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Initialize the Velocity Runtime with 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
ExtProperties object.
- init() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
This is the primary initialization method in the Velocity
Runtime.
- init(Properties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Initialize the Velocity Runtime with a Properties
object.
- init(String) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Initialize the Velocity Runtime with the name of
ExtProperties object.
- 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() - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
init - generates the Introspector.
- initDocument() - Method in class org.apache.velocity.Template
-
initializes the document.
- initialize(RuntimeServices) - Method in 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.
- initVelocimacro() - Method in class org.apache.velocity.runtime.VelocimacroFactory
-
initialize the factory - setup all permissions
load all global libraries.
- inner - Variable in class org.apache.velocity.util.introspection.AbstractChainableUberspector
-
The wrapped (decorated) uberspector.
- INPUT_ENCODING - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
The 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
-
- 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
-
- 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(String) - Method in class org.apache.velocity.context.AbstractContext
-
Implement to determine if a key is in the storage.
- internalContainsKey(String) - Method in class org.apache.velocity.example.DBContext
-
Not implementing.
- internalContainsKey(String) - Method in class org.apache.velocity.example.TreeMapContext
-
- internalContainsKey(String) - Method in class org.apache.velocity.VelocityContext
-
determines if there is a value for the
given key
- InternalContextAdapter - Interface in org.apache.velocity.context
-
interface to bring all necessary internal and user contexts together.
- InternalContextAdapterImpl - Class in org.apache.velocity.context
-
This adapter class is the container for all context types for internal
use.
- InternalContextAdapterImpl(Context) - Constructor for class org.apache.velocity.context.InternalContextAdapterImpl
-
CTOR takes a Context and wraps it, delegating all 'data' calls
to it.
- InternalEventContext - Interface in org.apache.velocity.context
-
Interface for event support.
- internalGet(String) - Method in class org.apache.velocity.context.AbstractContext
-
Implement to return a value from the context storage.
- internalGet(String) - Method in class org.apache.velocity.example.DBContext
-
retrieves a serialized object from the db
and returns the living instance to the
caller.
- internalGet(String) - Method in class org.apache.velocity.example.TreeMapContext
-
- internalGet(String) - Method in class org.apache.velocity.VelocityContext
-
retrieves value for key from internal
storage
- internalGetKeys() - Method in class org.apache.velocity.context.AbstractContext
-
Implement to return an object array of key
strings from your storage.
- internalGetKeys() - Method in class org.apache.velocity.example.DBContext
-
Not implementing.
- internalGetKeys() - Method in class org.apache.velocity.example.TreeMapContext
-
- internalGetKeys() - Method in class org.apache.velocity.VelocityContext
-
returns array of keys
- internalPut(String, Object) - Method in class org.apache.velocity.context.AbstractContext
-
Implement to put a value into the context storage.
- internalPut(String, Object) - Method in class org.apache.velocity.example.DBContext
-
Serializes and stores an object in the database.
- internalPut(String, Object) - Method in class org.apache.velocity.example.TreeMapContext
-
- internalPut(String, Object) - Method in class org.apache.velocity.VelocityContext
-
stores the value for key to internal
storage
- internalRemove(String) - Method in class org.apache.velocity.context.AbstractContext
-
Implement to remove an item from your storage.
- internalRemove(String) - Method in class org.apache.velocity.example.DBContext
-
Not implementing.
- internalRemove(String) - Method in class org.apache.velocity.example.TreeMapContext
-
- internalRemove(String) - Method in class org.apache.velocity.VelocityContext
-
remove a key/value pair from the
internal storage
- InternalWrapperContext - Interface in org.apache.velocity.context
-
interface for internal context wrapping functionality
- interpolate(String) - Method in class org.apache.velocity.util.ExtProperties
-
Interpolate key names to handle ${key} stuff
- INTERPOLATE_STRINGLITERALS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Switch for the interpolation facility for string literals.
- interpolateHelper(String, List) - Method in class org.apache.velocity.util.ExtProperties
-
Recursive handler for multiple levels of interpolation.
- IntrospectionCacheData - Class in org.apache.velocity.util.introspection
-
Holds information for node-local context data introspection
information.
- IntrospectionCacheData() - Constructor for class org.apache.velocity.util.introspection.IntrospectionCacheData
-
- IntrospectionUtils - Class in org.apache.velocity.util.introspection
-
- IntrospectionUtils() - Constructor for class org.apache.velocity.util.introspection.IntrospectionUtils
-
- Introspector - Class in org.apache.velocity.util.introspection
-
This basic function of this class is to return a Method
object for a particular class given the name of a method
and the parameters to the method in the form of an Object[]
The first time the Introspector sees a
class it creates a class method map for the
class in question.
- Introspector(Logger) - Constructor for class org.apache.velocity.util.introspection.Introspector
-
- introspector - Variable in class org.apache.velocity.util.introspection.UberspectImpl
-
the default Velocity introspector
- introspector - Variable in class org.apache.velocity.util.introspection.UberspectPublicFields
-
the default Velocity introspector
- INTROSPECTOR_RESTRICT_CLASSES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
A comma separated list of classes to restrict access to in the SecureIntrospector.
- INTROSPECTOR_RESTRICT_PACKAGES - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
A comma separated list of packages to restrict access to in the SecureIntrospector.
- IntrospectorBase - Class in org.apache.velocity.util.introspection
-
Lookup a a Method object for a particular class given the name of a method
and its parameters.
- IntrospectorBase(Logger) - 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(Logger) - Constructor for class org.apache.velocity.util.introspection.IntrospectorCacheImpl
-
C'tor
- 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
-
- 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.
- 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.
- 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.InvalidMethodExecutor - Class in org.apache.velocity.app.event
-
Defines the execution strategy for invalidGetMethod
- InvalidReferenceEventHandler.InvalidSetMethodExecutor - Class in org.apache.velocity.app.event
-
Defines the execution strategy for invalidGetMethod
- 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
-
- 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.
- 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.PublicFieldExecutor
-
- isAlive() - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
-
Tell whether the executor is alive by looking
at the value of the method.
- isAlive() - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
- isAutoFlush() - Method in class org.apache.velocity.io.VelocityWriter
-
This method indicates whether the JspWriter is autoFlushing.
- isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
-
- isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
-
- isCacheable() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
-
- isCacheable() - Method in interface org.apache.velocity.util.introspection.VelMethod
-
specifies if this VelMethod is cacheable and able to be
reused for this class of object it was returned for
- isCacheable() - Method in interface org.apache.velocity.util.introspection.VelPropertyGet
-
specifies if this VelPropertyGet is cacheable and able to be
reused for this class of object it was returned for
- isCacheable() - Method in interface org.apache.velocity.util.introspection.VelPropertySet
-
specifies if this VelPropertySet is cacheable and able to be
reused for this class of object it was returned for
- isCachingOn - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Does this loader want templates produced with it
cached in the Runtime.
- isCachingOn() - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
The Runtime uses this to find out whether this
template loader wants the Runtime to cache
templates created with InputStreams provided
by this loader.
- isConstant() - Method in class org.apache.velocity.runtime.parser.node.ASTStringLiteral
-
Check to see if this is an interpolated string.
- isDebugEnabled() - Method in class org.apache.velocity.example.EventExample
-
- isDirective(String) - Method in 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.ReferenceInsertionEventHandler.referenceInsertExecutor
-
Continue to end of event handler iteration
- isErrorEnabled() - Method in class org.apache.velocity.example.EventExample
-
- isFirst() - Method in class org.apache.velocity.runtime.directive.ForeachScope
-
- isFor(Object) - Method in error org.apache.velocity.runtime.directive.StopCommand
-
- isInfoEnabled() - Method in class org.apache.velocity.example.EventExample
-
- isInitialized() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Returns true if the RuntimeInstance has been successfully initialized.
- isInitialized() - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Returns true if the RuntimeInstance has been successfully initialized.
- isInitialized() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Returns true if the RuntimeInstance has been successfully initialized.
- isInitialized - Variable in class org.apache.velocity.util.ExtProperties
-
Has this configuration been initialized.
- isInitialized() - Method in class org.apache.velocity.util.ExtProperties
-
Indicate to client code whether property
resources have been initialized or not.
- isInteger(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
-
Test, whether the given object is an integer value
(Byte, Short, Integer, Long, BigInteger)
- isInvalid() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- isInvalid() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- isLast() - Method in class org.apache.velocity.runtime.directive.ForeachScope
-
- isLevelEnabled(int) - Method in class org.apache.velocity.example.EventExample
-
This always returns true because logging levels can't be disabled in
this impl.
- isMethodInvocationConvertible(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).
- isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Break
-
Since there is no processing of content,
there is never a need for an internal scope.
- isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Directive
-
- isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Include
-
Since there is no processing of content,
there is never a need for an internal scope.
- isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Macro
-
Since this class does no processing of content,
there is never a need for an internal scope.
- isScopeProvided() - Method in class org.apache.velocity.runtime.directive.Stop
-
Since there is no processing of content,
there is never a need for an internal scope.
- 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.ResourceLoader2
-
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
-
- 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.example.EventExample
-
- isVarArg() - Method in class org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
-
- isVelocimacro(String, Template) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Checks to see if a VM exists
- isVelocimacro(String, Template) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Checks to see if a VM exists
- isVelocimacro(String, Template) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Checks to see if a VM exists
- isVelocimacro(String, Template) - Method in class org.apache.velocity.runtime.VelocimacroFactory
-
Tells the world if a given directive string is a Velocimacro
- isWarnEnabled() - Method in class org.apache.velocity.example.EventExample
-
- isZero(Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
-
Compare the given Number to 0.
- 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
-
- 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.example.EventExample
-
Event handler for when a reference is inserted into the output stream.
- ReferenceInsertionEventHandler - Interface in org.apache.velocity.app.event
-
Reference 'Stream insertion' event handler.
- ReferenceInsertionEventHandler.referenceInsertExecutor - Class in org.apache.velocity.app.event
-
Defines the execution strategy for referenceInsert
- 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(String) - Method in class org.apache.velocity.context.AbstractContext
-
Removes the value associated with the specified key from the context.
- remove(String) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- remove(String) - Method in interface org.apache.velocity.context.Context
-
Removes the value associated with the specified key from the context.
- remove(String) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- remove(Object) - Method in interface org.apache.velocity.runtime.resource.ResourceCache
-
removes a Resource from the cache
- remove(Object) - Method in class org.apache.velocity.runtime.resource.ResourceCacheImpl
-
- remove() - Method in class org.apache.velocity.util.ArrayIterator
-
No op--merely added to satify the Iterator
interface.
- remove() - Method in class org.apache.velocity.util.EnumerationIterator
-
Unimplemented.
- 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.
- 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
-
- removeStringResource(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
-
delete a string resource with given key.
- removeStringResource(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.directive.Block.Reference
-
Render the AST of this block into the writer using the context.
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.directive.Block
-
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.BlockMacro
-
Renders content using the selected macro and the passed AST body.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Break
-
This directive throws a StopCommand which signals either
the nearest Scope or the specified scope to stop rendering
its content.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
-
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Define
-
directive.render() simply makes an instance of the Block inner class
and places it into the context as indicated.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Directive
-
How this directive is to be rendered
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Evaluate
-
Evaluate the argument, convert to a String, and evaluate again
(with the same context).
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
-
renders the #foreach() block
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Include
-
iterates through the argument list and renders every
argument that is appropriate.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Macro
-
render() doesn't do anything in the final output rendering.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Parse
-
iterates through the argument list and renders every
argument that is appropriate.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
-
Velocimacro implementation is not known at the init time.
- render(InternalContextAdapter, Writer, Node, Renderable) - Method in class org.apache.velocity.runtime.directive.RuntimeMacro
-
This method is used with BlockMacro when we want to render a macro with a body AST.
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Stop
-
- render(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
- render(InternalContextAdapter, Writer, Node, Renderable) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
Renders the macro using the context.
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTBlock
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTComment
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTElseIfStatement
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTEscape
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTEscapedDirective
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTIfStatement
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
-
gets the value of the reference and outputs it to the
writer.
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTSetDirective
-
puts the value of the RHS into the context under the key of the LHS
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTText
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.ASTTextblock
-
- render(InternalContextAdapter, Writer) - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- render(InternalContextAdapter, Writer) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- render(InternalContextAdapter, Writer) - Method in interface org.apache.velocity.runtime.Renderable
-
- render(Context, Writer, String, SimpleNode) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Initializes and renders the AST
SimpleNode
using the context
into the output writer.
- Renderable - Interface in org.apache.velocity.runtime
-
This interface characterize objects other than ASTNodes that can be rendered
to a writer using a context.
- renderBlock(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.contrib.For
-
- renderBlock(InternalContextAdapter, Writer, Node) - Method in class org.apache.velocity.runtime.directive.Foreach
-
- ReportInvalidReferences - Class in org.apache.velocity.app.event.implement
-
Use this event handler to flag invalid references.
- ReportInvalidReferences() - Constructor for class org.apache.velocity.app.event.implement.ReportInvalidReferences
-
- repository - Variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- REPOSITORY_CLASS - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Key to look up the repository implementation class.
- REPOSITORY_CLASS_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
The default implementation class.
- REPOSITORY_ENCODING - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Key to look up the repository char encoding.
- REPOSITORY_ENCODING_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
The default repository encoding.
- REPOSITORY_NAME - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Key to look up the name for the repository to be used.
- REPOSITORY_NAME_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
The default name for string resource repositories
('org.apache.velocity.runtime.resource.util.StringResourceRepository').
- REPOSITORY_STATIC - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Key to determine whether the repository should be set as the static one or not.
- REPOSITORY_STATIC_DEFAULT - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
By default, repositories are stored statically (shared across the VM).
- requiresChecking() - Method in class org.apache.velocity.runtime.resource.Resource
-
Is it time to check to see if the resource
source has been updated?
- reset() - Static method in class org.apache.velocity.app.Velocity
-
Resets the instance, so Velocity can be re-initialized again.
- reset() - Method in class org.apache.velocity.app.VelocityEngine
-
Resets the instance, so Velocity can be re-initialized again.
- reset() - Method in class org.apache.velocity.io.UnicodeInputStream
-
- reset() - Method in class org.apache.velocity.runtime.parser.JJTParserState
-
- reset() - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Resets the instance, so Velocity can be re-initialized again.
- reset() - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Resets the instance, so Velocity can be re-initialized again.
- Resource - Class in org.apache.velocity.runtime.resource
-
This class represent a general text resource that
may have been retrieved from any number of possible
sources.
- Resource() - Constructor for class org.apache.velocity.runtime.resource.Resource
-
Default constructor
- RESOURCE_CONTENT - Static variable in interface org.apache.velocity.runtime.resource.ResourceManager
-
A static content resource.
- RESOURCE_CONTENT - Static variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
A static content resource.
- RESOURCE_LOADER - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Key used to retrieve the names of the resource loaders to be used.
- RESOURCE_MANAGER_CACHE_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
The
resource.manager.cache.class
property specifies the name of the
ResourceCache
implementation to use.
- RESOURCE_MANAGER_CLASS - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
- RESOURCE_MANAGER_DEFAULTCACHE_SIZE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
The resource.manager.cache.size
property specifies the cache upper bound (if relevant).
- RESOURCE_MANAGER_LOGWHENFOUND - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
controls if the finding of a resource is logged.
- RESOURCE_TEMPLATE - Static variable in interface org.apache.velocity.runtime.resource.ResourceManager
-
A template resources.
- RESOURCE_TEMPLATE - Static variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
A template resources.
- ResourceCache - Interface in org.apache.velocity.runtime.resource
-
Interface that defines the shape of a pluggable resource cache
for the included ResourceManager
- ResourceCacheImpl - Class in org.apache.velocity.runtime.resource
-
Default implementation of the resource cache for the default
ResourceManager.
- ResourceCacheImpl() - Constructor for class org.apache.velocity.runtime.resource.ResourceCacheImpl
-
- resourceExists(String) - Static method in class org.apache.velocity.app.Velocity
-
Determines whether a resource is accessible via the
currently configured resource loaders.
- resourceExists(String) - Method in class org.apache.velocity.app.VelocityEngine
-
Determines if a resource is accessible via the currently
configured resource loaders.
- resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.FileResourceLoader
-
Overrides superclass for better performance.
- resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Check whether any given resource exists.
- resourceExists(String) - Method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
Overrides superclass for better performance.
- ResourceFactory - Class in org.apache.velocity.runtime.resource
-
Class responsible for instantiating Resource
objects,
given name and type.
- ResourceFactory() - Constructor for class org.apache.velocity.runtime.resource.ResourceFactory
-
- ResourceLoader - Class in org.apache.velocity.runtime.resource.loader
-
- ResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.ResourceLoader
-
Deprecated.
- resourceLoader - Variable in class org.apache.velocity.runtime.resource.Resource
-
The template loader that initially loaded the input
stream for this template, and knows how to check the
source of the input stream for modification.
- ResourceLoader2 - Class in org.apache.velocity.runtime.resource.loader
-
This is abstract class the all text resource loaders should
extend.
- ResourceLoader2() - Constructor for class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
- ResourceLoaderFactory - Class in org.apache.velocity.runtime.resource.loader
-
Factory to grab a template loader.
- ResourceLoaderFactory() - Constructor for class org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory
-
- resourceLoaders - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
The List of templateLoaders that the Runtime will use to locate the InputStream source of a template.
- ResourceManager - Interface in org.apache.velocity.runtime.resource
-
Class to manage the text resource for the Velocity
Runtime.
- ResourceManagerImpl - Class in org.apache.velocity.runtime.resource
-
Class to manage the text resource for the Velocity Runtime.
- ResourceManagerImpl() - Constructor for class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
- ResourceNotFoundException - Exception in org.apache.velocity.exception
-
Application-level exception thrown when a resource of any type
isn't found by the Velocity engine.
- ResourceNotFoundException(String) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
-
- ResourceNotFoundException(String, Throwable) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
-
- ResourceNotFoundException(Throwable) - Constructor for exception org.apache.velocity.exception.ResourceNotFoundException
-
- resources - Variable in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
mem store
- RIGHT_CURLEY - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- rootNode() - Method in class org.apache.velocity.runtime.parser.JJTParserState
-
- RPAREN - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- rsvc - Variable in class org.apache.velocity.runtime.directive.Directive
-
- rsvc - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- rsvc - Variable in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
- rsvc - Variable in class org.apache.velocity.runtime.resource.Resource
-
- rsvc - Variable in class org.apache.velocity.runtime.resource.ResourceCacheImpl
-
Runtime services, generally initialized by the
initialize()
method.
- rsvc - Variable in class org.apache.velocity.runtime.resource.ResourceManagerImpl
-
The internal RuntimeServices object.
- RUNTIME_LOG_INSTANCE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
externally provided logger.
- RUNTIME_LOG_NAME - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
externally provided logger name.
- RUNTIME_LOG_REFERENCE_LOG_INVALID - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Logging of invalid references.
- RUNTIME_REFERENCES_STRICT - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Properties referenced in the template are required to exist the object
- RUNTIME_REFERENCES_STRICT_ESCAPE - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Indicates we are going to use modified escape behavior in strict mode
- RuntimeConstants - Interface in org.apache.velocity.runtime
-
This class defines the keys that are used in the velocity.properties file so that they can be referenced as a constant within
Java code.
- RuntimeInstance - Class in org.apache.velocity.runtime
-
This is the Runtime system for Velocity.
- RuntimeInstance() - Constructor for class org.apache.velocity.runtime.RuntimeInstance
-
Creates a new RuntimeInstance object.
- RuntimeMacro - Class in org.apache.velocity.runtime.directive
-
This class acts as a proxy for potential macros.
- RuntimeMacro(String) - Constructor for class org.apache.velocity.runtime.directive.RuntimeMacro
-
Create a RuntimeMacro instance.
- RuntimeServices - Interface in org.apache.velocity.runtime
-
Interface for internal runtime services that are needed by the
various components w/in Velocity.
- RuntimeServicesAware - Interface in org.apache.velocity.util
-
Use this interface to automatically
have the method setRuntimeServices called at initialization.
- RuntimeSingleton - Class in org.apache.velocity.runtime
-
This is the Runtime system for Velocity.
- RuntimeSingleton() - Constructor for class org.apache.velocity.runtime.RuntimeSingleton
-
- sameEncoding(String, String) - Static method in class org.apache.velocity.io.UnicodeInputStream
-
Helper function to compare encodings
- save(OutputStream, String) - Method in class org.apache.velocity.util.ExtProperties
-
Save the properties to the given output stream.
- Scope - Class in org.apache.velocity.runtime.directive
-
This handles context scoping and metadata for directives.
- Scope(Object, Object) - Constructor for class org.apache.velocity.runtime.directive.Scope
-
- Scope.Info - Class in org.apache.velocity.runtime.directive
-
Class to encapsulate and provide access to info about
the current scope for debugging.
- Scope.Info(Scope, Object) - Constructor for class org.apache.velocity.runtime.directive.Scope.Info
-
- SecureIntrospectorControl - Interface in org.apache.velocity.util.introspection
-
Interface used to determine which methods are allowed to be executed.
- SecureIntrospectorImpl - Class in org.apache.velocity.util.introspection
-
Prevent "dangerous" classloader/reflection related calls.
- SecureIntrospectorImpl(String[], String[], Logger) - Constructor for class org.apache.velocity.util.introspection.SecureIntrospectorImpl
-
- SecureUberspector - Class in org.apache.velocity.util.introspection
-
Use a custom introspector that prevents classloader related method
calls.
- SecureUberspector() - Constructor for class org.apache.velocity.util.introspection.SecureUberspector
-
- select(boolean, String, String) - Method in class org.apache.velocity.util.StringUtils
-
If state is true then return the trueString, else
return the falseString.
- set(Object, Object) - Method in class org.apache.velocity.runtime.directive.Scope
-
Convenience method to call put(key,val) in a template
without worrying about what is returned/rendered by the call.
- set(int, Object) - Method in class org.apache.velocity.util.ArrayListWrapper
-
- SET_DIRECTIVE - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- setApplicationAttribute(Object, Object) - Static method in class org.apache.velocity.app.Velocity
-
Set the an ApplicationAttribue, which is an Object
set by the application which is accessible from
any component of the system that gets a RuntimeServices.
- setApplicationAttribute(Object, Object) - Method in class org.apache.velocity.app.VelocityEngine
-
Sets an application attribute (which can be any Object) that will be
accessible from any component of the system that gets a
RuntimeServices.
- setApplicationAttribute(Object, Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Sets the application attribute for the given key
- setApplicationAttribute(Object, Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Set the specified application attribute.
- setBody(String) - Method in class org.apache.velocity.runtime.resource.util.StringResource
-
Sets a new value for the template body.
- setCachingOn(boolean) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Set the caching state.
- setConfiguration(ExtendedProperties) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
- setConfiguration(ExtProperties) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Allow an external system to set an ExtendedProperties
object to use.
- setConfiguration(ExtendedProperties) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
- setConfiguration(ExtProperties) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Allow an external system to set an ExtProperties
object to use.
- setConfiguration(ExtendedProperties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
- setConfiguration(ExtProperties) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Allow an external system to set an ExtProperties
object to use.
- setContext(Context) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
-
- setContext(InternalContextAdapter) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
-
- setContext(Context) - Method in interface org.apache.velocity.util.ContextAware
-
Initialize the EventHandler.
- setCurrentResource(Resource) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- setCurrentResource(Resource) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- setData(Object) - Method in class org.apache.velocity.runtime.resource.Resource
-
Set arbitrary data object that might be used
by the resource.
- setDataSource(DataSource) - Method in class org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader
-
Set the DataSource used by this resource loader.
- setDebugStream(PrintStream) - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
-
Set debug output.
- SetDirective() - Method in class org.apache.velocity.runtime.parser.Parser
-
Currently support both types of set :
#set( expr )
#set expr
- setDirectiveName(String) - Method in class org.apache.velocity.runtime.parser.node.ASTDirective
-
Sets the directive name.
- setEncoding(String) - Method in class org.apache.velocity.runtime.resource.Resource
-
set the encoding of this resource
for example, "ISO-8859-1"
- setEncoding(String) - Method in class org.apache.velocity.runtime.resource.util.StringResource
-
Sets the encoding of this string resource.
- setEncoding(String) - Method in interface org.apache.velocity.runtime.resource.util.StringResourceRepository
-
Sets the default encoding of the repository.
- setEncoding(String) - Method in class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
- SetExecutor - Class in org.apache.velocity.runtime.parser.node
-
Abstract class that is used to execute an arbitrary
method that is in introspected.
- SetExecutor() - Constructor for class org.apache.velocity.runtime.parser.node.SetExecutor
-
- setExtendedProperties(ExtendedProperties) - Static method in class org.apache.velocity.app.Velocity
-
- setExtendedProperties(ExtProperties) - Static method in class org.apache.velocity.app.Velocity
-
Set an entire configuration at once.
- setExtendedProperties(ExtendedProperties) - Method in class org.apache.velocity.app.VelocityEngine
-
- setExtendedProperties(ExtProperties) - Method in class org.apache.velocity.app.VelocityEngine
-
Set an entire configuration at once.
- setField(Field) - Method in class org.apache.velocity.runtime.parser.node.PublicFieldExecutor
-
- setField(Field) - Method in class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
- setFirstToken(Token) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- setInclude(String) - Method in class org.apache.velocity.util.ExtProperties
-
Sets the property value for including other properties files.
- setInfo(int) - Method in interface org.apache.velocity.runtime.parser.node.Node
-
- setInfo(int) - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- setInlineReplacesGlobal(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
- setInvalid() - Method in interface org.apache.velocity.runtime.parser.node.Node
-
Mark the node as invalid.
- setInvalid() - Method in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- setLastModified(long) - Method in class org.apache.velocity.runtime.resource.Resource
-
Set the last modified time for this
resource.
- setLastModified(long) - Method in class org.apache.velocity.runtime.resource.util.StringResource
-
Changes the last modified parameter.
- setLocation(int, int) - Method in class org.apache.velocity.runtime.directive.Directive
-
Allows the template location to be set.
- setLocation(int, int, Template) - Method in class org.apache.velocity.runtime.directive.Directive
-
Allows the template location to be set.
- setLog(Logger) - Method in class org.apache.velocity.util.introspection.UberspectImpl
-
Sets the runtime logger - this must be called before anything
else.
- setLog(Logger) - Method in interface org.apache.velocity.util.introspection.UberspectLoggable
-
Sets the logger.
- setLog(Logger) - Method in class org.apache.velocity.util.introspection.UberspectPublicFields
-
Sets the runtime logger - this must be called before anything
else.
- setMacroArgs(List<Macro.MacroArg>) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
sets the array of arguments specified in the macro definition
- setMacroLibraries(List) - Method in class org.apache.velocity.context.ChainedInternalContextAdapter
-
- setMacroLibraries(List) - Method in class org.apache.velocity.context.InternalContextAdapterImpl
-
- setMethod(Method) - Method in class org.apache.velocity.runtime.parser.node.AbstractExecutor
-
- setMethod(Method) - Method in class org.apache.velocity.runtime.parser.node.SetExecutor
-
- setModificationCheckInterval(long) - Method in class org.apache.velocity.runtime.resource.loader.ResourceLoader2
-
Set the interval at which the InputStream source
should be checked for modifications.
- setModificationCheckInterval(long) - Method in class org.apache.velocity.runtime.resource.Resource
-
Set the modification check interval.
- setName(String) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
sets the directive name of this VM
- setName(String) - Method in class org.apache.velocity.runtime.resource.Resource
-
Set the name of this resource, for example
test.vm.
- setNamespaceUsage(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
public switch to let external user of manager to control namespace
usage indep of properties.
- setNodeTree(SimpleNode) - Method in class org.apache.velocity.runtime.directive.VelocimacroProxy
-
- setProperties(String) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Add all properties contained in the file fileName to the RuntimeInstance properties
- setProperties(Properties) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Add all the properties in props to the RuntimeInstance properties
- setProperty(String, Object) - Static method in class org.apache.velocity.app.Velocity
-
Set a Velocity Runtime property.
- setProperty(String, Object) - Method in class org.apache.velocity.app.VelocityEngine
-
Set a Velocity Runtime property.
- setProperty(String, Object) - Method in class org.apache.velocity.runtime.RuntimeInstance
-
Allows an external system to set a property in
the Velocity Runtime.
- setProperty(String, Object) - Method in interface org.apache.velocity.runtime.RuntimeServices
-
Allows an external system to set a property in
the Velocity Runtime.
- setProperty(String, Object) - Static method in class org.apache.velocity.runtime.RuntimeSingleton
-
Allows an external system to set a property in
the Velocity Runtime.
- setProperty(String, Object) - Method in class org.apache.velocity.util.ExtProperties
-
Set a property, this will replace any previously
set values.
- SetPropertyExecutor - Class in org.apache.velocity.runtime.parser.node
-
Executor for looking up property names in the passed in class
This will try to find a set<foo>(key, value) method
- SetPropertyExecutor(Logger, Introspector, Class, String, Object) - Constructor for class org.apache.velocity.runtime.parser.node.SetPropertyExecutor
-
- SetPublicFieldExecutor - Class in org.apache.velocity.runtime.parser.node
-
Executor for setting public fields in objects
- SetPublicFieldExecutor(Logger, Introspector, Class, String, Object) - Constructor for class org.apache.velocity.runtime.parser.node.SetPublicFieldExecutor
-
- setReferenceName(String) - Method in exception org.apache.velocity.exception.MethodInvocationException
-
Sets the reference name that threw this exception.
- setRegisterFromLib(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
Should macros registered from Libraries be marked special?
- setRepository(String, StringResourceRepository) - Static method in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- setResourceLoader(ResourceLoader2) - Method in class org.apache.velocity.runtime.resource.Resource
-
Set the template loader for this template.
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.EscapeReference
-
Called automatically when event cartridge is initialized.
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.IncludeNotFound
-
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.PrintExceptions
-
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.app.event.implement.ReportInvalidReferences
-
Called automatically when event cartridge is initialized.
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.runtime.resource.Resource
-
- setRuntimeServices(RuntimeServices) - Method in class org.apache.velocity.util.introspection.SecureUberspector
-
Store the RuntimeServices before the object is initialized..
- setRuntimeServices(RuntimeServices) - Method in interface org.apache.velocity.util.RuntimeServicesAware
-
Called automatically when event cartridge is initialized.
- setTemplateLocalInlineVM(boolean) - Method in class org.apache.velocity.runtime.VelocimacroManager
-
Should macros from the same template be inlined?
- setType(int) - Method in class org.apache.velocity.runtime.resource.Resource
-
Sets the type of this Resource (RESOURCE_TEMPLATE or RESOURCE_CONTENT)
- setValue(InternalContextAdapter, Object) - Method in class org.apache.velocity.runtime.parser.node.ASTReference
-
Sets the value of a complex reference (something like $foo.bar)
Currently used by ASTSetReference()
- setWriter(Writer) - Method in class org.apache.velocity.runtime.visitor.BaseVisitor
-
- shouldLogOnNullSet(String, String) - Method in class org.apache.velocity.example.EventExample
-
Event handler for when the right hand side of
a #set() directive is null, which results in
a log message.
- SimpleNode - Class in org.apache.velocity.runtime.parser.node
-
- SimpleNode(int) - Constructor for class org.apache.velocity.runtime.parser.node.SimpleNode
-
- SimpleNode(Parser, int) - Constructor for class org.apache.velocity.runtime.parser.node.SimpleNode
-
- SimplePool - Class in org.apache.velocity.util
-
Simple object pool.
- SimplePool(int) - Constructor for class org.apache.velocity.util.SimplePool
-
- SINGLE_LINE_COMMENT - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- SINGLE_LINE_COMMENT_START - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- size() - Method in class org.apache.velocity.util.ArrayListWrapper
-
- skip(long) - Method in class org.apache.velocity.io.UnicodeInputStream
-
- SKIP_INVALID_ITERATOR - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Whether to throw an exception or just skip bad iterables.
- specialConstructor - Variable in exception org.apache.velocity.runtime.parser.ParseException
-
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken - Variable in class org.apache.velocity.runtime.parser.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- split(String, String) - Static method in class org.apache.velocity.util.StringUtils
-
Create a string array from a string separated by delim
- stackTrace(Throwable) - Static method in class org.apache.velocity.util.StringUtils
-
Returns the output of printStackTrace as a String.
- START - Static variable in class org.apache.velocity.runtime.parser.node.ASTTextblock
-
- START_TOKEN - Static variable in class org.apache.velocity.util.ExtProperties
-
- state - Variable in class org.apache.velocity.runtime.parser.node.SimpleNode
-
- Statement() - Method in class org.apache.velocity.runtime.parser.Parser
-
These are the types of statements that
are acceptable in Velocity templates.
- stateStackPop() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
-
pushes the current state onto the 'state stack',
and maintains the parens counts
public because we need it in PD & VM handling
- stateStackPush() - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
-
pops a state off the stack, and restores paren counts
- STATIC_REPOSITORIES - Static variable in class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- staticFlag - Static variable in class org.apache.velocity.runtime.parser.VelocityCharStream
-
- stop() - Method in class org.apache.velocity.runtime.directive.Scope
-
Allows #stop to easily trigger the proper StopCommand for this scope.
- Stop - Class in org.apache.velocity.runtime.directive
-
This class implements the #stop directive which allows
a user to stop the merging and rendering process.
- Stop() - Constructor for class org.apache.velocity.runtime.directive.Stop
-
- StopCommand - Error in org.apache.velocity.runtime.directive
-
Stop command for directive Control objects.
- StopCommand() - Constructor for error org.apache.velocity.runtime.directive.StopCommand
-
- StopCommand(String) - Constructor for error org.apache.velocity.runtime.directive.StopCommand
-
- StopCommand(Object) - Constructor for error org.apache.velocity.runtime.directive.StopCommand
-
- STRICT_MATH - Static variable in interface org.apache.velocity.runtime.RuntimeConstants
-
Switch for ignoring nulls in math equations vs throwing exceptions.
- strictEscape - Variable in class org.apache.velocity.runtime.parser.node.ASTReference
-
Indicates if we are using modified escape behavior in strict mode.
- strictEscape - Variable in class org.apache.velocity.runtime.parser.Parser
-
Set to true if the property
RuntimeConstants.RUNTIME_REFERENCES_STRICT_ESCAPE is set to true
- strictMode - Variable in class org.apache.velocity.runtime.parser.node.ASTMathNode
-
- strictRef - Variable in class org.apache.velocity.runtime.directive.Parse
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.directive.RuntimeMacro
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTIdentifier
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTIndex
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTMethod
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTReference
-
Indicates if we are running in strict reference mode.
- strictRef - Variable in class org.apache.velocity.runtime.parser.node.ASTSetDirective
-
Indicates if we are running in strict reference mode.
- STRING_LITERAL - Static variable in interface org.apache.velocity.runtime.parser.ParserConstants
-
RegularExpression Id.
- StringLiteral() - Method in class org.apache.velocity.runtime.parser.Parser
-
- StringResource - Class in org.apache.velocity.runtime.resource.util
-
Wrapper for Strings containing templates, allowing to add additional meta
data like timestamps.
- StringResource(String, String) - Constructor for class org.apache.velocity.runtime.resource.util.StringResource
-
convenience constructor; sets body to 'body' and sets lastModified to now
- StringResourceLoader - Class in org.apache.velocity.runtime.resource.loader
-
Resource loader that works with Strings.
- StringResourceLoader() - Constructor for class org.apache.velocity.runtime.resource.loader.StringResourceLoader
-
- StringResourceRepository - Interface in org.apache.velocity.runtime.resource.util
-
A StringResourceRepository functions as a central repository for Velocity templates
stored in Strings.
- StringResourceRepositoryImpl - Class in org.apache.velocity.runtime.resource.util
-
Default implementation of StringResourceRepository.
- StringResourceRepositoryImpl() - Constructor for class org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl
-
- stringSubstitution(String, Hashtable) - Static method in class org.apache.velocity.util.StringUtils
-
- stringSubstitution(String, Map) - Static method in class org.apache.velocity.util.StringUtils
-
Perform a series of substitutions.
- StringUtils - Class in org.apache.velocity.util
-
This class provides some methods for dynamically
invoking methods in objects, and some string
manipulation and formatting methods.
- StringUtils() - Constructor for class org.apache.velocity.util.StringUtils
-
- sub(String, String, String) - Static method in class org.apache.velocity.util.StringUtils
-
Replaces all instances of oldString with newString in line.
- subset(String) - Method in class org.apache.velocity.util.ExtProperties
-
Create an ExtProperties object that is a subset
of this one.
- subtract(Number, Number) - Static method in class org.apache.velocity.runtime.parser.node.MathUtils
-
Subtract two numbers and return the correct value / type.
- SwitchTo(int) - Method in class org.apache.velocity.runtime.parser.ParserTokenManager
-
Switch to specified lex state.