Package | Description |
---|---|
org.apache.velocity.tools.generic |
Contains a collection of reusable, general-purpose "tools" for Velocity.
|
org.apache.velocity.tools.struts |
VelocityStruts contains view tools for integrating Velocity with the Apache
Struts 1 framework by providing easy access
to Struts resources from within Velocity templates.
|
org.apache.velocity.tools.view |
Contains tools and supporting infrastructure for using
those tools in a servlet environment as well as general
use classes to support use of Velocity as (or in) the
view layer of web applications.
|
org.apache.velocity.tools.view.tools |
All classes in this package have been deprecated and moved to
org.apache.velocity.tools.view . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLockConfig
Deprecated.
Use
SafeConfig instead |
class |
AlternatorTool
Simple tool to provide easy in-template instantiation of
Alternator s from varying "list" types or individual
arguments. |
class |
ClassTool
This tool is meant to simplify reflective lookup of information about
a
Class and its Field s, Method s, and Constructor s. |
class |
ComparisonDateTool
|
class |
ContextTool
Tool for convenient access to
Context data and
meta-data. |
class |
ConversionTool
Utility class for easy conversion of String values to richer types.
|
class |
DateTool
|
class |
DisplayTool
Provides general utility methods for controlling the display of references.
|
class |
EscapeTool
Tool for working with escaping in Velocity templates.
|
class |
FieldTool
This is a simple tools class to allow easy access to static fields in a class,
such as string constants from within a template.
|
class |
FormatConfig
Implements common logic and constants for tools which allow their
default format to be configured.
|
class |
LinkTool
The LinkTool provides many methods to work with URIs and can help you:
construct full URIs (opaque, absolute or relative)
encode and decode URLs (part or whole)
retrieve path info for the current request
and more..
|
class |
LocaleConfig
Implements common logic and constants for tools which allow their
default
Locale to be configured. |
class |
MarkupTool
NOTE: This tools is considered "alpha" quality due to lack of testing
and a generally unpolished API.
|
class |
MathTool
Tool for performing math in Velocity.
|
class |
NumberTool
Tool for working with
Number in Velocity templates. |
class |
RenderTool
This tool exposes methods to evaluate the given
strings as VTL (Velocity Template Language)
using either a pre-configured context or one you
provide directly.
|
class |
ResourceTool
Tool for accessing ResourceBundles and formatting messages therein.
|
class |
ValueParser
Utility class for easy parsing of String values held in a Map.
|
class |
XmlTool
Tool for reading/navigating XML files.
|
Modifier and Type | Class and Description |
---|---|
class |
SecureLinkTool
Tool to be able to use Struts SSL Extensions with Velocity.
|
class |
StrutsLinkTool
The StrutsLinkTool extends the standard
LinkTool to add methods
for working with Struts' Actions and Forwards: |
Modifier and Type | Class and Description |
---|---|
class |
BrowserTool
browser-sniffing tool (session or request scope requested, session scope advised).
|
class |
ParameterTool
Utility class for easy parsing of
ServletRequest parameters. |
class |
ViewContextTool
Extension of
ContextTool that includes keys and values
from the HttpServletRequest , HttpSession and
ServletContext . |
Modifier and Type | Class and Description |
---|---|
class |
BrowserSnifferTool
Deprecated.
|
class |
ParameterParser
Deprecated.
|
class |
ViewRenderTool
Deprecated.
|
class |
ViewResourceTool
Deprecated.
|
Copyright © 2002–2021 Apache Software Foundation. All rights reserved.