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