Uses of Interface
org.javalite.conversion.Converter
Packages that use Converter
Package
Description
ActiveJDBC - the agile Java ORM.
Classes to manage data conversions, se Data conversions
Data validation , see
Validations.
-
Uses of Converter in org.javalite.activejdbc
Methods in org.javalite.activejdbc with parameters of type ConverterModifier and TypeMethodDescriptionprotected static voidModel.convertWith(Converter converter, String... attributeNames)Registers a custom converter for the specified attributes.static voidModelDelegate.convertWith(Class<? extends Model> clazz, Converter converter, String... attributeNames) -
Uses of Converter in org.javalite.conversion
Classes in org.javalite.conversion that implement ConverterModifier and TypeClassDescriptionclassConverts instances of String that are empty or contain only whitespaces to null.classConverterAdapter<S,T>Converts instances of S to T.classclassclassclassConverts instances of Number that are zero to null. -
Uses of Converter in org.javalite.validation
Methods in org.javalite.validation that return ConverterModifier and TypeMethodDescription<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.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 ConverterModifier and TypeMethodDescriptionvoidValidationSupport.convertWith(Converter converter, String attribute)Registers converter for specified model attribute.voidValidationSupport.convertWith(Converter converter, String... attributes)Registers converter for specified model attributes.