| Package | Description |
|---|---|
| org.apache.velocity.tools.generic |
Contains a collection of reusable, general-purpose "tools" for Velocity.
|
| 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 |
| 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.
|
| 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. |
| 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, with XPath expressions support.
|
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.