|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ezmorph.array.AbstractArrayMorpher
net.sf.ezmorph.array.ObjectArrayMorpher
public final class ObjectArrayMorpher
Morphs an array to another array using a Morpher.
Constructor Summary | |
---|---|
ObjectArrayMorpher(Morpher morpher)
Creates a new ArrayMorpher which will use another Morpher for its inner type. The inner morpher can not morph to an array. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.Object |
morph(java.lang.Object array)
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 net.sf.ezmorph.array.AbstractArrayMorpher |
---|
createDimensions, getDimensions, isUseDefault, setUseDefault |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectArrayMorpher(Morpher morpher)
morpher
- the Morpher that will handle the array's inner type.Method Detail |
---|
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 array)
ObjectMorpher
array
- The input value to be morphedpublic java.lang.Class morphsTo()
Morpher
public boolean supports(java.lang.Class clazz)
Morpher
supports
in interface Morpher
supports
in class AbstractArrayMorpher
clazz
- the source Class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |