public class SwitchingMorpher extends Object implements ObjectMorpher
| Constructor and Description |
|---|
SwitchingMorpher(Map classMap,
MorpherRegistry morpherRegistry) |
| Modifier and Type | Method and 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–2024. All rights reserved.