public class BooleanConverter extends BasicConverter
| Constructor and Description |
|---|
BooleanConverter() |
BooleanConverter(boolean notPresentIsFalse) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowNull()
Override this method if you want to convert null (not-present) values.
|
Object |
convert(Object value)
Converts an object to another one.
|
convertpublic BooleanConverter()
public BooleanConverter(boolean notPresentIsFalse)
protected boolean allowNull()
BasicConverterallowNull in class BasicConverterpublic Object convert(Object value) throws ConversionException
BasicConverterconvert in class BasicConvertervalue - The object to convert.ConversionException - if the conversion fail for any reason.Copyright © 2015. All Rights Reserved.