Morpher, ObjectMorpherpublic class SwitchingMorpher extends Object implements ObjectMorpher
| Constructor | Description |
|---|---|
SwitchingMorpher(Map classMap,
MorpherRegistry morpherRegistry) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Object |
morph(Object value) |
Morphs the input object into an output object of the supported type.
|
Class |
morphsTo() |
Returns the target Class for conversion.
|
boolean |
supports(Class clazz) |
Returns true if the Morpher supports conversion from this Class.
|
public SwitchingMorpher(Map classMap, MorpherRegistry morpherRegistry)
public Object morph(Object value)
ObjectMorphermorph in interface ObjectMorphervalue - The input value to be morphedpublic Class morphsTo()
MorpherCopyright © 2006–2019. All rights reserved.