net.sf.ezmorph.object

Class ObjectListMorpher

public final class ObjectListMorpher extends AbstractObjectMorpher

Morphs a List to another List using a Morpher.

Author: Andres Almiray

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
booleanequals(Object obj)
inthashCode()
Objectmorph(Object value)
ClassmorphsTo()
booleansupports(Class clazz)

Constructor Detail

ObjectListMorpher

public 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. Multiple dimension arrays are already handled by this class.

Parameters: morpher the Morpher that will handle the array's inner type.

ObjectListMorpher

public ObjectListMorpher(Morpher morpher, Object defaultValue)

Method Detail

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

morph

public Object morph(Object value)

morphsTo

public Class morphsTo()

supports

public boolean supports(Class clazz)
Copyright © 2006-2011. All Rights Reserved.