Uses of Interface
org.javalite.conversion.Converter
-
Packages that use Converter Package Description org.javalite.conversion Classes to manage data conversions, se Data conversionsorg.javalite.validation Data validation , see Validations. -
-
Uses of Converter in org.javalite.conversion
Classes in org.javalite.conversion that implement Converter Modifier and Type Class Description classBlankToNullConverterConverts instances of String that are empty or contain only whitespaces to null.classConverterAdapter<S,T>Converts instances of S to T.classDateToStringConverterclassStringToSqlDateConverterclassStringToTimestampConverterclassZeroToNullConverterConverts instances of Number that are zero to null. -
Uses of Converter in org.javalite.validation
Methods in org.javalite.validation that return Converter Modifier and Type Method Description <S,T>
Converter<S,T>ValidationSupport. converterForClass(String attribute, Class<S> sourceClass, Class<T> destinationClass)Returns converter for specified model attribute, able to convert from sourceClass to destinationClass.<T> Converter<Object,T>ValidationSupport. converterForValue(String attribute, Object value, Class<T> destinationClass)Returns converter for specified model attribute, able to convert value to an instance of destinationClass.Methods in org.javalite.validation with parameters of type Converter Modifier and Type Method Description voidValidationSupport. convertWith(Converter converter, String attribute)Registers converter for specified model attribute.voidValidationSupport. convertWith(Converter converter, String... attributes)Registers converter for specified model attributes.
-