|
||||||||||
| 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(Object obj)
|
int |
hashCode()
|
Object |
morph(Object array)
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 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(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object morph(Object array)
ObjectMorpher
array - The input value to be morphedpublic Class morphsTo()
Morpher
public boolean supports(Class clazz)
Morpher
supports in interface Morphersupports in class AbstractArrayMorpherclazz - the source Class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||