Package org.apache.velocity.util
package org.apache.velocity.util
-
ClassDescriptionAn Iterator wrapper for an Object[].A class that wraps an array with a List interface.Simple utility functions for manipulating classes and resources from the classloader.Event handlers implementing this interface will automatically have the method setContext called before each event.Deprecated.it will disappear along with deprecated key names in 3.0.Support for getAs<java.lang.reflect.Type>() convention for rendering (String), evaluating (Boolean) or doing math with (Number) references.An Iterator wrapper for an Enumeration.This class extends normal Java properties by adding the possibility to use the same key many times concatenating the value strings instead of overwriting them.Use this interface to automatically have the method setRuntimeServices called at initialization.Simple object pool.
Writer
implementation that outputs to aStringBuilder
.This class provides some methods for dynamically invoking methods in objects, and some string manipulation and formatting methods.Any object in the context which implements TemplateBoolean will use the getAsBoolean() method for #if( $ref ) calls.Any object in the context which implements TemplateNumber will be treated as a number for the purposes of arithmetic operations and comparison.Any object in the context which implements TemplateString will use the getAsString() method for rendering and empty-checks instead of toString().