- cache(String, String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- cacheData(Map<String, Object>) - Method in class org.apache.velocity.tools.Toolbox
-
- CALENDAR_FIELDS - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- CallableSub() - Constructor for class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- capitalize(Object) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Changes the first character of the string value of the specified object
to upper case and returns the resulting string.
- CATCH_EXCEPTIONS_KEY - Static variable in class org.apache.velocity.tools.ToolContext
-
- ceil(Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- cell(Object) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary
to ensure that the returned string's length equals the default cell size.
- cell(Object, int) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary
to ensure that the returned string's length equals the specified cell size.
- cell(Object, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary
to ensure that the returned string's length equals the default cell size.
- cell(Object, int, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary
to ensure that the returned string's length equals the specified cell size.
- CELL_LENGTH_KEY - Static variable in class org.apache.velocity.tools.generic.DisplayTool
-
- CELL_SUFFIX_KEY - Static variable in class org.apache.velocity.tools.generic.DisplayTool
-
- charset - Variable in class org.apache.velocity.tools.generic.LinkTool
-
- CHARSET_KEY - Static variable in class org.apache.velocity.tools.generic.LinkTool
-
- children() - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- children() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns a new
XmlTool
instance that wraps all the
child
Element
s of all the current internally held nodes
that are
Element
s themselves.
- classname(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- ClassTool - Class in org.apache.velocity.tools.generic
-
- ClassTool() - Constructor for class org.apache.velocity.tools.generic.ClassTool
-
Creates an instance with target type of
Object
.
- ClassTool(ClassTool, Class) - Constructor for class org.apache.velocity.tools.generic.ClassTool
-
Creates a new instance that inspects the specified type
and otherwise shares the configuration values of the specified "parent"
ClassTool instance.
- ClassTool.CallableSub<T extends ClassTool.CallableSub> - Class in org.apache.velocity.tools.generic
-
- ClassTool.ConstructorSub - Class in org.apache.velocity.tools.generic
-
A simplified wrapping interface for inspecting features
of a
Constructor
in an inspected Class.
- ClassTool.FieldSub - Class in org.apache.velocity.tools.generic
-
A simplified wrapping interface for inspecting features
of a
Field
in an inspected Class.
- ClassTool.MethodSub - Class in org.apache.velocity.tools.generic
-
A simplified wrapping interface for inspecting features
of a
Method
in an inspected Class.
- ClassTool.Sub<T extends ClassTool.Sub> - Class in org.apache.velocity.tools.generic
-
- ClassUtils - Class in org.apache.velocity.tools
-
Repository for common class and reflection methods.
- clean(FactoryConfiguration) - Method in class org.apache.velocity.tools.config.ConfigurationCleaner
-
- clean(ToolboxConfiguration) - Method in class org.apache.velocity.tools.config.ConfigurationCleaner
-
- clean(Configuration) - Method in class org.apache.velocity.tools.config.ConfigurationCleaner
-
- clean(Configuration) - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- CLEAN_CONFIGURATION_KEY - Static variable in class org.apache.velocity.tools.view.VelocityView
-
Controls removal of tools or data with invalid configurations
before initialization is finished.
- cleanProperties(Configuration) - Method in class org.apache.velocity.tools.config.ConfigurationCleaner
-
- clear() - Method in class org.apache.velocity.tools.generic.ValueParser
-
- clear() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Discard the output buffer.
- clear() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- clearBuffer() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
- clearBuffer() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- close() - Method in class org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
-
- close() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Close the stream.
- close() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- close() - Method in class org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
-
- CollectionTool - Class in org.apache.velocity.tools.generic
-
CollectionTool allows a user to sort a collection (or array, iterator, etc)
on any arbitrary set of properties exposed by the objects contained
within the collection, and to generate arrays by splitting strings.
- CollectionTool() - Constructor for class org.apache.velocity.tools.generic.CollectionTool
-
- CollectionTool.PropertiesComparator - Class in org.apache.velocity.tools.generic
-
Does all of the comparisons
- combine(Toolbox...) - Method in class org.apache.velocity.tools.Toolbox
-
Returns a new
Toolbox
that is a combination of
this Toolbox with one or more specified
Toolbox
es.
- combine(Map<String, Object>...) - Method in class org.apache.velocity.tools.ToolInfo
-
Combine several property maps
- combinePath(String, String) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If end is null, this will return start and vice versa.
- combinePath(String, String) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
If end is null, this will return start and vice versa.
- combineQuery(String, String) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If the second param is null or empty, this will simply return the first
and vice versa.
- comment(Object) - Method in class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- compare(Object, Object) - Method in class org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
-
- compare(Object, Object, int) - Method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Internal comparison method.
- compare - Variable in class org.apache.velocity.tools.generic.LoopTool.Comparison
-
- compareTo(Configuration) - Method in class org.apache.velocity.tools.config.Configuration
-
- compareTo(Data) - Method in class org.apache.velocity.tools.config.Data
-
- compareTo(Configuration) - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- compareTo(Configuration) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- compareTo(T) - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
Compare unique names of inspected and given objects
- Comparison(Calendar, Calendar, int, int, boolean, Locale) - Constructor for class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Comparison object constructor
- Comparison(Object) - Constructor for class org.apache.velocity.tools.generic.LoopTool.Comparison
-
- ComparisonDateTool - Class in org.apache.velocity.tools.generic
-
Tool for comparing
Date
and
Calendar
values
in Velocity templates.
- ComparisonDateTool() - Constructor for class org.apache.velocity.tools.generic.ComparisonDateTool
-
- ComparisonDateTool.Comparison - Class in org.apache.velocity.tools.generic
-
- CompoundConfiguration<C extends Configuration> - Class in org.apache.velocity.tools.config
-
- CompoundConfiguration() - Constructor for class org.apache.velocity.tools.config.CompoundConfiguration
-
- condition - Variable in class org.apache.velocity.tools.generic.LoopTool.ActionCondition
-
- condition(LoopTool.ActionCondition) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- CONFIG_FACTORY_METHOD - Static variable in class org.apache.velocity.tools.config.ConfigurationUtils
-
- Configuration - Class in org.apache.velocity.tools.config
-
This base configuration class manages a set of
Property
s
for whatever thing the instance of this class represents.
- Configuration() - Constructor for class org.apache.velocity.tools.config.Configuration
-
- CONFIGURATION_KEY - Static variable in class org.apache.velocity.tools.view.ServletUtils
-
- ConfigurationCleaner - Class in org.apache.velocity.tools.config
-
- ConfigurationCleaner() - Constructor for class org.apache.velocity.tools.config.ConfigurationCleaner
-
- ConfigurationException - Exception in org.apache.velocity.tools.config
-
- ConfigurationException(String) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Data, Throwable) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Data, String) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Data, String, Throwable) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Configuration, Throwable) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Configuration, String) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationException(Configuration, String, Throwable) - Constructor for exception org.apache.velocity.tools.config.ConfigurationException
-
- ConfigurationUtils - Class in org.apache.velocity.tools.config
-
Utility methods for handling tool configurations.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.AlternatorTool
-
Deprecated.
Looks for a default auto-alternate value in the given params,
if not, set the default to true.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ClassTool
-
Configure this tool
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Calls the superclass implementation, then looks for a bundle name
and any time units to be skipped.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ContextTool
-
Initializes this instance for the current request.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.DateTool
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.FieldTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.FormatConfig
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Configure import support
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ImportTool
-
Configuration
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Looks for the "file" parameter and automatically uses
JsonTool.initJSON(String)
to parse the file (searched in filesystem current path and classpath) and set the
resulting JSON object as the root node for this instance.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Configuration
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.LocaleConfig
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.RenderTool
-
Looks for deprecated parse depth and catch.exceptions properties,
as well as any 'forceThreadSafe' setting.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- configure(Map<String, Object>) - Method in class org.apache.velocity.tools.generic.SafeConfig
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.ValueParser
-
Does the actual configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.generic.XmlTool
-
Configuration.
- configure(FactoryConfiguration) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- configure(Object, Map<String, Object>) - Method in class org.apache.velocity.tools.ToolInfo
-
Actually performs configuration of the newly instantiated tool
using the combined final set of configuration properties.
- configure(FactoryConfiguration) - Method in class org.apache.velocity.tools.ToolManager
-
Configure the tool manager with this toolbox factory config
- configure(String) - Method in class org.apache.velocity.tools.ToolManager
-
Configure the tool manager with the provided configuration file
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Configuration
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.ImportTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.IncludeTool
-
Extracts the default language from the specified
ViewContext
, looking first at the Velocity
context, then the servlet context, then lastly at the JVM
default.
- configure(ViewToolContext) - Method in class org.apache.velocity.tools.view.IncludeTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.JsonTool
-
Configuration.
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.LinkTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.ParameterTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
- configure(JeeConfig, VelocityEngine) - Method in class org.apache.velocity.tools.view.VelocityView
-
- configure(JeeConfig, ToolboxFactory) - Method in class org.apache.velocity.tools.view.VelocityView
-
Here's the configuration lookup/loading order:
If loadDefaults is true,
ConfigurationUtils.getDefaultTools()
Config file optionally specified by servletContext
org.apache.velocity.tools
init-param
Config file optionally at
/WEB-INF/tools.xml
(conventional location)
Config file optionally specified by servlet
org.apache.velocity.tools
init-param
Remember that as these configurations are added on top of each other,
the newer values will always override the older ones.
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.ViewContextTool
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.ViewImportSupport
-
- configure(FactoryConfiguration) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- configure(ValueParser) - Method in class org.apache.velocity.tools.view.XmlTool
-
Configuration.
- CONFIGURE_METHOD_NAME - Static variable in class org.apache.velocity.tools.ToolInfo
-
- constructor - Variable in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- constructors - Variable in class org.apache.velocity.tools.generic.ClassTool
-
- ConstructorSub(Constructor) - Constructor for class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
Constructor inspector constructor
- contains(Object) - Method in class org.apache.velocity.tools.generic.ContextTool
-
Returns true
if the context contains a value for the specified
reference name (aka context key).
- containsKey(Object) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- containsKey(String) - Method in class org.apache.velocity.tools.ToolContext
-
- containsKey(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Indicates whether the specified key is in the context.
- containsValue(Object) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- CONTENT_TYPE_KEY - Static variable in class org.apache.velocity.tools.view.VelocityView
-
The HTTP content type context key.
- context - Variable in class org.apache.velocity.tools.generic.ContextTool
-
- context - Variable in class org.apache.velocity.tools.view.JeeContextConfig
-
- context - Variable in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- context(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Sets a custom {context} variable for the formats to use.
- CONTEXT_KEY - Static variable in class org.apache.velocity.tools.ToolContext
-
- CONTEXT_KEY - Static variable in class org.apache.velocity.tools.view.VelocityViewFilter
-
- contextDestroyed(ServletContextEvent) - Method in class org.apache.velocity.tools.examples.showcase.sample.SampleListInitializer
-
- contextInitialized(ServletContextEvent) - Method in class org.apache.velocity.tools.examples.showcase.sample.SampleListInitializer
-
- ContextTool - Class in org.apache.velocity.tools.generic
-
Tool for convenient access to Context
data and
meta-data.
- ContextTool() - Constructor for class org.apache.velocity.tools.generic.ContextTool
-
- ConversionTool - Class in org.apache.velocity.tools.generic
-
- ConversionTool() - Constructor for class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- ConversionUtils - Class in org.apache.velocity.tools
-
Utility methods for parsing or otherwise converting between types.
- convert(Class, Object) - Method in class org.apache.velocity.tools.config.Data.AutoConverter
-
- convert(String) - Method in class org.apache.velocity.tools.config.Data.AutoConverter
-
- convert(Object) - Method in class org.apache.velocity.tools.config.Data
-
- convert(Class, Object) - Method in class org.apache.velocity.tools.config.Data.FieldConverter
-
- convert(Class, Object) - Method in class org.apache.velocity.tools.config.Data.NumberConverter
-
- converter(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- converter(Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- convertWith(Converter) - Method in class org.apache.velocity.tools.config.Data
-
This is a convenience method for those doing configuration in java.
- CookieTool - Class in org.apache.velocity.tools.view
-
View tool for convenient cookie access and creation.
- CookieTool() - Constructor for class org.apache.velocity.tools.view.CookieTool
-
- CookieTool.SugarCookie - Class in org.apache.velocity.tools.view
-
Extends Cookie
to add some fluid API sugar and
a toString() method that renders the Cookie's value
instead of the usual Object.toString() shenanigans.
- create(Map<String, Object>) - Method in class org.apache.velocity.tools.ToolInfo
-
Returns a new instance of the tool.
- create(String, String) - Method in class org.apache.velocity.tools.view.CookieTool
-
Creates a new Cookie with the specified name and value.
- create(String, String, Object) - Method in class org.apache.velocity.tools.view.CookieTool
-
Convenience method to create a new Cookie
and set an expiry time for it.
- CREATE_SESSION_PROPERTY - Static variable in class org.apache.velocity.tools.view.ViewToolManager
-
- createContext() - Method in class org.apache.velocity.tools.ToolManager
-
create new context with configured toolboxes tools
- createContext(Map<String, Object>) - Method in class org.apache.velocity.tools.ToolManager
-
create new context with configured toolboxes tools,
using the provided tools properties
- createContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityView
-
Creates and returns an initialized Velocity context.
- createContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewFilter
-
- createContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Get a configured Velocity context for the current request and response
- createContext(Map<String, Object>) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- createContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- createDigester() - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
- createDocumentBuilderFactory() - Static method in class org.apache.velocity.tools.XmlUtils
-
- createFactory() - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- createFactory() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- createInfo() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- createToolbox(String) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- createToolbox(String) - Method in class org.apache.velocity.tools.ToolManager
-
Create a toolbox for the given scope
- createURI() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Tries to create a URI from the current port, opacity, scheme,
userInfo, host, path, query and fragment set for this instance,
using the
URI
constructor that is appropriate to the opacity.
- currency(Object) - Method in class org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("currency", $foo).
- CURRENT_PREFIX - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- CURRENT_TYPE - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- customize(BreadcrumbTool.NavigationElement, HttpServletRequest) - Method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Let the user customize programmatically the name and URL of a specific element.
- GENERIC_DEFAULTS_PATH - Static variable in class org.apache.velocity.tools.config.ConfigurationUtils
-
- get(String) - Static method in enum org.apache.velocity.tools.config.Data.Type
-
- get(Object) - Method in class org.apache.velocity.tools.generic.ContextTool
-
Retrieves the value for the specified reference name (aka context key).
- get(String) - Method in class org.apache.velocity.tools.generic.DateTool
-
- get(String, String) - Method in class org.apache.velocity.tools.generic.DateTool
-
Returns a formatted string representing the date and/or time given by
DateTool.getDate()
in standard, localized patterns.
- get(String) - Method in class org.apache.velocity.tools.generic.FieldTool.FieldToolSub
-
- get(String) - Method in class org.apache.velocity.tools.generic.FieldTool
-
Returns the value for the specified field name as found
in the stored
Map
of field names to values (or placeholders).
- get(int) - Method in class org.apache.velocity.tools.generic.JsonContent
-
Get a value from root array
- get(String) - Method in class org.apache.velocity.tools.generic.JsonContent
-
Get a property from root object
- get(int) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Get nth element from root json array.
- get(String) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Get a property from root object
- get(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
This serves two purposes:
- get(String, String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
Asks the loop with the specified name for the current value
of the specified sync'ed iterator, if any.
- get(String) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- get() - Method in class org.apache.velocity.tools.generic.LoopTool.SyncedIterator
-
- get(String) - Method in class org.apache.velocity.tools.generic.MarkupTool
-
- get(Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Accepts objects and uses their string value as the key.
- get(String) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Accepts objects and uses their string value as the key.
- get(Object, String, Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Returns the value for the specified key in the ResourceBundle for
the specified basename and locale.
- get(Object, String[], Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Retrieve a resource for the specified key from the first of the
specified bundles in which a matching resource is found.
- get(Object) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- get(String) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- get(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
Convenience method for use in Velocity templates.
- get(Object) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- get(Object) - Method in class org.apache.velocity.tools.generic.XmlTool
-
This will first attempt to find an attribute with the
specified name and return its value.
- get(Number) - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns an
XmlTool
that wraps the specified
Node
from this instance's internal Node list.
- get(String) - Method in class org.apache.velocity.tools.Toolbox
-
- get(String, String) - Method in class org.apache.velocity.tools.Toolbox
-
- get(String, Map<String, Object>) - Method in class org.apache.velocity.tools.Toolbox
-
- get(String, String, Map<String, Object>) - Method in class org.apache.velocity.tools.Toolbox
-
- get(String) - Method in class org.apache.velocity.tools.ToolContext
-
- get(String) - Method in class org.apache.velocity.tools.view.BrowserTool
-
- get(String) - Method in class org.apache.velocity.tools.view.CookieTool
-
Returns the Cookie with the specified name, if it exists.
- get(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Looks up and returns the object with the specified key.
- getAbbr() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
- getAcceptLanguage() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getAll(Map<String, Object>) - Method in class org.apache.velocity.tools.Toolbox
-
- getAll() - Method in class org.apache.velocity.tools.view.CookieTool
-
Expose array of Cookies for this request to the template.
- getAll() - Method in class org.apache.velocity.tools.view.ParameterTool
-
- getAllowedTags() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getAllowSubkeys() - Method in class org.apache.velocity.tools.generic.ValueParser
-
Are subkeys allowed ?
- getAnchor() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the anchor (internal document reference) set for this link.
- getAnnotations() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the
Annotation
s of the Class being inspected.
- getAnnotations() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
Returns the
Annotation
s of the element being inspected.
- getAppendParams() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getApplicationToolbox() - Method in class org.apache.velocity.tools.ToolManager
-
Get the toolbox for application scoped tools
- getArray() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Gives acces to the wrapped JsonArray, if any
- getAttribute(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getAttribute(String, int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getAttribute(String) - Method in class org.apache.velocity.tools.view.jsp.JspToolContext
-
- getAttribute(String) - Method in interface org.apache.velocity.tools.view.ViewContext
-
Searches for the named attribute in request, session (if valid),
and application scope(s) in order and returns the value associated
or null.
- getAttribute(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Searches for the named attribute in request, session (if valid),
and application scope(s) in order and returns the value associated
or null.
- getAttribute(Node, String, String) - Static method in class org.apache.velocity.tools.XmlUtils
-
Extracts an attribute from a node.
- getAttribute(Node, String) - Static method in class org.apache.velocity.tools.XmlUtils
-
- GetAttributeExecutor(Logger, Introspector, Class, String) - Constructor for class org.apache.velocity.tools.view.WebappUberspector.GetAttributeExecutor
-
- getAttributeNamesInScope(int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getAttributesScope(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getAutoAlternateDefault() - Method in class org.apache.velocity.tools.generic.AlternatorTool
-
Deprecated.
Returns true if the default for auto-alternating is true.
- getAverage(Collection, String) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the average of the values from a list
- getAverage(Object[], String) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getAverage(Collection) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the average of the values
- getAverage(Object...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the average of the values
- getAverage(double...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the average of the values in an array of double values
- getAverage(long...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the average of the values in an array of long values
- getB() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a backslash (\).
- getBackslash() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a backslash (\).
- getBaseRef() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the full URI of this template without any query data.
- getBodyContentKey() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getBoolAttribute(Node, String, boolean) - Static method in class org.apache.velocity.tools.XmlUtils
-
Retrieves an attribute as a boolean.
- getBoolAttribute(Node, String) - Static method in class org.apache.velocity.tools.XmlUtils
-
- getBoolean(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getBoolean(String, boolean) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getBoolean(String, Boolean) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getBooleans(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getBrowser() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getBrowser() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getBrowser() - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- getBundle(String, Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Retrieves the
ResourceBundle
for the specified baseName
and locale, if such exists.
- getCache() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getCalendar() - Method in class org.apache.velocity.tools.generic.DateTool
-
Returns a
Calendar
instance created using the timezone and
locale returned by getTimeZone() and getLocale().
- getCatchExceptions() - Method in class org.apache.velocity.tools.generic.RenderTool
-
Returns true
if this render() and eval() methods will
catch exceptions thrown during rendering.
- getCellLength() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getCellSuffix() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getCharacterEncoding() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getChild(C) - Method in class org.apache.velocity.tools.config.CompoundConfiguration
-
- getChildren() - Method in class org.apache.velocity.tools.config.CompoundConfiguration
-
- getClass(String) - Static method in class org.apache.velocity.tools.ClassUtils
-
Load a class with a given name.
- getClassname() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getClassname() - Method in class org.apache.velocity.tools.ToolInfo
-
Get tool class name
- getClasspathResource(String) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Classpath entry URL builder
- getComparable(Object, String) - Static method in class org.apache.velocity.tools.generic.CollectionTool
-
Safely retrieves the comparable value for the specified property
from the specified object.
- getConfiguration() - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- getConfiguration(ServletContext) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- getConfiguration(String, ServletContext) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- getConfiguration(String) - Method in class org.apache.velocity.tools.view.VelocityView
-
- getConfiguration(String, boolean) - Method in class org.apache.velocity.tools.view.VelocityView
-
- getConfigure() - Method in class org.apache.velocity.tools.ToolInfo
-
Try to find a configure()
method.
- getConstructors() - Method in class org.apache.velocity.tools.generic.ClassTool
-
- getContentTypeAttribute(String, String) - Static method in class org.apache.velocity.tools.generic.ImportSupport
-
Get the value associated with a content-type attribute.
- getContextKey() - Method in class org.apache.velocity.tools.view.VelocityViewFilter
-
- getContextPath() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getContextPath() - Method in class org.apache.velocity.tools.view.LinkTool
-
Initially, this returns the context path that addresses this web
application, e.g.
- getContextURL() - Method in class org.apache.velocity.tools.view.LinkTool
-
Returns a URL that addresses the web application.
- getConvertedValue() - Method in class org.apache.velocity.tools.config.Data
-
- getConverter() - Method in class org.apache.velocity.tools.config.Data
-
- getConverter() - Method in enum org.apache.velocity.tools.config.Data.Type
-
- getCount() - Method in class org.apache.velocity.tools.generic.LoopTool
-
Returns the number of items the current loop has handled.
- getCount(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
Returns the number of items the specified loop has handled.
- getCount() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getCreateSession() - Method in class org.apache.velocity.tools.examples.showcase.tool.MySearchTool
-
Override to create a session in which to store search results.
- getCreateSession() - Method in class org.apache.velocity.tools.view.PagerTool
-
- getCreateSession() - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- getCriteria() - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Return the criteria object for this request.
- getCriteria() - Method in class org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
-
- getCriteriaKey() - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
- getCss() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getCss1() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getCss2() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getCss3() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getCurrent() - Method in class org.apache.velocity.tools.generic.Alternator
-
Returns the current item without shifting the list index.
- getD() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a dollar sign ($).
- getData() - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- getData(String) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
Search for Data by key
- getData(Data) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
Search for Data by value
- getData() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- getData() - Method in class org.apache.velocity.tools.ToolboxFactory
-
- getDate() - Method in class org.apache.velocity.tools.generic.DateTool
-
- getDateFormat(String, Locale, TimeZone) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- getDateFormat(String, String, Locale, TimeZone) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- getDateFormat(int, int, Locale, TimeZone) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- getDateFormat() - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- getDateFormat(String, Locale, TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getDateFormat(String, String, Locale, TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getDateStyleAsInt(String) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Checks a string to see if it matches one of the standard DateFormat
style patterns: full, long, medium, short, or default.
- getDay() - Method in class org.apache.velocity.tools.generic.DateTool
-
- getDay(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getDays() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of days between the dates being compared.
- getDefaultAlternate() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getDefaultBundle() - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- getDefaultContentType() - Method in class org.apache.velocity.tools.view.VelocityView
-
- getDefaultKey() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
Returns the default key value for the set tool class.
- getDefaultTools() - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getDefaultToolsConfiguration() - Method in class org.apache.velocity.tools.view.VelocityView
-
- getDependencies() - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Returns the current dependencies of this instance, organized
as an ordered map of file types to lists of the required files
of that type.
- getDependencies(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Returns the
List
of files for the specified file type, if any.
- getDependencies(UiDependencyTool) - Method in class org.apache.velocity.tools.view.UiDependencyTool.Group
-
- getDepth() - Method in class org.apache.velocity.tools.generic.LoopTool
-
Returns the number of loops currently on the stack.
- getDevice() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getDeviceType() - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- getDifference() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
- getDirectory() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the directory stack
in the set
LinkTool.getPath()
value, by just trimming
off all that follows the last "/".
- getDollar() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a dollar sign ($).
- getDom0() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getDom1() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getDom2() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getDom3() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getDotnet() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getDouble(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getDouble(String, Double) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getDouble(String, double) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getDoubles(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getE() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders an exclamation mark (!).
- getELContext() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getElement() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- getElement() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
- getElement() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getElement() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getElements(String, Node) - Static method in class org.apache.velocity.tools.XmlUtils
-
Search for elements using an XPath expression
- getExact() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
- getExactDifference() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Internal helper returning a cached map of all
exact bygone time units per field.
- getException() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getExclamation() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders an exclamation mark (!).
- getExists() - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- getExpressionEvaluator() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getExtension(String) - Static method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Utility method to return URI file extension
- getFactory() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getFactory() - Method in class org.apache.velocity.tools.ToolInfo
-
Get factory class
- getFactoryClassname() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getFields() - Method in class org.apache.velocity.tools.generic.ClassTool
-
- getFieldValue(String) - Static method in class org.apache.velocity.tools.ClassUtils
-
Given a static field path, aka classname.field, get the field value.
- getFieldValue(Class, String) - Static method in class org.apache.velocity.tools.ClassUtils
-
Given a class and a static field name, get the field value.
- getFile() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the last section of the path,
which is all that follows the final "/".
- getFileResource(String) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Overridable local file URL builder.
- getFileResource(String) - Method in class org.apache.velocity.tools.view.ViewImportSupport
-
- getFilterConfig() - Method in class org.apache.velocity.tools.view.VelocityViewFilter
-
- getFirst() - Method in class org.apache.velocity.tools.generic.LoopTool
-
- getFirst() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getFirst() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns an
XmlTool
that wraps only the
first
Node
from this instance's internal Node list.
- getFirstIndex() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the index of the first item on the current page of results
(as determined by the current index, items per page, and
the number of items).
- getFormat() - Method in class org.apache.velocity.tools.generic.FormatConfig
-
This returns the configured default format for this tool.
- getFormat(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Retrieves the configured format string for the specified file type.
- getFromCache(String, String) - Method in class org.apache.velocity.tools.Toolbox
-
- getFromClass(String) - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getFromClass(Class) - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getFromInfo(String, String, Map<String, Object>) - Method in class org.apache.velocity.tools.Toolbox
-
- getFull() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
- getFullName() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the fully-qualified name for the inspected Class.
- getGeckoMajorVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getGeckoMinorVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getGeckoVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getGenericTools() - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getGlobalProperty(String) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- getGroup(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
NOTE: This method may change or disappear w/o warning; don't depend
on it unless you're willing to update your code whenever this changes.
- getGroupDependencies(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Returns the dependencies of the specified group, organized
as an ordered map of file types to lists of the required files
of that type.
- getH() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a hash (#).
- getHash() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a hash (#).
- getHasNext() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getHeight() - Method in class org.apache.velocity.tools.generic.DisplayTool.Measurements
-
- getHost() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Return the host value for this instance.
- getHours() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of hours between the dates being compared.
- getIe() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe3() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe4() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe4up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe5() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe55() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe55up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe5up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe6() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe6up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe7() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe7up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe8() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIe8up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getIndex() - Method in class org.apache.velocity.tools.generic.LoopTool
-
Returns the 0-based index of the item the current loop is handling.
- getIndex(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
Returns the 0-based index of the item the specified loop is handling.
- getIndex() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getIndex() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the current search result index.
- getIndexKey() - Method in class org.apache.velocity.tools.view.PagerTool
-
- getInitParameter(String) - Method in interface org.apache.velocity.tools.view.JeeConfig
-
Returns an initialization parameter.
- getInitParameter(String) - Method in class org.apache.velocity.tools.view.JeeContextConfig
-
Returns an initialization parameter.
- getInitParameter(String) - Method in class org.apache.velocity.tools.view.JeeFilterConfig
-
Returns an initialization parameter.
- getInitParameter(String) - Method in class org.apache.velocity.tools.view.JeeServletConfig
-
Returns an initialization parameter.
- getInitParameterNames() - Method in interface org.apache.velocity.tools.view.JeeConfig
-
Returns all the parameter names.
- getInitParameterNames() - Method in class org.apache.velocity.tools.view.JeeContextConfig
-
Returns all the parameter names.
- getInitParameterNames() - Method in class org.apache.velocity.tools.view.JeeFilterConfig
-
Returns all the parameter names.
- getInitParameterNames() - Method in class org.apache.velocity.tools.view.JeeServletConfig
-
Returns all the parameter names.
- getInputStream(String, ServletContext) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- getInputStream(String, boolean) - Method in class org.apache.velocity.tools.view.VelocityView
-
- getInstance(String) - Static method in class org.apache.velocity.tools.ClassUtils
-
Get an instance of a named class.
- getInstance() - Method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getInstance() - Method in class org.apache.velocity.tools.ConversionUtils
-
- getInstance() - Static method in class org.apache.velocity.tools.Scope
-
- getInstance() - Method in class org.apache.velocity.tools.view.ServletUtils
-
- getInt(String, int) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getIntAttribute(Node, String, int) - Static method in class org.apache.velocity.tools.XmlUtils
-
- getIntAttribute(Node, String) - Static method in class org.apache.velocity.tools.XmlUtils
-
- getInteger(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getInteger(String, Integer) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getInts(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getInvalidScopes() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getIPAddress() - Method in class org.apache.velocity.tools.view.BrowserTool
-
Get the client browser IP address.
- getItems() - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Gets the results for the given criteria either in memory
or by performing a new query for them.
- getItems() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the item list.
- getItemsPerPage() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the set number of items to be displayed per page of items
- getItemsPerPageKey() - Method in class org.apache.velocity.tools.view.PagerTool
-
- getIterator(Object) - Static method in class org.apache.velocity.tools.ClassUtils
-
Retrieves an Iterator from or creates and Iterator for the specified object.
- getIterator(Object) - Method in class org.apache.velocity.tools.generic.LoopTool
-
- getJavadocRef() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- getJavadocRef() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Simply returns the name of the field.
- getJavadocRef() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getJavascript() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getJspContext() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityJspFragment
-
- getKey() - Method in class org.apache.velocity.tools.config.Data
-
- getKey() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
Returns the key set for this tool.
- getKey() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Should return the key under which this tool has been configured.
- getKey() - Method in class org.apache.velocity.tools.ToolInfo
-
Get tool key
- getKeys() - Method in class org.apache.velocity.tools.generic.ContextTool
-
Return a
Set
of the available reference keys in the current
context.
- getKeys() - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Lists available keys
- getKeys(String, String, Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Returns a
List
of the key strings in the ResourceBundle
with the specified baseName and locale.
- getKeys(String, String[], Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
Returns a
List
of the key strings in the specified
ResourceBundles.
- getKeys() - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- getKeys() - Method in class org.apache.velocity.tools.Toolbox
-
- getKeys() - Method in class org.apache.velocity.tools.ToolContext
-
- getLanguagesFilter() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getLast() - Method in class org.apache.velocity.tools.generic.LoopTool
-
- getLast() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getLast() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns an
XmlTool
that wraps only the
last
Node
from this instance's internal Node list.
- getLastIndex() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the index of the last item on the current page of results
(as determined by the current index, items per page, and
the number of items).
- getLastModified(Resource) - Method in class org.apache.velocity.tools.view.WebappResourceLoader
-
Checks to see when a resource was last modified
- getLastSyncedValues() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getLatestJspTag(Context) - Static method in class org.apache.velocity.tools.view.jsp.jspimpl.JspUtils
-
Returns the latest tag encountered.
- getList() - Method in class org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
-
- getListDelimiter() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getListFinalDelimiter() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getLocale() - Method in class org.apache.velocity.tools.generic.LocaleConfig
-
This returns the configured default
Locale
for this tool.
- getLocale(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getLocale(String, Locale) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getLocales(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getLog(VelocityEngine, String) - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
- getLog() - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Get logger
- getLog() - Method in class org.apache.velocity.tools.ToolManager
-
Get logger
- getLog() - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
- getLogId() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getLong(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getLong(String, Long) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getMajorVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getMajorVersion() - Method in class org.apache.velocity.tools.view.UAParser.UAEntity
-
- getMessage() - Method in class org.apache.velocity.tools.examples.simple.tool.ToyTool
-
- getMethods() - Method in class org.apache.velocity.tools.generic.ClassTool
-
- getMilliseconds() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of milliseconds between the dates being compared.
- getMinorVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getMinorVersion() - Method in class org.apache.velocity.tools.view.UAParser.UAEntity
-
- getMinutes() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of minutes between the dates being compared.
- getModifiers() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- getModifiers() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
- getModifiers() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getModifiers() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getMonth() - Method in class org.apache.velocity.tools.generic.DateTool
-
- getMonth(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getMonths() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the approximate number of months between the dates being compared, or the bygone
number of months after the bygone number of years in exact mode.
- getMutex(HttpSession, String, Object) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Returns a mutex (lock object) unique to the specified session
and stored under the specified key to allow for reliable
synchronization on the session.
- getN() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a new line character appropriate for the
operating system ("\n" in java).
- getName() - Method in class org.apache.velocity.tools.config.Property
-
- getName() - Method in class org.apache.velocity.tools.examples.showcase.sample.Person
-
- getName() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- getName() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
- getName() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the simple name (i.e.
- getName() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getName() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getName() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- getName() - Method in class org.apache.velocity.tools.generic.XmlTool
-
- getName() - Method in class org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Displayed name getter
- getName() - Method in interface org.apache.velocity.tools.view.JeeConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - Method in class org.apache.velocity.tools.view.JeeContextConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - Method in class org.apache.velocity.tools.view.JeeFilterConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - Method in class org.apache.velocity.tools.view.JeeServletConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - Method in class org.apache.velocity.tools.view.UAParser.UAEntity
-
- getNav2() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav3() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav4() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav45() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav45up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav4up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav6() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNav6up() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNavgold() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getNewItemsKey() - Method in class org.apache.velocity.tools.view.PagerTool
-
- getNewline() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a new line character appropriate for the
operating system ("\n" in java).
- getNext() - Method in class org.apache.velocity.tools.generic.Alternator
-
Returns the current item, then shifts the list index.
- getNextIndex() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the index for the next page of items
(as determined by the current index, items per page, and
the number of items).
- getNodeName() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns the name of the root node.
- getNodes(String, Node) - Static method in class org.apache.velocity.tools.XmlUtils
-
Search for nodes using an XPath expression
- getNumber(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getNumber(String, Number) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getNumberFormat(String, Locale) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- getNumberFormat(int, Locale) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- getNumberFormat() - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- getNumberFormat(String, Locale) - Method in class org.apache.velocity.tools.generic.NumberTool
-
- getNumbers(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getNumberStyleAsInt(String) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Checks a string to see if it matches one of the standard
NumberFormat style patterns:
number, currency, percent, integer, or default.
- getObject() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Gives access to the wrapped JsonObject, if any
- getOpera3() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera4() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera5() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera6() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera7() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera8() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOpera9() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOperatingSystem() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getOperatingSystem() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getOperatingSystem() - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- getOut() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getOutputStream() - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
- getOutputWriter(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Get the output stream writer to use.
- getPackage() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the name of the package to which the inspected Class belongs.
- getPage() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getPage() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the current "page" of search items.
- getPageContext() - Method in class org.apache.velocity.tools.view.jsp.JspToolContext
-
- getPageDescription() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns a description of the current page.
- getPageNumber(int) - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the "page number" for the specified index.
- getPageNumber() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the "page number" for the current index.
- getPagesAvailable() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the number of pages that can be made from this list
given the set number of items per page.
- getParameterCount() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Returns the number of expected parameters.
- getParameters() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- getParameters() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- getParameters() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getParams() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getParent() - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- getParent() - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- getParent() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns a new
XmlTool
instance that wraps
the parent
Element
of the first/sole
Node
being wrapped by this instance.
- getParseDepth() - Method in class org.apache.velocity.tools.generic.RenderTool
-
Get the maximum number of loops allowed when recursing.
- getPath() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the current path value for this instance.
- getPath() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns the XPath that identifies the first/sole
Node
represented by this instance.
- getPath(HttpServletRequest) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Retrieves the path for the specified request regardless of
whether this is a direct request or an include by the
RequestDispatcher.
- getPlain() - Method in class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- getPort() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the port value, if any.
- getPreferredLanguage() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getPreferredLocale() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getPrevIndex() - Method in class org.apache.velocity.tools.view.PagerTool
-
Return the index for the previous page of items
(as determined by the current index, items per page, and
the number of items).
- getProperties() - Method in class org.apache.velocity.tools.config.Configuration
-
- getProperties() - Method in class org.apache.velocity.tools.Toolbox
-
- getProperties() - Method in class org.apache.velocity.tools.ToolInfo
-
Get tool properties
- getProperties(String) - Method in class org.apache.velocity.tools.view.VelocityView
-
- getProperties(String, boolean) - Method in class org.apache.velocity.tools.view.VelocityView
-
- getProperty(String) - Method in class org.apache.velocity.tools.config.Configuration
-
- getProperty(Object, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Safely retrieves the specified property from the specified object.
- getProperty(String, String) - Method in class org.apache.velocity.tools.view.VelocityView
-
Simplifies process of getting a property from VelocityEngine,
because the VelocityEngine interface sucks compared to the singleton's.
- getPropertyGet(Object, String, Info) - Method in class org.apache.velocity.tools.view.WebappUberspector
-
Property getter
- getPropertyMap() - Method in class org.apache.velocity.tools.config.Configuration
-
- getPropertyName() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
If this method can be treated as a bean property in Velocity
(which does not exactly follow the javabean spec for such things)
then it will return the "bean property" equivalent of the method name.
- getPropertySet(Object, String, Object, Info) - Method in class org.apache.velocity.tools.view.WebappUberspector
-
Property setter
- getProps() - Method in class org.apache.velocity.tools.ToolInfo
-
Get tools property (synchronized version)
- getProtocol(String) - Static method in class org.apache.velocity.tools.generic.ImportSupport
-
Returns protocol, or null for a local URL
- getPublishToolboxes() - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- getQ() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a double quotation mark (").
- getQuery() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the current query as a string, if any.
- getQuote() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a double quotation mark (").
- getRandom() - Method in class org.apache.velocity.tools.generic.MathTool
-
- getRaw() - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- getReader() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- getReadOnly() - Method in class org.apache.velocity.tools.generic.ValueParser
-
Is the Map read-only?
- getRelative() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
- getRemaining() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
- getRemaining() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- getRenderedBody() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getRenderingEngine() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getRenderingEngine() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getRenderingEngine() - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- getRepository() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getRequest() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getRequest() - Method in class org.apache.velocity.tools.view.ParameterTool
-
Returns the current ServletRequest
for this instance.
- getRequest() - Method in interface org.apache.velocity.tools.view.ViewContext
-
- getRequest() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getRequestPath() - Method in class org.apache.velocity.tools.view.LinkTool
-
Initially, this retrieves the path for the current
request regardless of
whether this is a direct request or an include by the
RequestDispatcher.
- getRequestToolbox() - Method in class org.apache.velocity.tools.ToolManager
-
Get the toolbox for request scoped tools
- getResource(String, Object) - Static method in class org.apache.velocity.tools.ClassUtils
-
Load a given resource.
- getResourceAsStream(String, Object) - Static method in class org.apache.velocity.tools.ClassUtils
-
This is a convenience method to load a resource as a stream.
- getResourceReader(String) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Get a reader of a local resource, first trying with a file (or a webapp resource for the view flavor)
then with a classpath entry.
- getResourceReader(String, String) - Method in class org.apache.velocity.tools.view.WebappResourceLoader
-
Get Reader so that the Runtime can build a
template with it.
- getResources(String, Object) - Static method in class org.apache.velocity.tools.ClassUtils
-
Load all resources with the specified name.
- getResourceString(String) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Fetch a local resource, first trying with a file (or a webapp resource for the view flavor)
then with a classpath entry.
- getResponse() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getResponse() - Method in interface org.apache.velocity.tools.view.ViewContext
-
- getResponse() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getRestrictTo() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getReturns() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getRole() - Method in class org.apache.velocity.tools.examples.showcase.sample.Person
-
- getRoot() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the "root" for this URI, if it has one.
- getRuleSet() - Method in class org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Retrieves the rule set Digester should use to parse and load
the toolbox for this manager.
- getS() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a single quotation mark (').
- getScheme() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Return the scheme value for this instance.
- getScope() - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- getScope() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getSeconds() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of seconds between the dates being compared.
- getSelf() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getServletApi(String) - Method in class org.apache.velocity.tools.view.jsp.JspToolContext
-
- getServletApi(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Returns the current matching servlet request, response, session,
or servlet context instance, or null if the key matches none of those
keys.
- getServletConfig() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getServletContext() - Method in interface org.apache.velocity.tools.view.JeeConfig
-
Returns the servlet context.
- getServletContext() - Method in class org.apache.velocity.tools.view.JeeContextConfig
-
Returns the servlet context.
- getServletContext() - Method in class org.apache.velocity.tools.view.JeeFilterConfig
-
Returns the servlet context.
- getServletContext() - Method in class org.apache.velocity.tools.view.JeeServletConfig
-
Returns the servlet context.
- getServletContext() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getServletContext() - Method in interface org.apache.velocity.tools.view.ViewContext
-
- getServletContext() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getSession() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getSession() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getSessionToolbox() - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- getSessionToolbox(HttpSession) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- getShowDeprecated() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the current showDeprecated setting.
- getSignature() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Get (and cache) inspected callable signature
- getSingleQuote() - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Renders a single quotation mark (').
- getSkipSetters() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getSlip() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns a Sliding List of Indices for Pages
of items.
- getSlipSize() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the number of result page indices
PagerTool.getSlip()
will return per request (if available).
- getSlipSizeKey() - Method in class org.apache.velocity.tools.view.PagerTool
-
- getSource() - Method in exception org.apache.velocity.tools.config.ConfigurationException
-
- getSource() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
Returns the original source of this particular instance.
- getSource(boolean) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getSource() - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getSource() - Method in class org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getSource() to return the result
of getRequest().getParameterMap() and expand singleton
arrays within it first.
- getSources() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
Returns the list of sources for this configuration info in
order starting from the source name given to this instance
(if any) and going to the most recently added source.
- getStaticValue() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Returns the value of the field if and only if
it is a static field that has no access restrictions
set by the security manager.
- getStatus() - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
- getStoredItems() - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
- getStoredItems() - Method in class org.apache.velocity.tools.view.PagerTool
-
Retrieves stored search items (if any) from the user's
session attributes.
- getStoredResults() - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Retrieves stored search results (if any) from the user's
session attributes.
- getString(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getString(String, String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getString() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- getString() - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Retrieves the buffered output, using the containing tag's
'charEncoding' attribute, or the tag's default encoding,
if necessary.
- getStrings(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getStringsDelimiter() - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Gets the configured strings delimiter
- getStringsDelimiter() - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Gets the delimiter used for separating values in a single String value.
- getStringsTrim() - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Gets whether to trim strings
- getStringsTrim() - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- getSubkey(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
subkey getter that returns a map subkey#2 -> value
for every "subkey.subkey2" found entry
- getSubkeys() - Method in class org.apache.velocity.tools.generic.ValueParser
-
returns the set of all possible first-level subkeys, including complete keys without dots (or returns keySet() if allowSubKeys is false)
- getSubType() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
- getSubType() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
- getSubType() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
- getSubType() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getSuper() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the
superclass of the Class being inspected by this instance.
- getSurname() - Method in class org.apache.velocity.tools.examples.showcase.sample.Person
-
- getSystemCalendar() - Static method in class org.apache.velocity.tools.generic.DateTool
-
- getSystemDate() - Static method in class org.apache.velocity.tools.generic.DateTool
-
- getSystemTime() - Static method in class org.apache.velocity.tools.generic.DateTool
-
- getTab() - Method in class org.apache.velocity.tools.generic.MarkupTool
-
- getTarget() - Method in enum org.apache.velocity.tools.config.Data.Type
-
- getTargetClass() - Method in class org.apache.velocity.tools.config.Data
-
- getTemplate() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getTemplate(HttpServletRequest) - Method in class org.apache.velocity.tools.view.VelocityView
-
Gets the requested template.
- getTemplate(String) - Method in class org.apache.velocity.tools.view.VelocityView
-
Retrieves the requested template.
- getTemplate(String, String) - Method in class org.apache.velocity.tools.view.VelocityView
-
Retrieves the requested template with the specified character encoding.
- getTemplate(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Get a template by client request and response
- getTemplate(String) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Get a template by name
- getText(String, Locale) - Method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Retrieves the specified text resource.
- getText() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns the concatenated text content of all the internally held
nodes.
- getThis() - Method in class org.apache.velocity.tools.generic.ContextTool
-
Returns the context being analyzed by this tool.
- getThis() - Method in class org.apache.velocity.tools.generic.LoopTool
-
- getTimeZone() - Method in class org.apache.velocity.tools.generic.DateTool
-
- getTool(String) - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- getToolbox(String) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- getToolbox() - Method in class org.apache.velocity.tools.generic.ContextTool
-
Returns a read-only view of the toolbox
Map
for this context.
- getToolbox() - Method in class org.apache.velocity.tools.ToolContext
-
Returns a
Map
of all tools available to this
context.
- getToolboxes() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- getToolboxes() - Method in class org.apache.velocity.tools.ToolContext
-
- getToolboxes() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getToolboxFactory() - Method in class org.apache.velocity.tools.ToolManager
-
- getToolboxKey() - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- getToolClass() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getToolClass() - Method in class org.apache.velocity.tools.ToolInfo
-
Get tool class
- getToolClassMap() - Method in class org.apache.velocity.tools.Toolbox
-
Return a new
Map
link tools' keys to their
Class
es.
- getToolClassMap() - Method in class org.apache.velocity.tools.ToolContext
-
Gets a map of keys to classes for all available tools.
- getToolConfiguration() - Method in exception org.apache.velocity.tools.config.InvalidScopeException
-
- getToolInfo(String) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- getToolProperties() - Method in class org.apache.velocity.tools.ToolContext
-
- getTools() - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- getToolVar(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Finds the automatically provided values, either configured
tools or servlet API objects (request, response, etc).
- getTotal(Collection, String) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getTotal(Object[], String) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getTotal(Collection) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(Object...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(double...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(long...) - Method in class org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal() - Method in class org.apache.velocity.tools.view.PagerTool
-
Returns the total number of items available.
- getTruncateAtWord() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getTruncateLength() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getTruncateSuffix() - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- getType() - Method in class org.apache.velocity.tools.config.Data
-
- getType() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
- getType() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns the
Class
being inspected by this instance.
- getTypes() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns a
Set
of all
Class
es that are
part of the signatures (i.e.
- getUniqueName() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Build a unique method/ctor name by appending the simple names of
the expected parameter types, thereby distinguishing constructors
and overloaded methods with a useful name that would still be a
valid method name.
- getUniqueName() - Method in class org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Simply returns the name of the field, since field names
cannot be overloaded.
- getUniqueName() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- getUri() - Method in class org.apache.velocity.tools.generic.LinkTool
-
If the tool is not in "safe mode"--which it is by default--
this will return the
URI
representation of this instance,
if any.
- getUrl() - Method in class org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Destination URL getter
- getURL(String, ServletContext) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- getUser() - Method in class org.apache.velocity.tools.generic.LinkTool
-
- getUserAgent() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getUserAgentString() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- getUserAgentString() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getUserCanOverwriteTools() - Method in class org.apache.velocity.tools.ToolContext
-
Default is true
.
- getUserCanOverwriteTools() - Method in class org.apache.velocity.tools.ToolManager
-
Get whether template user can overwrite tools keys
- getUserVar(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
Finds "user" set values, either in the local context
or in the scoped attributes if none is in the local context.
- getValidScopes() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- getValue() - Method in class org.apache.velocity.tools.config.Data
-
- getValue(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getValue(Object, Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getValue(int, Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getValue() - Method in class org.apache.velocity.tools.generic.FieldTool.MutableField
-
- getValue(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getValue(String, Object) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- getValue(String) - Method in class org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getValue(String key) to retrieve the
value from the ServletRequest instead of an arbitrary Map.
- getValues() - Method in class org.apache.velocity.tools.generic.ContextTool
-
Return a
Set
of the available values in the current
context.
- getValues(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
Returns an array of values.
- getValues(String) - Method in class org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getValues(String key) to retrieve
Strings from the ServletRequest instead of an arbitrary Map.
- getVar() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getVariableResolver() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- getVelocityContext() - Method in interface org.apache.velocity.tools.view.ViewContext
-
- getVelocityContext() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getVelocityEngine() - Method in class org.apache.velocity.tools.ToolManager
-
Get the underlying VelocityEngine being used.
- getVelocityEngine() - Method in interface org.apache.velocity.tools.view.ViewContext
-
- getVelocityEngine() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- getVelocityProperty(String, String) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
- getVelocityView() - Static method in class org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfiguration
including all default
"velocity-tools-view" tools available as well as the default "GenericTools".
- getVelocityView() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getVelocityView(ServletConfig) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityView
for the specified
ServletConfig
's context.
- getVelocityView(FilterConfig) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityView
for the specified
FilterConfig
's context.
- getVelocityView(JeeConfig) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- getVelocityView(ServletContext) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityView
for the specified
ServletContext
.
- getVelocityView(ServletContext, boolean) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityView
for the specified
ServletContext
.
- getVelocityView() - Method in class org.apache.velocity.tools.view.VelocityViewFilter
-
- getVelocityView() - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
- getVersion() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getViewToolContext() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- getVista() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWeeks() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of weeks between the dates being compared.
- getWidth() - Method in class org.apache.velocity.tools.generic.DisplayTool.Measurements
-
- getWin16() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin2k() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin31() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin32() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin3x() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin95() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWin98() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWinme() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWinnt() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWinxp() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- getWriter() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.ExternalWriterHttpServletResponse
- getWriter() - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
- getYear() - Method in class org.apache.velocity.tools.generic.DateTool
-
- getYear(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- getYears() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the approximate number of years between the dates being compared, or the bygone
number of years in exact mode.
- Group(String) - Constructor for class org.apache.velocity.tools.view.UiDependencyTool.Group
-
- GroupRule() - Constructor for class org.apache.velocity.tools.view.UiDependencyTool.GroupRule
-
- GROUPS_KEY_SPACE - Static variable in class org.apache.velocity.tools.view.UiDependencyTool
-
- id(Object) - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- idiv(Object, Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
Does integer division on the int values of the specified numbers.
- ImportResponseWrapper(HttpServletResponse) - Constructor for class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Constructs a new ImportResponseWrapper.
- ImportSupport - Class in org.apache.velocity.tools.generic
-
Provides methods to import arbitrary local or remote resources as strings, generic version.
- ImportSupport() - Constructor for class org.apache.velocity.tools.generic.ImportSupport
-
- importSupport - Variable in class org.apache.velocity.tools.generic.ImportTool
-
ImportSupport utility which provides underlying i/o
- importSupport - Variable in class org.apache.velocity.tools.generic.JsonTool
-
ImportSupport utility which provides underlying i/o
- importSupport - Variable in class org.apache.velocity.tools.generic.XmlTool
-
ImportSupport utility which provides underlying i/o
- ImportSupport.SafeClosingHttpURLConnectionReader - Class in org.apache.velocity.tools.generic
-
- ImportTool - Class in org.apache.velocity.tools.generic
-
General-purpose text-importing tool for templates.
- ImportTool() - Constructor for class org.apache.velocity.tools.generic.ImportTool
-
- ImportTool - Class in org.apache.velocity.tools.view
-
General-purpose text-importing view tool for templates.
- ImportTool() - Constructor for class org.apache.velocity.tools.view.ImportTool
-
- in(String) - Method in class org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSub
holding a
Map
of all the public static field names to values (or a placeholder
if the value is not final) for the specified class(name).
- in(Object) - Method in class org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSub
holding a
Map
of all the public static field names to values (or a placeholder
if the value is not final) for the
Class
of the
specified Object.
- in(Class) - Method in class org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSub
holding a
Map
of all the public static field names to values (or a placeholder
if the value is not final) for the specified
Class
.
- include(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- include(String, boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- INCLUDE_KEY - Static variable in class org.apache.velocity.tools.generic.FieldTool
-
The key used for specifying which classes should be inspected
for public static methods to be made available.
- INCLUDE_REQUEST_PARAMS_KEY - Static variable in class org.apache.velocity.tools.view.LinkTool
-
- includeRequestParams - Variable in class org.apache.velocity.tools.view.LinkTool
-
- IncludeTool - Class in org.apache.velocity.tools.view
-
Allows for transparent content negotiation in a manner mimicking
Apache httpd's
MultiViews.
- IncludeTool() - Constructor for class org.apache.velocity.tools.view.IncludeTool
-
- info(String) - Method in class org.apache.velocity.tools.generic.LogTool
-
- init(ServletConfig) - Method in class org.apache.velocity.tools.view.VelocityLayoutServlet
-
Initializes Velocity, the view servlet and checks for changes to
the initial layout configuration.
- init(JeeConfig) - Method in class org.apache.velocity.tools.view.VelocityView
-
Initializes ToolboxFactory, VelocityEngine, and sets default
encoding for processing requests.
- init(JeeConfig, VelocityEngine) - Method in class org.apache.velocity.tools.view.VelocityView
-
Initializes the Velocity runtime, first calling
loadConfiguration(JeeConfig) to get a
java.util.Properties
of configuration information
and then calling velocityEngine.init().
- init(FilterConfig) - Method in class org.apache.velocity.tools.view.VelocityViewFilter
-
Initializes VelocityView used to process requests.
- init(ServletConfig) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Initializes servlet and VelocityView used to process requests.
- init(ExtProperties) - Method in class org.apache.velocity.tools.view.WebappResourceLoader
-
This is abstract in the base class, so we need it.
- init() - Method in class org.apache.velocity.tools.view.WebappUberspector
-
init method
- initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.generic.ImportTool
-
Importsupport initialization
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.generic.JsonTool
-
ImportSupport initialization
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.generic.XmlTool
-
ImportSupport initialization
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.view.ImportTool
-
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.view.JsonTool
-
Importsupport initialization
- initializeImportSupport(ValueParser) - Method in class org.apache.velocity.tools.view.XmlTool
-
ImportSupport initialization.
- initializeView() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- initJSON(String) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Initialize JSON content from a string.
- initJSON(Reader) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Initialize JSON content from a reader.
- initLog() - Method in class org.apache.velocity.tools.ToolManager
-
init logger
- initLogger(ValueParser) - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Initialize logger.
- initRequest(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Request and response initialization.
- insecure() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the scheme set to "http".
- insert(Object[]) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- insert(List) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- insert(Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- insert(Object, Object) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- insert(Object[]) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- insert(List) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- insert(Object) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- insert(Object, Object) - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- inspect(String) - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the
Class with the specified name.
- inspect(Object) - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the
Class of the specified
Object
.
- inspect(Class) - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the
the specified
Class
.
- inspect(Class) - Method in class org.apache.velocity.tools.generic.FieldTool
-
Looks for all public, static fields in the specified class and
stores their value (if final) or else a
FieldTool.MutableField
for
in a
Map
under the fields' names.
- INSPECT_KEY - Static variable in class org.apache.velocity.tools.generic.ClassTool
-
- INSTANCE - Static variable in class org.apache.velocity.tools.config.ConfigurationUtils
-
- INSTANCE - Static variable in class org.apache.velocity.tools.ConversionUtils
-
- INSTANCE - Static variable in class org.apache.velocity.tools.view.ServletUtils
-
- integer(Object) - Method in class org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("integer", $foo).
- internalEval(Context, String) - Method in class org.apache.velocity.tools.generic.RenderTool
-
- internalGet(String) - Method in class org.apache.velocity.tools.ToolContext
-
- internalRecurse(Context, String, int) - Method in class org.apache.velocity.tools.generic.RenderTool
-
- internalSort(List, List) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Internal sorting method.
- InvalidScope - Annotation Type in org.apache.velocity.tools.config
-
- InvalidScopeException - Exception in org.apache.velocity.tools.config
-
- InvalidScopeException(ToolboxConfiguration, ToolConfiguration) - Constructor for exception org.apache.velocity.tools.config.InvalidScopeException
-
- invoke(Method, Object, Object) - Method in class org.apache.velocity.tools.ToolInfo
-
Invoke a single argument method on a tool
- invoke(Writer) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityJspFragment
-
- isAbsolute() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance has a scheme value
and is not being forced to create relative URIs.
- isAbstract() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared abstract.
- isAbstract() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isAix() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAix1() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAix2() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAix3() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAix4() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAmiga() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isAndroid() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isArray() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is a JsonArray
- isAuto() - Method in class org.apache.velocity.tools.generic.Alternator
-
- isBlackberry() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isBlink() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isBSD() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isBsd() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isCached() - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- isChrome() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isChrome() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isConfigLocked() - Method in class org.apache.velocity.tools.generic.SafeConfig
-
- isCustom() - Method in enum org.apache.velocity.tools.config.Data.Type
-
- isDec() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isDeprecated(AnnotatedElement) - Static method in class org.apache.velocity.tools.generic.ClassTool
-
Check if an annotation deprecates its class
- isDeprecated() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class has been deprecated.
- isDeprecated() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
Inspected object deprecation status
- isDesktop() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isEdgeHTML() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isEmacs() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isEmpty() - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- isEmpty() - Method in class org.apache.velocity.tools.generic.ValueParser
-
- isEmpty() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns
true
if there are no
Node
s internally held
by this instance.
- isFinal() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared final.
- isFinal() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isFirefox() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isFirefox() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isFirst() - Method in class org.apache.velocity.tools.generic.LoopTool
-
- isFirst(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
- isFirst() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- isFreebsd() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isGecko() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isGecko() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isHpux() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isHpux10() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isHpux9() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isInterface() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is an interface.
- isInterface() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isIOS() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isIrix() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isIrix5() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isIrix6() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isJsonContentType(String) - Static method in class org.apache.velocity.tools.view.JsonTool
-
Check if a given content type is of JSON type
- isJsonMimeType(String) - Static method in class org.apache.velocity.tools.view.JsonTool
-
Check if a given mime type is of JSON type
- isKHTML() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isKonqueror() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isKonqueror() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isLast() - Method in class org.apache.velocity.tools.generic.LoopTool
-
- isLast(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
- isLast() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- isLinks() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isLinks() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isLinux() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isLinux() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isList() - Method in enum org.apache.velocity.tools.config.Data.Type
-
- isMac() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isMac68k() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isMacppc() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isMobile() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isMozilla() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isMozilla() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isMpras() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isMSIE() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isMSIE() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isNative() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isNetscape() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isNetscape() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isNull() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is null
- isObject() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is a JsonObject
- isOpaque() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance represents an opaque URI.
- isOpera() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isOpera() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isOrphan() - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- isOs2() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isOSX() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isOSX() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isPathChanged() - Method in class org.apache.velocity.tools.view.LinkTool
-
- isPresto() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isPrivate() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared private.
- isPrivate() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isProtected() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared protected.
- isProtected() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isPublic() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared public.
- isPublic() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isRelative() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance is being forced to
return relative URIs or has a null scheme value.
- isReliant() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isRemoteURL(String) - Static method in class org.apache.velocity.tools.generic.ImportSupport
-
Returns whether an URL is remote or local
- isRobot() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isSafari() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isSafari() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSafeMode() - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Returns true
if this tool is in "safe mode".
- isSco() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSecure() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance's scheme is "https".
- isSinix() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSkipSetters() - Method in class org.apache.velocity.tools.ToolInfo
-
Get whether setters are to be skipped
- isSourceModified(Resource) - Method in class org.apache.velocity.tools.view.WebappResourceLoader
-
Checks to see if a resource has been deleted, moved or modified.
- isStatic() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is an inner class
that has been declared static or is a standard outer class..
- isStatic() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isStrict() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared strictfp
(uses strict floating point math).
- isStrict() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isSun() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSun4() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSun5() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSuni86() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isSymbian() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isSyncedWith(String) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- isSynchronized() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isTablet() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isTransient() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isTrident() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isTV() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isUnix() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isUnixware() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isVarArgs() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- isVarArgs() - Method in class org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
Returns true if the final parameter for the constructor was declared
as a vararg.
- isVarArgs() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
Returns true if the final parameter for the method was declared
as a vararg.
- isVMS() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isVoid() - Method in class org.apache.velocity.tools.generic.ClassTool.MethodSub
-
Returns true if the return type of this method is void.
- isVolatile() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- isWebappResource(String) - Static method in class org.apache.velocity.tools.view.ServletUtils
-
- isWebKit() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isWindows() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- isWindows() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isX11() - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- isXHTML() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns true if the query delimiter used by this instance is
using &
as the delimiter for query data pairs
or just using &
.
- isXmlMimeType(String) - Static method in class org.apache.velocity.tools.XmlUtils
-
Checkes whether the given mime type is an XML format
- iterator() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Get an iterator.
- iterator() - Method in class org.apache.velocity.tools.generic.JsonTool
-
Get an iterator.
- iterator() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns an
Iterator
that returns new
XmlTool
instances for each
Node
held internally by this instance.
- iterator() - Method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Navigation elements iteration
- PAGE_CONTEXT_KEY - Static variable in class org.apache.velocity.tools.view.jsp.JspToolContext
-
- PagerTool - Class in org.apache.velocity.tools.view
-
View tool for doing request-based pagination of
items in an a list.
- PagerTool() - Constructor for class org.apache.velocity.tools.view.PagerTool
-
- param(Object, Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Adds a key=value pair to the query data.
- ParameterTool - Class in org.apache.velocity.tools.view
-
Utility class for easy parsing of ServletRequest
parameters.
- ParameterTool() - Constructor for class org.apache.velocity.tools.view.ParameterTool
-
Constructs a new instance
- ParameterTool(ServletRequest) - Constructor for class org.apache.velocity.tools.view.ParameterTool
-
Constructs a new instance using the specified request.
- params(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
This method can do two different things.
- parent(MarkupTool.Tag) - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- parent() - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- parents() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns a new
XmlTool
instance that wraps
the parent
Element
s of each of the
Node
s
being wrapped by this instance.
- parse(String) - Method in class org.apache.velocity.tools.generic.JsonTool
-
Parses the given JSON string and uses the resulting
Document
as the root
Node
.
- parse(String) - Method in class org.apache.velocity.tools.generic.MarkupTool
-
- parse(String) - Method in class org.apache.velocity.tools.generic.XmlTool
-
Parses the given XML string and uses the resulting
Document
as the root
Node
.
- parse(Reader) - Static method in class org.apache.velocity.tools.XmlUtils
-
Attempts to parse the input xml into a single element.
- parse(String) - Static method in class org.apache.velocity.tools.XmlUtils
-
Attempts to parse the input xml into a single element.
- parseBoolean(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Converts a parameter value into a
Boolean
Sub-classes can override to allow for customized boolean parsing.
- parseDate(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseDate(String, String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseDate(String, Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseDate(String, String, Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseDate(String, String, Object, TimeZone) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseLocale(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Converts a String value into a Locale.
- parseNumber(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseNumber(String, String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseNumber(String, Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseNumber(String, String, Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- parseQuery(String) - Method in class org.apache.velocity.tools.generic.LinkTool
-
- parseQuery(String, String) - Method in class org.apache.velocity.tools.generic.LinkTool
-
This will use the specified query delimiter to parse the specified
query string into a map of keys to values.
- parseStringList(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Converts a single String value into an array of Strings by splitting
it on the tool's set stringsDelimiter.
- parseStringList(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- parseUserAgent(String, Logger) - Static method in class org.apache.velocity.tools.view.UAParser
-
- path - Variable in class org.apache.velocity.tools.generic.LinkTool
-
- path(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value
set as its path.
- path(Object) - Method in class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- PATH_KEY - Static variable in class org.apache.velocity.tools.generic.LinkTool
-
- PATH_KEY - Static variable in class org.apache.velocity.tools.ToolContext
-
- paths - Variable in class org.apache.velocity.tools.view.WebappResourceLoader
-
The root paths for templates (relative to webapp's root).
- percent(Object) - Method in class org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("percent", $foo).
- performMerge(Template, Context, Writer) - Method in class org.apache.velocity.tools.view.VelocityView
-
This is here so developers may override it and gain access to the
Writer which the template will be merged into.
- Person - Class in org.apache.velocity.tools.examples.showcase.sample
-
- Person(String, String, String) - Constructor for class org.apache.velocity.tools.examples.showcase.sample.Person
-
- plural(int, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Builds plural form of a passed word if 'value' is plural, otherwise
returns 'singular'.
- plural(int, String, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Returns 'plural' parameter if passed 'value' is plural, otherwise
'singular' is returned.
- PLURAL_SUFFIX - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- pop() - Method in class org.apache.velocity.tools.generic.LoopTool
-
Don't let templates call this, but allow subclasses
and ManagedIterator to have access.
- port - Variable in class org.apache.velocity.tools.generic.LinkTool
-
- port(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set
as its port number.
- PORT_KEY - Static variable in class org.apache.velocity.tools.generic.LinkTool
-
- pow(Object, Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- prepareContext(ToolContext) - Method in class org.apache.velocity.tools.ToolManager
-
Prepare context
- prepareContext(ViewToolContext, HttpServletRequest) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- prepend(Object) - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- print(boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a boolean value.
- print(char) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a character.
- print(int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an integer.
- print(long) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a long integer.
- print(float) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a floating-point number.
- print(double) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a double-precision floating-point number.
- print(char[]) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an array of characters.
- print(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a string.
- print(Object) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an object.
- print(boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(char) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(long) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(float) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(double) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(char[]) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print(Object) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- print() - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all the current dependencies of this tool,
using a new line in between the printed/formatted files.
- print(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
If the parameter value is a known type, then this will
format and print all of this instance's current dependencies of the
specified type, using a new line in between the printed/formatted files.
- print(String, String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all of this instance's current dependencies of the
specified type, using the specified delimiter in between the
printed/formatted files.
- printAll(String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all the current dependencies of this tool,
using the specified delimiter in between the printed/formatted files.
- printf(String, Object...) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- println() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Terminate the current line by writing the line separator string.
- println(boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a boolean value and then terminate the line.
- println(char) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a character and then terminate the line.
- println(int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an integer and then terminate the line.
- println(long) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a long integer and then terminate the line.
- println(float) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a floating-point number and then terminate the line.
- println(double) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a double-precision floating-point number and then terminate the
line.
- println(char[]) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an array of characters and then terminate the line.
- println(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print a String and then terminate the line.
- println(Object) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.JspWriterImpl
-
Print an Object and then terminate the line.
- println() - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(boolean) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(char) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(long) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(float) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(double) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(char[]) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(String) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- println(Object) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityBodyContent
-
- PROPERTIES_KEY - Static variable in class org.apache.velocity.tools.view.VelocityView
-
This is the string that is looked for when getInitParameter is
called ("org.apache.velocity.properties").
- PropertiesComparator(List) - Constructor for class org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
-
- PropertiesFactoryConfiguration - Class in org.apache.velocity.tools.config
-
This reads in configuration info formatted as a property
file using ExtProperties
.
- PropertiesFactoryConfiguration() - Constructor for class org.apache.velocity.tools.config.PropertiesFactoryConfiguration
-
- PropertiesFactoryConfiguration(String) - Constructor for class org.apache.velocity.tools.config.PropertiesFactoryConfiguration
-
Creates an instance using the specified string
as an identifier to distinguish this instance when debugging.
- property(String, Object) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- property(String, Object) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- Property - Class in org.apache.velocity.tools.config
-
Simple extension of
Data
that treats "name" as an alias
for "key".
- Property() - Constructor for class org.apache.velocity.tools.config.Property
-
- PROPERTY_DEFAULT_LAYOUT - Static variable in class org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the
servlet's default layout template's filename.
- PROPERTY_DYNAMIC_LAYOUT - Static variable in class org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying
whether dynamic layout change is allowed
- PROPERTY_ERROR_TEMPLATE - Static variable in class org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the
servlet's error template.
- PROPERTY_LAYOUT_DIR - Static variable in class org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the
relative directory holding layout templates.
- PropertyAttributeRule() - Constructor for class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet.PropertyAttributeRule
-
- propertyClass - Variable in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- propertyKey(Object) - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a String
using java.util.Properties rules for escaping property keys.
- propertyValue(Object) - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a String
using java.util.Properties rules for escaping property values.
- PUBLISH_TOOLBOXES_PROPERTY - Static variable in class org.apache.velocity.tools.view.ViewToolManager
-
- publishApplicationTools() - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- publishToolboxes(ServletRequest) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
- publishToolboxes(HttpServletRequest) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
Places the
Scope.REQUEST
Toolbox
(if any)
into the
HttpServletRequest
attributes using
Toolbox.KEY
as the key, places the
Scope.SESSION
Toolbox (if any) into the attributes of the
HttpSession
(if any)
then ensures that the
Scope.APPLICATION
Toolbox (if any)
has been placed in the
ServletContext
attributes.
- put(String, Object) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- put(String, Object) - Method in class org.apache.velocity.tools.ToolContext
-
- putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- putAll(Map) - Method in class org.apache.velocity.tools.ToolContext
-
- putData(String, Object) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- putGlobalProperties(Map<String, Object>) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- putProperties(String, Map<String, Object>) - Method in class org.apache.velocity.tools.ToolboxFactory
-
- putProperty(String, Object) - Method in class org.apache.velocity.tools.ToolInfo
-
Puts a new property for this tool.
- putToolProperties(Map<String, Object>) - Method in class org.apache.velocity.tools.ToolContext
-
- putToolProperties() - Method in class org.apache.velocity.tools.view.jsp.JspToolContext
-
- putToolProperties() - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- putToolProperty(String, Object) - Method in class org.apache.velocity.tools.ToolContext
-
- putVelocityEngine(VelocityEngine) - Method in class org.apache.velocity.tools.ToolContext
-
Puts the specified VelocityEngine in the tool properties,
as well as the Log for that engine.
- SAFE_MODE_KEY - Static variable in class org.apache.velocity.tools.generic.SafeConfig
-
Many tools interested in locking configure() also have other
things they wish to secure.
- SafeConfig - Class in org.apache.velocity.tools.generic
-
Implements common logic and constants for tools which automatically
locks down the public void configure(Map params)
method after
it is called once.
- SafeConfig() - Constructor for class org.apache.velocity.tools.generic.SafeConfig
-
- SampleListInitializer - Class in org.apache.velocity.tools.examples.showcase.sample
-
- SampleListInitializer() - Constructor for class org.apache.velocity.tools.examples.showcase.sample.SampleListInitializer
-
- scheme - Variable in class org.apache.velocity.tools.generic.LinkTool
-
- scheme(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its scheme.
- SCHEME_KEY - Static variable in class org.apache.velocity.tools.generic.LinkTool
-
- Scope - Class in org.apache.velocity.tools
-
A specialized constants class to provide some compile-time typo checking and
runtime validation for scopes specified in annotations, toolbox configs, etc.
- scope - Variable in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- search(String, Node) - Static method in class org.apache.velocity.tools.XmlUtils
-
Search for nodes using an XPath expression
- SECOND_KEY - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- secure() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the scheme set to "https".
- secure(Object) - Method in class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- SECURE_SCHEME - Static variable in class org.apache.velocity.tools.generic.LinkTool
-
- self - Variable in class org.apache.velocity.tools.generic.LinkTool
-
- servlet - Variable in class org.apache.velocity.tools.view.JeeServletConfig
-
- SERVLET_CONTEXT_KEY - Static variable in class org.apache.velocity.tools.view.VelocityView
-
Key used to access the ServletContext in
the Velocity application attributes.
- SERVLET_CONTEXT_KEY - Static variable in interface org.apache.velocity.tools.view.ViewContext
-
Key used for the servlet context object in tool properties.
- servletContext - Variable in class org.apache.velocity.tools.view.ViewToolManager
-
- servletContext - Variable in class org.apache.velocity.tools.view.WebappResourceLoader
-
- ServletUtils - Class in org.apache.velocity.tools.view
-
A set of utility methods for supporting and using
VelocityTools in the servlet environment.
- ServletUtils() - Constructor for class org.apache.velocity.tools.view.ServletUtils
-
- SESSION - Static variable in class org.apache.velocity.tools.Scope
-
- session - Variable in class org.apache.velocity.tools.view.PagerTool
-
- SESSION - Static variable in interface org.apache.velocity.tools.view.ViewContext
-
Key used for the HTTP session object.
- session - Variable in class org.apache.velocity.tools.view.ViewContextTool
-
- set(Object, Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Sets a new key=value pair to the existing query
data, overwriting any previous pair(s) that have
the same key.
- setAcceptLanguage(String) - Method in class org.apache.velocity.tools.view.BrowserTool
-
- setAllowedTags(String[]) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setAllowSubkeys(boolean) - Method in class org.apache.velocity.tools.generic.ValueParser
-
allow or disallow subkeys
- setAppendParams(boolean) - Method in class org.apache.velocity.tools.generic.LinkTool
-
- setAttribute(String, Object) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- setAttribute(String, Object, int) - Method in class org.apache.velocity.tools.view.jsp.jspimpl.VelocityPageContext
-
- SetAttributeExecutor(Logger, Introspector, Class, Object, String) - Constructor for class org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
-
- setAuto(boolean) - Method in class org.apache.velocity.tools.generic.Alternator
-
If set to true, the list index will shift automatically after a
call to toString().
- setAutoAlternateDefault(boolean) - Method in class org.apache.velocity.tools.generic.AlternatorTool
-
Deprecated.
Sets the default for auto-alternating.
- setBodyContentKey(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setBrowser(String, String, String) - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- setCache(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setCatchExceptions(boolean) - Method in class org.apache.velocity.tools.generic.RenderTool
-
Sets whether or not the render() and eval() methods should catch
exceptions during their execution or not.
- setCellLength(int) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setCellSuffix(String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setCharacterEncoding(String) - Method in class org.apache.velocity.tools.generic.LinkTool
-
- setChildren(Collection<C>) - Method in class org.apache.velocity.tools.config.CompoundConfiguration
-
- setClass(String) - Method in class org.apache.velocity.tools.config.Data
-
This doesn't take a
Class
parameter because
this class was not created for all-java configuration.
- setClass(Class) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
Deprecated.
- setClass(String) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setClass(Class) - Method in class org.apache.velocity.tools.ToolInfo
-
Set the tool class
- setClassname(String) - Method in class org.apache.velocity.tools.config.Data
-
- setClassname(String) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setContentType(HttpServletRequest, HttpServletResponse) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
Sets the content type of the response.
- setContentType(String) - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Has no effect.
- setConverter(Class) - Method in class org.apache.velocity.tools.config.Data
-
- setConverter(String) - Method in class org.apache.velocity.tools.config.Data
-
- setCreateSession(boolean) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setCreateSession(boolean) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
Sets whether or not a new HttpSession should be created
when there are session scoped tools to be stored in the session,
but no session has been created yet.
- setCriteria(Object) - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Sets the criteria for this search.
- setCriteriaKey(String) - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
- setData(Collection<Data>) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- setDataClass(Class) - Method in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- setDateFormat(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- setDefaultAlternate(String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setDefaultBundle(String) - Method in class org.apache.velocity.tools.generic.ResourceTool
-
- setDefaultContentType(String) - Method in class org.apache.velocity.tools.view.VelocityView
-
Sets the configured default Content-Type.
- setDeviceType(UAParser.DeviceType) - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- setEncoding(JeeConfig) - Method in class org.apache.velocity.tools.view.VelocityView
-
- setFactory(Class) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setFactory(Class) - Method in class org.apache.velocity.tools.ToolInfo
-
Set the factory class used to create tool instances.
- setFactoryClassname(String) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setForceRelative(boolean) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Sets whether or not the
LinkTool.createURI()
method should ignore the
scheme, user, port and host values for non-opaque URIs, thus making
LinkTool.toString()
print the link as a relative one, not an absolute
one.
- setFormat(String) - Method in class org.apache.velocity.tools.generic.FormatConfig
-
Sets the default format for this instance.
- setFormat(String, String) - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
Sets the format string for the specified file type.
- setFragment(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Sets the anchor for this instance and treats empty strings like null.
- setFromRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.LinkTool
-
- setFromURI(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If the specified value is null, this will set the scheme, userInfo,
host, port, path, query, and fragment all to their null-equivalent
values.
- setHost(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Sets host
- setId(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setIncludeRequestParams(boolean) - Method in class org.apache.velocity.tools.view.LinkTool
-
Controls whether or not this tool starts off with all parameters
from the last request automatically.
- setIndex(int) - Method in class org.apache.velocity.tools.view.PagerTool
-
Sets the index of the first result in the current page
- setIndexKey(String) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setItems(List) - Method in class org.apache.velocity.tools.view.PagerTool
-
Sets the List to page through.
- setItemsPerPage(int) - Method in class org.apache.velocity.tools.view.PagerTool
-
Sets the number of items returned in a page of items
- setItemsPerPageKey(String) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setKey(String) - Method in class org.apache.velocity.tools.config.Data
-
- setKey(String) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setKey(String) - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Sets the key under which this tool has been configured.
- setKey(String) - Method in class org.apache.velocity.tools.ToolInfo
-
Set the tool key
- setLanguagesFilter(String) - Method in class org.apache.velocity.tools.view.BrowserTool
-
- setLatestTag(Context, JspTag) - Static method in class org.apache.velocity.tools.view.jsp.jspimpl.JspUtils
-
Sets the latest tag encountered.
- setListDelimiter(String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setListFinalDelimiter(String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setLocale(Locale) - Method in class org.apache.velocity.tools.generic.LocaleConfig
-
Sets the default locale for this instance.
- setLocale(Locale) - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Has no effect.
- setLockConfig(boolean) - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Only allow subclass access to this.
- setLog(Logger) - Method in class org.apache.velocity.tools.config.ConfigurationCleaner
-
- setMessage(String) - Method in class org.apache.velocity.tools.examples.simple.tool.ToyTool
-
- setName(String) - Method in class org.apache.velocity.tools.config.Property
-
- setName(String) - Method in class org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Displayed name setter
- setNewItemsKey(String) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setNumberFormat(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- setOperatingSystem(String, String, String) - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- setParam(Object, Object, boolean) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If there is no existing value for this key in the query, it
will simply add it and its value to the query.
- setParams(Object, boolean) - Method in class org.apache.velocity.tools.generic.LinkTool
-
- setParseDepth(int) - Method in class org.apache.velocity.tools.generic.RenderTool
-
Set the maximum number of loops allowed when recursing.
- setPath(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If this instance is not opaque and the specified value does
not start with a '/' character, then that will be prepended
automatically.
- setPort(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If the specified object is null, this will set the port value
to -1 to indicate that.
- setProperties(Collection<Property>) - Method in class org.apache.velocity.tools.config.Configuration
-
- setProperties(ExtProperties, Data) - Method in class org.apache.velocity.tools.config.PropertiesFactoryConfiguration
-
- setProperty(String, Object) - Method in class org.apache.velocity.tools.config.Configuration
-
- setProperty(Object, String, Object) - Method in class org.apache.velocity.tools.ToolInfo
-
Set a property on a tool instance
- setPropertyClass(Class) - Method in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- setPropertyMap(Map<String, Object>) - Method in class org.apache.velocity.tools.config.Configuration
-
- setPublishToolboxes(boolean) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
Sets whether or not the creation of a new
ViewToolContext
should make the various scoped
Toolbox
instances available
publically via the HttpServletRequest/HttpSession/ServletContext
attributes or simply add the Toolbox instances directly to the
context.
- setQuery(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
If the specified value is null, it will set the query to null.
- setReadOnly(boolean) - Method in class org.apache.velocity.tools.generic.ValueParser
-
Set or unset read-only behaviour
- setRenderingEngine(String, String, String) - Method in class org.apache.velocity.tools.view.UAParser.UserAgent
-
- setRepository(StringResourceRepository) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Current request setter
- setRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.BrowserTool
-
Retrieves the User-Agent header from the request (if any).
- setRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.CookieTool
-
Sets the current HttpServletRequest
.
- setRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.PagerTool
-
Initializes this tool with the specified HttpServletRequest
.
- setRequest(ServletRequest) - Method in class org.apache.velocity.tools.view.ParameterTool
-
Sets the current ServletRequest
- setRequest(HttpServletRequest) - Method in class org.apache.velocity.tools.view.ViewImportSupport
-
Sets the current HttpServletRequest
.
- setResponse(HttpServletResponse) - Method in class org.apache.velocity.tools.view.CookieTool
-
Sets the current HttpServletResponse
.
- setResponse(HttpServletResponse) - Method in class org.apache.velocity.tools.view.ViewImportSupport
-
Sets the current HttpServletResponse
.
- setRestrictTo(String) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setRoot(Node) - Method in class org.apache.velocity.tools.generic.XmlTool
-
Sets a singular root
Node
for this instance.
- setRuleSet(RuleSet) - Method in class org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Sets the RuleSet
this loader will use to
digest the xml toolbox.
- setSafeMode(boolean) - Method in class org.apache.velocity.tools.generic.ImportSupport
-
Sets or clears safe mode
- setSafeMode(boolean) - Method in class org.apache.velocity.tools.generic.SafeConfig
-
Set or clear safe mode.
- setScheme(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
This will treat empty strings like null values
and will trim any trailing ':' character.
- setScope(String) - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- setScope(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setServletContext(ServletContext) - Method in class org.apache.velocity.tools.view.ViewImportSupport
-
Sets the ServletContext
.
- setSkipSetters(Boolean) - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- setSkipSetters(boolean) - Method in class org.apache.velocity.tools.ToolInfo
-
Set whether or not to skip setters.
- setSlipSize(int) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setSlipSizeKey(String) - Method in class org.apache.velocity.tools.view.PagerTool
-
- setSource(String) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
Sets the name of the original source of this particular instance.
- setSource(Map<String, Object>) - Method in class org.apache.velocity.tools.generic.ValueParser
-
- setSource(Map) - Method in class org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.setSource(Map source) to throw an
UnsupportedOperationException, because this class uses
a servlet request as its source, not a Map.
- setStatus(int) - Method in class org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Sets the status of the response
- setStoredItems(List) - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
- setStoredItems(List) - Method in class org.apache.velocity.tools.view.PagerTool
-
Stores current search items in the user's session attributes
(if one currently exists) in order to do efficient result pagination.
- setStoredResults(AbstractSearchTool.StoredResults) - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Stores current search results in the user's session attributes
(if one currently exists) in order to do efficient result pagination.
- setStringsDelimiter(String) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sets the delimiter used for separating values in a single String value.
- setStringsDelimiter(String) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- setStringsDelimiter(String) - Method in class org.apache.velocity.tools.generic.ValueParser
-
Sets the delimiter used for separating values in a single String value.
- setStringsTrim(boolean) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sets whether strings should be trimmed when separated from
a delimited string value.
- setStringsTrim(boolean) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- setTab(String) - Method in class org.apache.velocity.tools.generic.MarkupTool
-
Configuration
- setTargetClass(Class) - Method in class org.apache.velocity.tools.config.Data
-
- setTemplate(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setTimeZone(TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
Sets time zone
- setToolboxConfigurationClass(Class) - Method in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- setToolboxes(Collection<ToolboxConfiguration>) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- setToolboxFactory(ToolboxFactory) - Method in class org.apache.velocity.tools.ToolManager
-
Sets the underlying ToolboxFactory being used.
- setToolboxKey(String) - Method in class org.apache.velocity.tools.view.ViewToolContext
-
- setToolboxKey(String) - Method in class org.apache.velocity.tools.view.ViewToolManager
-
Sets a new attribute key to be used for publishing each
Toolbox
.
- setToolConfigurationClass(Class) - Method in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- setTools(Collection<ToolConfiguration>) - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- setTruncateAtWord(boolean) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setTruncateLength(int) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setTruncateSuffix(String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
- setType(Data.Type) - Method in class org.apache.velocity.tools.config.Data
-
- setType(String) - Method in class org.apache.velocity.tools.config.Data
-
- setType(Class) - Method in class org.apache.velocity.tools.generic.ClassTool
-
Set the class to inspect
- setup(HttpServletRequest) - Method in class org.apache.velocity.tools.view.AbstractSearchTool
-
Sets the criteria *if* it is set in the request parameters.
- setup(HttpServletRequest) - Method in class org.apache.velocity.tools.view.PagerTool
-
Sets the index, itemsPerPage, and/or slipSize *if* they are set
in the request parameters.
- setUrl(String) - Method in class org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Destination URL setter
- setUserAgentString(String) - Method in class org.apache.velocity.tools.view.BrowserTool
-
Sets the User-Agent string to be parsed for info.
- setUserCanOverwriteTools(boolean) - Method in class org.apache.velocity.tools.ToolContext
-
Set whether or not tool references can be overwritten within a template.
- setUserCanOverwriteTools(boolean) - Method in class org.apache.velocity.tools.ToolManager
-
Set whether template user can overwrite tools keys
- setUserInfo(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Sets user info
- setValue(Object) - Method in class org.apache.velocity.tools.config.Data
-
- setVar(String) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setVelocityContext(Context) - Method in class org.apache.velocity.tools.generic.RenderTool
-
- setVelocityEngine(VelocityEngine) - Method in class org.apache.velocity.tools.generic.RenderTool
-
Allow user to specify a VelocityEngine to be used
in place of the Velocity singleton.
- setVelocityEngine(VelocityEngine) - Method in class org.apache.velocity.tools.ToolManager
-
Sets the underlying VelocityEngine being used.
- setVelocityEngine(VelocityEngine) - Method in class org.apache.velocity.tools.view.VelocityView
-
Overrides super class to ensure engine is not set to null.
- setVelocityView(VelocityView) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setVelocityView(VelocityView) - Method in class org.apache.velocity.tools.view.VelocityViewServlet
-
- setViewToolContext(ViewToolContext) - Method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- setXHTML(boolean) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Controls the delimiter used for separating query data pairs.
- SHARED_CONFIG_PARAM - Static variable in class org.apache.velocity.tools.view.ServletUtils
-
- shift() - Method in class org.apache.velocity.tools.generic.Alternator
-
Manually shifts the list index.
- shift() - Method in class org.apache.velocity.tools.generic.LoopTool.SyncedIterator
-
If the sync'ed iterator has any more values,
this sets the next() value as the current one.
- SHOW_DEPRECATED_KEY - Static variable in class org.apache.velocity.tools.generic.ClassTool
-
- ShowcaseLayoutServlet - Class in org.apache.velocity.tools.examples.showcase
-
- ShowcaseLayoutServlet() - Constructor for class org.apache.velocity.tools.examples.showcase.ShowcaseLayoutServlet
-
- signature - Variable in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- signature(boolean) - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Internal method to get the inspected callable signature.
- size() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Get size of root object or array.
- size() - Method in class org.apache.velocity.tools.generic.JsonTool
-
Get size of root object or array.
- size() - Method in class org.apache.velocity.tools.generic.ValueParser
-
- size() - Method in class org.apache.velocity.tools.generic.XmlTool
-
Returns the number of
Node
s internally held by this instance.
- skip(long) - Method in class org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
-
- skip(int) - Method in class org.apache.velocity.tools.generic.LoopTool
-
Skips ahead the specified number of iterations (if possible).
- skip(int, String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
This tells the specified loop to skip ahead the specified number of
iterations.
- skip(long) - Method in class org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
-
- SKIPPED_UNITS_KEY - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
The key used for specifying time units to be skipped over.
- SkipSetters - Annotation Type in org.apache.velocity.tools.config
-
Annotation specifying that
ToolInfo
should only use the public void configure(Map) method for configuration of
a tool, and skip over the step of trying to find individual
property setters.
- sort(Collection<T>, Comparator<T>) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Collection using a Comparator.
- sort(T[], Comparator<T>) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts an array using a Comparator.
- sort(Map<?, T>, Comparator<T>) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Map's values using a Comparator.
- sort(Object, Comparator<?>) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Collection (or array, or Map's values)
using a Comparator.
- sort(Collection) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sort a collection
- sort(Object[]) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sort an array
- sort(Map) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sort map values
- sort(Object) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sort a collection, array or map
- sort(Object, String) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts the collection on a single property.
- sort(Collection, List) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts the collection on several properties.
- sort(Map, List) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts map values on several properties.
- sort(Object[], List) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
Sorts array on several properties.
- SortTool - Class in org.apache.velocity.tools.generic
-
- SortTool() - Constructor for class org.apache.velocity.tools.generic.SortTool
-
Deprecated.
- SOURCE_FILE_KEY - Static variable in class org.apache.velocity.tools.view.UiDependencyTool
-
- space(int) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Returns a string of spaces of the specified length.
- split(String) - Method in class org.apache.velocity.tools.generic.CollectionTool
-
- split(String) - Method in class org.apache.velocity.tools.generic.MarkupTool
-
- sql(Object) - Method in class org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a String
to be suitable to pass to an SQL query.
- stop() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Stops this iterator from doing any further iteration.
- stop(Object) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Directs this instance to stop iterating immediately prior to
any element equal to the specified Object.
- stop() - Method in class org.apache.velocity.tools.generic.LoopTool
-
This tells the current loop to stop after the current iteration.
- stop(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop()
except that the stop command is issued
only to the loop/iterator with the specified name.
- stopAll() - Method in class org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop()
except that the stop command is issued
all the loops being watched by this tool.
- stopTo(String) - Method in class org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop(String)
except that the stop command is issued
both to the loop/iterator with the specified name and all loops nested within
it.
- storage - Variable in class org.apache.velocity.tools.generic.FieldTool
-
- store(Object) - Method in class org.apache.velocity.tools.examples.showcase.tool.MySearchTool
-
Adds the specified item to our static "database".
- store(Map) - Method in class org.apache.velocity.tools.examples.showcase.tool.MySearchTool
-
Adds the entries of the specified map to our static "database".
- store(Collection) - Method in class org.apache.velocity.tools.examples.showcase.tool.MySearchTool
-
Adds the specified items to our static "database".
- STORE_DYNAMIC_KEY - Static variable in class org.apache.velocity.tools.generic.FieldTool
-
The key used for specifying whether or not the tool should store
fields in classes dynamically looked up from within a template.
- STORED_ITEMS_KEY - Static variable in class org.apache.velocity.tools.view.PagerTool
-
the key under which items are stored in session
- STORED_RESULTS_KEY - Static variable in class org.apache.velocity.tools.view.AbstractSearchTool
-
the key under which StoredResults are kept in session
- StoredResults(Object, List) - Constructor for class org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
-
Creates a new instance.
- storeDynamicLookups - Variable in class org.apache.velocity.tools.generic.FieldTool
-
- string(String, Object) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- STRINGS_DELIMITER_FORMAT_KEY - Static variable in class org.apache.velocity.tools.generic.CollectionTool
-
- STRINGS_DELIMITER_FORMAT_KEY - Static variable in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- STRINGS_DELIMITER_FORMAT_KEY - Static variable in class org.apache.velocity.tools.generic.ValueParser
-
- STRINGS_TRIM_KEY - Static variable in class org.apache.velocity.tools.generic.CollectionTool
-
- stripSession(String) - Static method in class org.apache.velocity.tools.view.ViewImportSupport
-
Strips a servlet session ID from url.
- stripTags(Object) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Removes HTML tags from the string value of the specified object and
returns the resulting string.
- stripTags(Object, String...) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Removes all not allowed HTML tags from the string value of the specified
object and returns the resulting string.
- Sub() - Constructor for class org.apache.velocity.tools.generic.ClassTool.Sub
-
- sub(Object, Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- sub(Object...) - Method in class org.apache.velocity.tools.generic.MathTool
-
- SugarCookie(Cookie) - Constructor for class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- SugarCookie(String, String) - Constructor for class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- supportsNewInstance() - Method in class org.apache.velocity.tools.generic.ClassTool
-
Returns true if a call to newInstance() on the Class being
inspected is successful; otherwise returns false.
- sync(Object) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Adds another iterator to be kept in sync with the one
being managed by this instance.
- sync(Object, String) - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Adds another iterator to be kept in sync with the one
being managed by this instance.
- sync(Object, Object) - Method in class org.apache.velocity.tools.generic.LoopTool
-
- SyncedIterator(Iterator) - Constructor for class org.apache.velocity.tools.generic.LoopTool.SyncedIterator
-
- SYSTEM_PROPERTY_KEY - Static variable in class org.apache.velocity.tools.config.ConfigurationUtils
-
- tag(String) - Method in class org.apache.velocity.tools.generic.MarkupTool
-
- Tag(MarkupTool) - Constructor for class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- takesParameters() - Method in class org.apache.velocity.tools.generic.ClassTool.CallableSub
-
- target(Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- template - Variable in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- templatePaths - Variable in class org.apache.velocity.tools.view.WebappResourceLoader
-
- test(Object) - Method in interface org.apache.velocity.tools.generic.LoopTool.Condition
-
- test(Object) - Method in class org.apache.velocity.tools.generic.LoopTool.Equals
-
- test(String) - Method in class org.apache.velocity.tools.view.BrowserTool
-
- test(String) - Method in class org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
Deprecated.
- TIME_UNITS - Static variable in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Array of all time unit message keys to their millisecond conversion factor.
- timespan(Object, Object) - Method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
- TIMEZONE_KEY - Static variable in class org.apache.velocity.tools.generic.DateTool
-
The key used for specifying a default timezone via tool configuration.
- toBoolean(Object) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- toBoolean(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toBooleans(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toBooleans(Collection) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toCalendar(Date, Locale) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- toCalendar(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- toCalendar(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toCalendar(Object, Locale) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toCalendar(String, Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toCalendar(String, Object, Locale) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toCalendar(String, Object, Locale, TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendar
using the
provided format, locale and time zone.
- toCalendars(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toCalendars(Collection) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toDate(Object) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Attempts to convert an unidentified
Object
into a
Date
,
just short of turning it into a string and parsing it.
- toDate(Object, String, Locale, TimeZone) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts an object to an instance of
Date
using the
specified format,
Locale
, and
TimeZone
if the
object is not already an instance of Date, Calendar, or Long.
- toDate(String, String, Locale, TimeZone) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts an object to an instance of
Date
using the
specified format,
Locale
, and
TimeZone
if the
object is not already an instance of Date, Calendar, or Long.
- toDate(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- toDate(Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toDate(Object, Locale) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toDate(Object, Locale, TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toDate(String, Object) - Method in class org.apache.velocity.tools.generic.DateTool
-
- toDate(String, Object, Locale) - Method in class org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Date
using the
specified format and
Locale
if the object is not already
an instance of Date, Calendar, or Long.
- toDate(String, Object, Locale, TimeZone) - Method in class org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Date
using the
specified format,
Locale
, and
TimeZone
if the
object is not already an instance of Date, Calendar, or Long.
- toDates(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toDates(Collection) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toDays(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Days in the specified number of milliseconds.
- toDouble(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toDouble(Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- toDoubles(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toHours(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Hours in the specified number of milliseconds.
- toInteger(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toInteger(Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- toIntegers(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toInts(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toList(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Convert a singleton or an array as List
- toLocale(String) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- toLocale(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- toLocale(Object) - Method in class org.apache.velocity.tools.generic.LocaleConfig
-
- toLocales(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toLocales(Collection) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toLocalizedPattern(String, Locale) - Method in class org.apache.velocity.tools.generic.DateTool
-
Returns a localized date format pattern for the given format.
- toLong(Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- toMinutes(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Minutes in the specified number of milliseconds.
- toMonths(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Months in the specified number of milliseconds.
- toNumber(Object) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Attempts to convert an unidentified
Object
into a
Number
,
just short of turning it into a string and parsing it.
- toNumber(Object, boolean) - Static method in class org.apache.velocity.tools.ConversionUtils
-
- toNumber(String, String, Locale) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts a string to an instance of
Number
using the
specified format and
Locale
to parse it.
- toNumber(Object, String, Locale) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts an object to an instance of
Number
using the
specified format and
Locale
to parse it, if necessary.
- toNumber(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toNumber(Object) - Method in class org.apache.velocity.tools.generic.MathTool
-
- toNumber(Object) - Method in class org.apache.velocity.tools.generic.NumberTool
-
- toNumber(String, Object) - Method in class org.apache.velocity.tools.generic.NumberTool
-
- toNumber(String, Object, Locale) - Method in class org.apache.velocity.tools.generic.NumberTool
-
Converts an object to an instance of
Number
using the
specified format and
Locale
if the object is not already
an instance of Number.
- toNumbers(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- toNumbers(Collection) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
- tool(Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- tool(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- tool(String, Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- tool(String, String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
-
- tool(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- tool(Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- tool(String, String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- tool(String, Class) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- toolbox(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration
-
- toolbox - Variable in class org.apache.velocity.tools.generic.ContextTool
-
- Toolbox - Class in org.apache.velocity.tools
-
Instances of this class are typically created by a
ToolboxFactory
on a one-per-scope basis.
- Toolbox(Map<String, ToolInfo>) - Constructor for class org.apache.velocity.tools.Toolbox
-
- Toolbox(Map<String, ToolInfo>, Map<String, Object>) - Constructor for class org.apache.velocity.tools.Toolbox
-
- ToolboxConfiguration - Class in org.apache.velocity.tools.config
-
This class handles configuration info for the Toolbox instances
that will eventually be produced by
ToolboxFactory
.
- ToolboxConfiguration() - Constructor for class org.apache.velocity.tools.config.ToolboxConfiguration
-
- toolboxConfigurationClass - Variable in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- ToolboxFactory - Class in org.apache.velocity.tools
-
This class is the central point of action for VelocityTools.
- ToolboxFactory() - Constructor for class org.apache.velocity.tools.ToolboxFactory
-
- ToolConfiguration - Class in org.apache.velocity.tools.config
-
This class handles configuration info for tools, including their key,
classname, path restriction, and properties.
- ToolConfiguration() - Constructor for class org.apache.velocity.tools.config.ToolConfiguration
-
- toolConfigurationClass - Variable in class org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
- ToolContext - Class in org.apache.velocity.tools
-
Context
implementation that keeps a list of
Toolbox
es
and returns them as requested, using its internal context Map as the
dynamic properties passed to the requested tools when they are first
created.
- ToolContext() - Constructor for class org.apache.velocity.tools.ToolContext
-
- ToolContext(VelocityEngine) - Constructor for class org.apache.velocity.tools.ToolContext
-
Creates an instance that automatically has the specified
VelocityEngine and related tool properties set.
- ToolContext(Map<String, Object>) - Constructor for class org.apache.velocity.tools.ToolContext
-
Creates an instance starting with the specified tool properties.
- ToolInfo - Class in org.apache.velocity.tools
-
Manages data needed to create instances of a tool.
- ToolInfo(String, Class) - Constructor for class org.apache.velocity.tools.ToolInfo
-
Creates a new instance using the minimum required info
necessary for a tool.
- ToolInfo(String, Class, Class) - Constructor for class org.apache.velocity.tools.ToolInfo
-
Creates a new instance using the minimum required info
necessary for a tool.
- TOOLKEY_KEY - Static variable in class org.apache.velocity.tools.ToolContext
-
- ToolManager - Class in org.apache.velocity.tools
-
Manages tools for non-web applications.
- ToolManager() - Constructor for class org.apache.velocity.tools.ToolManager
-
Constructs an instance already configured to use the default tools and
any configuration specified via a "org.apache.velocity.tools"
system property.
- ToolManager(boolean) - Constructor for class org.apache.velocity.tools.ToolManager
-
Constructs an instance that may or not include default tools,
and already configured with
any configuration specified via a "org.apache.velocity.tools"
system property.
- ToolManager(boolean, boolean) - Constructor for class org.apache.velocity.tools.ToolManager
-
Constructs an instance that may or not include default tools,
and which may or not be already configured with
any configuration specified via a "org.apache.velocity.tools"
system property.
- TOOLS_KEY - Static variable in class org.apache.velocity.tools.view.VelocityView
-
Key used to access the toolbox configuration file path from the
Servlet or webapp init parameters ("org.apache.velocity.tools")
or to access a live
FactoryConfiguration
previously
placed in the ServletContext attributes.
- toQuery(Map) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Converts the map of keys to values into a query string.
- toQuery(Object, Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Turns the specified key and value into a properly encoded
query pair string.
- toScopeInt(String) - Static method in class org.apache.velocity.tools.view.jsp.VelocityViewTag
-
- toSeconds(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Seconds in the specified number of milliseconds.
- toString() - Method in class org.apache.velocity.tools.config.Data
-
- toString() - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- toString(boolean) - Method in class org.apache.velocity.tools.config.FactoryConfiguration
-
- toString() - Method in class org.apache.velocity.tools.config.ToolboxConfiguration
-
- toString() - Method in class org.apache.velocity.tools.config.ToolConfiguration
-
- toString(Object) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts objects to String in a more Tools-ish way than
String.valueOf(Object), especially with nulls, Arrays and Collections.
- toString(Collection) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Returns the first value as a String, if any; otherwise returns null.
- toString() - Method in class org.apache.velocity.tools.generic.Alternator
-
Returns a string representation of the current item or
null
if the current item is null.
- toString() - Method in class org.apache.velocity.tools.generic.ClassTool.Sub
-
- toString() - Method in class org.apache.velocity.tools.generic.ClassTool
-
- toString(long, int) - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Converts the specified positive duration of milliseconds into larger
units up to the specified number of positive units, beginning with the
largest positive unit.
- toString() - Method in class org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Renders this comparison to a String.
- toString(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
Deprecated.
Converts objects to String in a more Tools-ish way than
String.valueOf(Object), especially with nulls, Arrays and Collections.
- toString() - Method in class org.apache.velocity.tools.generic.DateTool
-
- toString() - Method in class org.apache.velocity.tools.generic.DisplayTool.Measurements
-
- toString() - Method in class org.apache.velocity.tools.generic.FieldTool.FieldToolSub
-
Return the toString() value of the internal results Map for this sub.
- toString() - Method in class org.apache.velocity.tools.generic.JsonContent
-
Convert JSON object or array into string
- toString() - Method in class org.apache.velocity.tools.generic.JsonTool
-
Convert JSON object or array into string
- toString() - Method in class org.apache.velocity.tools.generic.LinkTool
-
Returns the full URI reference that's been built with this tool,
including the query string and anchor, e.g.
- toString() - Method in class org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
- toString() - Method in class org.apache.velocity.tools.generic.MarkupTool.Tag
-
- toString() - Method in class org.apache.velocity.tools.generic.ResourceTool.Key
-
- toString() - Method in class org.apache.velocity.tools.generic.ValueParser
-
- toString() - Method in class org.apache.velocity.tools.generic.XmlTool
-
If this instance has no XML
Node
s, then this
returns the result of
super.toString()
.
- toString() - Method in class org.apache.velocity.tools.view.BreadcrumbTool
-
Default concatenation of navigation elements, separated by '>'
- toString() - Method in class org.apache.velocity.tools.view.BrowserTool
-
- toString() - Method in class org.apache.velocity.tools.view.CookieTool.SugarCookie
-
- toString() - Method in class org.apache.velocity.tools.view.CookieTool
-
- toString() - Method in class org.apache.velocity.tools.view.LinkTool
-
Overrides to use response.encodeURL to get session id into URL
if sessions are used but cookies are not supported.
- toString() - Method in class org.apache.velocity.tools.view.UiDependencyTool
-
- toStrings(Object) - Method in class org.apache.velocity.tools.generic.ConversionTool
-
- toURI(Object) - Method in class org.apache.velocity.tools.generic.LinkTool
-
Turns the specified object into a string and thereby a URI.
- toURL(String) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts a string to a
URL
.
- toURL(String, Object) - Static method in class org.apache.velocity.tools.ConversionUtils
-
Converts a string to a
URL
.
- toWeeks(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Weeks in the specified number of milliseconds.
- toYears(long) - Static method in class org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Years in the specified number of milliseconds.
- ToyTool - Class in org.apache.velocity.tools.examples.simple.tool
-
- ToyTool() - Constructor for class org.apache.velocity.tools.examples.simple.tool.ToyTool
-
- trace(String) - Method in class org.apache.velocity.tools.generic.LogTool
-
- truncate(Object) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the configured max length
in characters (default is 30 characters).
- truncate(Object, int) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to 'maxLength' characters.
- truncate(Object, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the configured max length
in characters (default is 30 characters).
- truncate(Object, int, String) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the specified max length in
characters.
- truncate(Object, int, String, boolean) - Method in class org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the latest complete word
within the specified maxLength.
- TRUNCATE_AT_WORD_KEY - Static variable in class org.apache.velocity.tools.generic.DisplayTool
-
- TRUNCATE_LENGTH_KEY - Static variable in class org.apache.velocity.tools.generic.DisplayTool
-
- TRUNCATE_SUFFIX_KEY - Static variable in class org.apache.velocity.tools.generic.DisplayTool
-
- type(String) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- type(Data.Type) - Method in class org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
-
- type - Variable in class org.apache.velocity.tools.generic.ClassTool
-
- TYPE_ASCENDING_SHORT - Static variable in class org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
-
- TYPE_DESCENDING_SHORT - Static variable in class org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
-
- TypeRule() - Constructor for class org.apache.velocity.tools.view.UiDependencyTool.TypeRule
-
- TYPES_KEY_SPACE - Static variable in class org.apache.velocity.tools.view.UiDependencyTool
-