public final class BooleanMorpher extends AbstractPrimitiveMorpher
| Constructor and Description |
|---|
BooleanMorpher() |
BooleanMorpher(boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getDefaultValue()
Returns the default value for this Morpher.
|
int |
hashCode() |
boolean |
morph(Object value)
Morphs the input object into an output object of the supported type.
|
Class |
morphsTo()
Returns the target Class for conversion.
|
isUseDefault, supportspublic BooleanMorpher()
public BooleanMorpher(boolean defaultValue)
defaultValue - return value if the value to be morphed is nullpublic boolean getDefaultValue()
public boolean morph(Object value)
value - The input value to be morphedMorphException - if conversion cannot be performed successfullyCopyright © 2006–2024. All rights reserved.