Package org.bedework.util.calendar.diff
Interface ValueMatcher.ValueConverter<T>
-
- Type Parameters:
T-
- Enclosing class:
- ValueMatcher
public static interface ValueMatcher.ValueConverter<T>- Author:
- douglm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueComparatorconvert(T val)Called to convert an object of a registered class.TgetElementAndValue(T val)Called to get a property or parameter object containing only the value.List<T>getNormalized(T val)Return either a single valued set or a set with the values split into separate objects
-
-
-
Method Detail
-
convert
ValueComparator convert(T val)
Called to convert an object of a registered class. Converters implementing this interface are registered with a value matcher Note that standard value types (those defined in the standard schema) are all registered once only at system initialization.- Parameters:
val-- Returns:
- a ValueComparator
-
getElementAndValue
T getElementAndValue(T val)
Called to get a property or parameter object containing only the value. The property or parameter object is a new instance. Its value is copied.- Parameters:
val-- Returns:
- property object containing value only
-
-