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.
|
Modifier and Type | Class and Description |
---|---|
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 |
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 |
IteratorTool
Deprecated.
Use
LoopTool instead |
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 |
ListTool
Deprecated.
|
class |
LoopTool
A convenience tool to use with #foreach loops.
|
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 |
SortTool
SortTool allows a user to sort a collection (or array, iterator, etc)
on any arbitary set of properties exposed by the objects contained
within the collection.
|
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 |
ActionMessagesTool
This tool deals with Struts action messages.
|
class |
ErrorsTool
This tool deals with Struts error messages.
|
class |
FormTool
View tool to work with HTML forms in Struts.
|
class |
MessageTool
The MessageTool is used to render internationalized message strings.
|
class |
TilesTool
The TilesTool is used to interact with the Struts-Tiles framework that is part
of Struts 1.
|
class |
ValidatorTool
View tool that works with Struts Validator to
produce client side javascript validation for your forms.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSearchTool
Abstract view tool for doing "searching" and robust
pagination of search results.
|
class |
BrowserTool
browser-sniffing tool (session or request scope requested, session scope advised).
|
class |
CookieTool
View tool for convenient cookie access and creation.
|
class |
ImportTool
General-purpose text-importing view tool for templates.
|
class |
IncludeTool
Allows for transparent content negotiation in a manner mimicking
Apache httpd's MultiViews.
|
class |
PagerTool
View tool for doing request-based pagination of
items in an a list.
|
class |
ParameterTool
Utility class for easy parsing of
ServletRequest parameters. |
class |
UiDependencyTool
NOTE: This tool is considered "beta" quality due to lack of public testing
and is not automatically provided via the default tools.xml file.
|
Copyright © 2002–2014 Apache Software Foundation. All rights reserved.