|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Morpher | |
---|---|
net.sf.ezmorph | |
net.sf.ezmorph.array | Morphers for arrays. |
net.sf.ezmorph.bean | Morphers for JavaBeans and DynaBeans. |
net.sf.ezmorph.object | Morphers for Object types. |
net.sf.ezmorph.primitive | Morphers for primitive types. |
Uses of Morpher in net.sf.ezmorph |
---|
Subinterfaces of Morpher in net.sf.ezmorph | |
---|---|
interface |
ObjectMorpher
Marker interface for morphers that return an Object. |
Methods in net.sf.ezmorph that return Morpher | |
---|---|
Morpher |
MorpherRegistry.getMorpherFor(Class clazz)
Returns a morpher for clazz .If several morphers are found for that class, it returns the first. |
Morpher[] |
MorpherRegistry.getMorphersFor(Class clazz)
Returns all morphers for clazz .If no Morphers are found it will return an array containing the IdentityObjectMorpher. |
Methods in net.sf.ezmorph with parameters of type Morpher | |
---|---|
void |
MorpherRegistry.deregisterMorpher(Morpher morpher)
Deregister the specified Morpher. The registry will remove the target Class from the morphers
Map if it has no other registered morphers. |
void |
MorpherRegistry.registerMorpher(Morpher morpher)
Register a Morpher for a target Class .The target class is the class this Morpher morphs to. |
void |
MorpherRegistry.registerMorpher(Morpher morpher,
boolean override)
Register a Morpher for a target Class .The target class is the class this Morpher morphs to. |
Uses of Morpher in net.sf.ezmorph.array |
---|
Classes in net.sf.ezmorph.array that implement Morpher | |
---|---|
class |
AbstractArrayMorpher
Base class for array Morphers. |
class |
BooleanArrayMorpher
Morphs an array to a boolean[]. |
class |
BooleanObjectArrayMorpher
Morphs an array to a Boolean[]. |
class |
ByteArrayMorpher
Morphs an array to a byte[]. |
class |
CharacterObjectArrayMorpher
Morphs an array to a Character[]. |
class |
CharArrayMorpher
Morphs an array to a char[]. |
class |
DoubleArrayMorpher
Morphs an array to a double[]. |
class |
FloatArrayMorpher
Morphs an array to a float[]. |
class |
IntArrayMorpher
Morphs an array to a int[]. |
class |
LongArrayMorpher
Morphs an array to a long[]. |
class |
ObjectArrayMorpher
Morphs an array to another array using a Morpher. |
class |
ShortArrayMorpher
Morphs an array to a short[]. |
Constructors in net.sf.ezmorph.array with parameters of type Morpher | |
---|---|
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. |
Uses of Morpher in net.sf.ezmorph.bean |
---|
Classes in net.sf.ezmorph.bean that implement Morpher | |
---|---|
class |
BeanMorpher
Converts a JavaBean into another JavaBean or DynaBean. This Morpher will try to match every property from the target JavaBean's class to the properties of the source JavaBean. |
Uses of Morpher in net.sf.ezmorph.object |
---|
Classes in net.sf.ezmorph.object that implement Morpher | |
---|---|
class |
AbstractObjectMorpher
Base class for ObjectMorpher implementations. |
class |
BigDecimalMorpher
Morphs to a BigDecimal. |
class |
BigIntegerMorpher
Morphs to a BigInteger. |
class |
BooleanObjectMorpher
Morphs to a Boolean. |
class |
CharacterObjectMorpher
Morphs to a Character. |
class |
ClassMorpher
Morphs to a Class. This morpher is a singleton. |
class |
DateMorpher
Morphs a String to a Date. |
class |
IdentityObjectMorpher
Morpher that performs no conversion. This morpher is a singleton. |
class |
MapToDateMorpher
Morphs a Map into a Date. The Map should have at least one of the following keys [yer,month,day,hour,minutes,seconds,milliseconds] and the values should be instances of Number. |
class |
NumberMorpher
Morphs to a subclass of Number. Supported types are - Byte, Short, Integer, Long, Float, BigInteger, BigtDecimal. |
class |
ObjectListMorpher
Morphs a List to another List using a Morpher. |
class |
StringMorpher
Morphs to a String. This morpher is a singleton. |
class |
SwitchingMorpher
An all-purpose Morpher that can morph to several classes. Because this Morpher accepts any class and morphs to Object it should not be added to a MorpherRegistry as it may be too generic for some cases and may result in unwanted transformations. |
Constructors in net.sf.ezmorph.object with parameters of type Morpher | |
---|---|
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)
|
Uses of Morpher in net.sf.ezmorph.primitive |
---|
Classes in net.sf.ezmorph.primitive that implement Morpher | |
---|---|
class |
AbstractDecimalMorpher
Base class for primitive decimal conversion. |
class |
AbstractIntegerMorpher
Base class por primitive integer conversion. |
class |
AbstractPrimitiveMorpher
Base class for primitive value conversion. |
class |
BooleanMorpher
Morphs to a boolean. |
class |
ByteMorpher
Morphs to a byte. |
class |
CharMorpher
Morphs to a char. |
class |
DoubleMorpher
Morphs to a double. |
class |
FloatMorpher
Moprhs to a float. |
class |
IntMorpher
Morphs to an int. |
class |
LongMorpher
Morphs to a long. |
class |
ShortMorpher
Morphs to a short. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |