Morpher
, ObjectMorpher
public final class IdentityObjectMorpher extends Object implements ObjectMorpher
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
static IdentityObjectMorpher |
getInstance() |
Returns the singleton instance
|
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 static IdentityObjectMorpher getInstance()
public Object morph(Object value)
ObjectMorpher
morph
in interface ObjectMorpher
value
- The input value to be morphedpublic Class morphsTo()
Morpher
Copyright © 2006–2019. All rights reserved.