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.
|
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 Field s, Method s, and Constructor s. |
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 |
CollectionTool
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.
|
ComparisonDateTool.Comparison |
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.
|
ImportSupport
Provides methods to import arbitrary local or remote resources as strings, generic version.
|
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 |
---|
ContextTool
Tool for convenient access to
Context data and
meta-data. |
FormatConfig
Implements common logic and constants for tools which allow their
default format to be configured.
|
ImportSupport
Provides methods to import arbitrary local or remote resources as strings, generic version.
|
ImportTool
General-purpose text-importing tool for templates.
|
JsonTool
Tool which can parse a JSON file.
|
LinkTool
The LinkTool provides many methods to work with URIs and can help you:
|
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.
|
XmlTool
Tool for reading/navigating XML files.
|
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.