|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ezmorph.object.StringMorpher
public final class StringMorpher
Morphs to a String.
This morpher is a singleton.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static StringMorpher |
getInstance()
Returns the singleton instance |
int |
hashCode()
|
java.lang.Object |
morph(java.lang.Object value)
Morphs the input object into an output object of the supported type. |
java.lang.Class |
morphsTo()
Returns the target Class for conversion. |
boolean |
supports(java.lang.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 StringMorpher getInstance()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object morph(java.lang.Object value)
ObjectMorpher
morph
in interface ObjectMorpher
value
- The input value to be morphedpublic java.lang.Class morphsTo()
Morpher
morphsTo
in interface Morpher
public boolean supports(java.lang.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 |