|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ezmorph.object.ClassMorpher
public final class ClassMorpher
Morphs to a Class.
This morpher is a singleton.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static ClassMorpher |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClassMorpher getInstance()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object morph(Object value)
ObjectMorpher
morph
in interface ObjectMorpher
value
- The input value to be morphedpublic Class morphsTo()
Morpher
morphsTo
in interface Morpher
public boolean supports(Class clazz)
Morpher
supports
in interface Morpher
clazz
- the source Class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |