public class BooleanLeafValueHandler extends AbstractLeafValueHandler
| Constructor and Description |
|---|
BooleanLeafValueHandler() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
convert(@Nullable Class<?> clazz,
@Nullable Object value) |
@Nullable Object |
toExportValue(@Nullable Object value)
Converts the given value to a type more suitable for exporting.
|
convert@Nullable public @Nullable Object convert(@Nullable @Nullable Class<?> clazz, @Nullable @Nullable Object value)
convert in class AbstractLeafValueHandler@Nullable public @Nullable Object toExportValue(@Nullable @Nullable 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–2023 The AuthMe Team. All rights reserved.