org.springframework.expression
Interface TypeUtils
- All Known Implementing Classes:
- StandardTypeUtilities
public interface TypeUtils
TypeUtilities brings together the various kinds of type related function that may occur
whilst working with expressions. An implementor is providing support for four type related
facilities:
- a mechanism for finding types
- a mechanism for comparing types
- a mechanism for type conversion/coercion
- a mechanism for overloading mathematical operations (add/subtract/etc)
- Author:
- Andy Clement
getTypeLocator
TypeLocator getTypeLocator()
- Returns:
- a type locator that can be used to find types, either by short or fully qualified name.
getTypeComparator
TypeComparator getTypeComparator()
- Returns:
- a type comparator for comparing pairs of objects for equality.
getTypeConverter
TypeConverter getTypeConverter()
- Returns:
- a type converter that can convert (or coerce) a value from one type to another.
getOperatorOverloader
OperatorOverloader getOperatorOverloader()
- Returns:
- an operator overloader that may support mathematical operations between more than the standard set of
types