| java.lang.Object org.araneaframework.uilib.form.converter.BaseConverter
All known Subclasses: org.araneaframework.uilib.form.converter.IdenticalConverter, org.araneaframework.uilib.form.converter.BooleanToLongConverter, org.araneaframework.uilib.form.converter.BigIntegerToIntegerConverter, org.araneaframework.uilib.form.converter.ReverseConverter, org.araneaframework.uilib.form.converter.TimestampToDateConverter, org.araneaframework.uilib.form.converter.BigIntegerToLongConverter, org.araneaframework.uilib.form.converter.StringToLongConverter, org.araneaframework.uilib.form.converter.StringToIntegerConverter, org.araneaframework.uilib.form.converter.ListConverter, org.araneaframework.uilib.form.converter.StringToBigDecimalConverter, org.araneaframework.uilib.form.converter.BooleanToYNConverter, org.araneaframework.uilib.form.converter.StringToBooleanConverter,
addErrors | protected void addErrors(Set errors)(Code) | | |
convert | public Object convert(Object data)(Code) | | This method converts the data from one type to another. If the data is null
then null is returned. Otherwise
BaseConverter.convertNotNull(Object) method is used
for actual conversion.
Parameters: data - Data to convert. Converted data. |
convertNotNull | abstract protected Object convertNotNull(Object data)(Code) | | This method should convert the data from one type to another. It may assume that the data
is never null .
Parameters: data - Data to convert. Converted data. |
newConverter | abstract public Converter newConverter()(Code) | | This method should return a new converter, of the same type that the class that overrides it,
however freshly initialized.
a new converter, of the same type that the class that overrides it, however freshlyinitialized. |
reverseConvertNotNull | abstract protected Object reverseConvertNotNull(Object data)(Code) | | This method should convert the data from one type to another. It may assume that the data
is never null . The types of data are reversed in comparison to
BaseConverter.convertNotNull(Object) .
Parameters: data - Data to convert. Converted data. |
|
|