Interface ConversionContext
-
- All Known Implementing Classes:
DefaultConversionContext
public interface ConversionContextContext object passed to conversion providers and built-in methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDateFormat()Returns the date format if this conversion or built-in method is from String to a date type (e.g.java.lang.StringgetNumberFormat()TypegetTargetType()Returns the target type of this conversion.TypeFactorygetTypeFactory()
-
-
-
Method Detail
-
getTargetType
Type getTargetType()
Returns the target type of this conversion.- Returns:
- The target type of this conversion.
-
getDateFormat
java.lang.String getDateFormat()
Returns the date format if this conversion or built-in method is from String to a date type (e.g.Date) or vice versa.- Returns:
- The date format if this conversion or built-in method is from String to a date type.
nullis returned for other types or if not given.
-
getNumberFormat
java.lang.String getNumberFormat()
-
getTypeFactory
TypeFactory getTypeFactory()
-
-