Contains a collection of reusable, general-purpose "tools" for Velocity.


Class Summary
Alternator Utility class for easily alternating over values in a list.
AlternatorTool Simple tool to provide easy in-template instantiation of Alternators from varying "list" types.
DateTool Tool for working with Date and Calendar in Velocity templates.
EscapeTool Tool for working with escaping in Velocity templates.
IteratorTool A convenience tool to use with #foreach loops.
ListTool Tool for working with Lists and arrays in Velocity templates.
MathTool Tool for performing math in Velocity.
NumberTool Tool for working with Number in Velocity templates.
RenderTool This tool exposes methods to evaluate the given strings as VTL (Velocity Template Language) using the given context.
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.
ValueParser Utility class for easy parsing of String values held in a Map.

Package Description

Contains a collection of reusable, general-purpose "tools" for Velocity. These tools are independent of the VelocityView classes and may be used in any context.

Package Specification

Related Documentation

Copyright (c) 2003 Apache Software Foundation