Package freemarker.ext.beans2

Provides a reflection engine for FM-Classic.

See:
          Description

Interface Summary
Converter An interface for classes implementing a conversion from a given TemplateModel to a known Java object.
Features<T> Features encapsulate the methods, properties, and fields of a class or object.
ObjectWrapper An interface that allows an object to be wrapped.
 

Class Summary
ArrayWrapper Wrapper for an array object.
BeanExplorer A simple test class for testing introspection by Bean or Reflection packages.
BeanWrapper<T> Wrapper for a JavaBean or a Plain Old Java Object.
ClassFeatures<T> Determine a class's features for static classes.
CollectionWrapper<T extends Collection> Wraps Collection objects by providing additional methods to support list models and method support for getting and setting values.
ConvertToArray Returns an array of the specified type for a given list model.
ConvertToArrayList Returns an ArrayList for the specified list model.
ConvertToBigDecimal Returns a BigDecimal object for the given object or number model.
ConvertToBigInteger Returns a BigInteger object for a given number model.
ConvertToBool Returns a boolean value for a given object model.
ConvertToBoolArray Returns an array of boolean values for a given list model.
ConvertToByte Returns a Byte value for a given number model.
ConvertToDouble Returns a Double value for a given object or number model.
ConvertToFloat Returns a Float value for a given object or number model.
ConvertToHashSet Returns a HashSet object for a given list model.
ConvertToIntArray Returns an array of int values for a given list model.
ConvertToInteger Returns an Integer value for a given number model.
ConvertToLinkedList Returns a LinkedList object for a given list model.
ConvertToLong Returns a Long value for a given number model.
ConvertToObject Returns an unwrapped object for a given object model.
ConvertToObjectArray Returns an array of objects for a given list model.
ConvertToShort Returns a Short value for a given number model.
ConvertToString Returns a String value for a given scalar model.
ConvertToTreeSet Returns a TreeSet object for a given list model.
ConvertToVector Returns a Vector object for a given list model.
EnumerationMethodWrapper Wraps a method that returns an enumeration.
EnumerationWrapper<T extends Enumeration> Wraps an Enumeration object as an Iterator model.
EnumWrapper<T extends Enum> Wraps an Enum object.
IndexedPropertyWrapper Wrapper for an indexed property of a JavaBean.
IterableWrapper<T extends Iterable> Wraps Iterable objects by providing a template iterator model.
IteratorMethodWrapper Wraps a method that returns an iterator.
IteratorWrapper<T extends Iterator> Wraps an Iterator object as an Iterator model.
ListIteratorWrapper<T extends ListIterator> Wraps a ListIterator object as an Iterator model.
ListWrapper<T extends List> Wraps a List object by extending the Collection wrapper to provide an indexed model.
MapWrapper<T extends Map> Wraps Collection objects by providing additional methods to support list models and method support for getting and setting values.
MethodWrapper Wraps a method identifier.
NumberWrapper Wraps a Number object as a number model.
ObjectFeatures<T> Determine an object's features for a particular class.
PropertiesWrapper<T extends Properties> Wrapper for a Properties object.
ResourceBundleWrapper Wrapper for ResourceBundle objects.
StaticClassWrapper<T> Wrapper for static or uninstantiated classes.
StaticEnumWrapper<T extends Enum> Wraps a static Enum class.
StaticMethodWrapper Wraps a static method identifier.
Unwrapper Unwraps a given FM-Classic template model back into a plain old Java object.
Wrapper Wraps a given object, class or enum in a FM-Classic template model.
 

Package freemarker.ext.beans2 Description

Provides a reflection engine for FM-Classic. The main classes are Wrapper and Unwrapper. This provides class, method, field, property, and enumeration access to Java classes and objects.

Since:
1.9