| 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. |
| Class and Description |
|---|
| Alternator
Utility class for easily alternating over values in a list.
|
| ClassTool
This tool is meant to simplify reflective lookup of information about
a
Class and its Fields, Methods, and Constructors. |
| ClassTool.CallableSub |
| ClassTool.ConstructorSub
A simplified wrapping interface for inspecting features
of a
Constructor in an inspected Class. |
| ClassTool.FieldSub
A simplified wrapping interface for inspecting features
of a
Field in an inspected Class. |
| ClassTool.MethodSub
A simplified wrapping interface for inspecting features
of a
Method in an inspected Class. |
| ClassTool.Sub |
| ComparisonDateTool.Comparison |
| ConversionTool
Utility class for easy conversion of String values to richer types.
|
| DateTool |
| DisplayTool.Measurements
Measures the dimensions of the string given to its constructor.
|
| FieldTool.FieldToolSub
Holds a
Map of results for a particular class. |
| FormatConfig
Implements common logic and constants for tools which allow their
default format to be configured.
|
| IteratorTool
Deprecated.
Use
LoopTool instead |
| LocaleConfig
Implements common logic and constants for tools which allow their
default
Locale to be configured. |
| LoopTool
A convenience tool to use with #foreach loops.
|
| LoopTool.Action
Represents an automatic action taken by a
LoopTool.ManagedIterator
when a LoopTool.Condition is satisfied by the subsequent element. |
| LoopTool.ActionCondition
Composition class which associates an
LoopTool.Action and LoopTool.Condition
for a LoopTool.ManagedIterator. |
| LoopTool.Comparison
Base condition class for conditions (assumption here is that
conditions are all comparative.
|
| LoopTool.Condition
Represents a function into which a
LoopTool.ManagedIterator can
pass it's next element to see if an LoopTool.Action should be taken. |
| LoopTool.ManagedIterator
Iterator implementation that wraps a standard
Iterator
and allows it to be prematurely stopped, skipped ahead, and
associated with a name for advanced nested loop control. |
| MarkupTool
NOTE: This tools is considered "alpha" quality due to lack of testing
and a generally unpolished API.
|
| MarkupTool.Tag |
| ResourceTool.Key
Internal class used to enable an elegant syntax for accessing
resources.
|
| SafeConfig
Implements common logic and constants for tools which automatically
locks down the
public void configure(Map params) method after
it is called once. |
| ValueParser
Utility class for easy parsing of String values held in a Map.
|
| XmlTool
Tool for reading/navigating XML files.
|
| Class and Description |
|---|
| 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..
|
| SafeConfig
Implements common logic and constants for tools which automatically
locks down the
public void configure(Map params) method after
it is called once. |
| ValueParser
Utility class for easy parsing of String values held in a Map.
|
| Class and Description |
|---|
| ContextTool
Tool for convenient access to
Context data and
meta-data. |
| ConversionTool
Utility class for easy conversion of String values to richer types.
|
| FormatConfig
Implements common logic and constants for tools which allow their
default format to be configured.
|
| 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..
|
| LocaleConfig
Implements common logic and constants for tools which allow their
default
Locale to be configured. |
| SafeConfig
Implements common logic and constants for tools which automatically
locks down the
public void configure(Map params) method after
it is called once. |
| ValueParser
Utility class for easy parsing of String values held in a Map.
|
| Class and Description |
|---|
| ContextTool
Tool for convenient access to
Context data and
meta-data. |
| ConversionTool
Utility class for easy conversion of String values to richer types.
|
| FormatConfig
Implements common logic and constants for tools which allow their
default format to be configured.
|
| LocaleConfig
Implements common logic and constants for tools which allow their
default
Locale to be configured. |
| 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.
|
| ResourceTool
Tool for accessing ResourceBundles and formatting messages therein.
|
| SafeConfig
Implements common logic and constants for tools which automatically
locks down the
public void configure(Map params) method after
it is called once. |
| ValueParser
Utility class for easy parsing of String values held in a Map.
|
Copyright © 2002–2023 Apache Software Foundation. All rights reserved.