Package | Description |
---|---|
org.apache.velocity.tools.generic |
Contains a collection of reusable, general-purpose "tools" for Velocity.
|
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
Deprecated.
use CSS3 nth-child(even/odd) selectors or #if($foreach.index % 2)
|
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 |
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 |
ImportTool
General-purpose text-importing tool for templates.
|
class |
LinkTool
The LinkTool provides many methods to work with URIs and can help you:
|
class |
LogTool
This tool is used to log from within templates.
|
class |
LoopTool
A convenience tool to use with #foreach loops.
|
class |
MathTool
Tool for performing math in Velocity.
|
Modifier and Type | Class and Description |
---|---|
class |
CookieTool
View tool for convenient cookie access and creation.
|
class |
ImportTool
General-purpose text-importing view tool for templates.
|
class |
JsonTool
View version of
JsonTool . |
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–2018 The Apache Software Foundation. All rights reserved.