public static class StandardLeafValueHandlers.BooleanHandler extends AbstractLeafValueHandler
| Constructor and Description |
|---|
BooleanHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Class<?> clazz,
Object value) |
Object |
toExportValue(Object value)
Converts the given value to a type more suitable for exporting.
|
convertpublic Object convert(Class<?> clazz, Object value)
convert in class AbstractLeafValueHandlerpublic Object toExportValue(Object value)
LeafValueHandlerProperty.toExportValue(T) is called on a bean property.
Returns null if the leaf value handler cannot handle the value.
Return MapperImpl.RETURN_NULL to signal that null should be used
as the export value (returning null itself means this leaf value handler cannot handle it).
value - the value to convert to an export value, if possibleCopyright © 2016–2018 The AuthMe Team. All rights reserved.