MorpherAbstractDecimalMorpher, AbstractIntegerMorpher, BooleanMorpher, CharMorpherpublic abstract class AbstractPrimitiveMorpher extends Object implements Morpher
| Constructor | Description |
|---|---|
AbstractPrimitiveMorpher() |
|
AbstractPrimitiveMorpher(boolean useDefault) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isUseDefault() |
Returns if this morpher will use a default value if the value to be
morphed is null
|
boolean |
supports(Class clazz) |
Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array. |
public AbstractPrimitiveMorpher()
public AbstractPrimitiveMorpher(boolean useDefault)
useDefault - if morph() should return a default value if the value to
be morphed is nullpublic boolean isUseDefault()
public boolean supports(Class clazz)
Copyright © 2006–2019. All rights reserved.