- AbstractArrayMorpher - Class in net.sf.ezmorph.array
-
Base class for array Morphers.
- AbstractArrayMorpher() - Constructor for class net.sf.ezmorph.array.AbstractArrayMorpher
-
- AbstractArrayMorpher(boolean) - Constructor for class net.sf.ezmorph.array.AbstractArrayMorpher
-
- AbstractDecimalMorpher - Class in net.sf.ezmorph.primitive
-
Base class for primitive decimal conversion.
- AbstractDecimalMorpher() - Constructor for class net.sf.ezmorph.primitive.AbstractDecimalMorpher
-
- AbstractDecimalMorpher(boolean) - Constructor for class net.sf.ezmorph.primitive.AbstractDecimalMorpher
-
- AbstractIntegerMorpher - Class in net.sf.ezmorph.primitive
-
Base class por primitive integer conversion.
- AbstractIntegerMorpher() - Constructor for class net.sf.ezmorph.primitive.AbstractIntegerMorpher
-
- AbstractIntegerMorpher(boolean) - Constructor for class net.sf.ezmorph.primitive.AbstractIntegerMorpher
-
- AbstractObjectMorpher - Class in net.sf.ezmorph.object
-
Base class for ObjectMorpher implementations.
- AbstractObjectMorpher() - Constructor for class net.sf.ezmorph.object.AbstractObjectMorpher
-
- AbstractObjectMorpher(boolean) - Constructor for class net.sf.ezmorph.object.AbstractObjectMorpher
-
- AbstractPrimitiveMorpher - Class in net.sf.ezmorph.primitive
-
Base class for primitive value conversion.
- AbstractPrimitiveMorpher() - Constructor for class net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
-
- AbstractPrimitiveMorpher(boolean) - Constructor for class net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
-
- ArrayAssertions - Class in net.sf.ezmorph.test
-
Provides assertions on arrays (primitive and objects).
All methods support multiple dimensional arrays.
- assertEquals(boolean[], boolean[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two boolean[] are equal.
- assertEquals(boolean[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a boolean[] is equal to an Object[] (presumably an Boolean[])
- assertEquals(byte[], byte[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two byte[] are equal.
- assertEquals(byte[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a byte[] is equal to an Object[] (presumably an Byte[])
- assertEquals(char[], char[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two char[] are equal.
- assertEquals(char[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a char[] is equal to an Object[] (presumably an Character[])
- assertEquals(double[], double[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two double[] are equal.
- assertEquals(double[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a double[] is equal to an Object[] (presumably an Double[])
- assertEquals(float[], float[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two float[] are equal.
- assertEquals(float[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a float[] is equal to an Object[] (presumably an Float[])
- assertEquals(int[], int[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two int[] are equal.
- assertEquals(int[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a int[] is equal to an Object[] (presumably an Integer[])
- assertEquals(List, List) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two Lists are equal.
- assertEquals(long[], long[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two long[] are equal.
- assertEquals(long[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a long[] is equal to an Object[] (presumably an Long[])
- assertEquals(Object, Object) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two objects are equal.
- assertEquals(Object[], boolean[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Boolean[]) is equal to an boolean[].
- assertEquals(Object[], byte[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Byte[]) is equal to an byte[].
- assertEquals(Object[], char[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Character[]) is equal to an char[].
- assertEquals(Object[], double[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Double[]) is equal to an double[].
- assertEquals(Object[], float[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Float[]) is equal to an float[].
- assertEquals(Object[], int[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Integer[]) is equal to an int[].
- assertEquals(Object[], long[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Long[]) is equal to an long[].
- assertEquals(Object[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two Object[] are equal.
- assertEquals(Object[], short[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Short[]) is equal to an short[].
- assertEquals(short[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a short[] is equal to an Object[] (presumably an Short[])
- assertEquals(short[], short[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two short[] are equal.
- assertEquals(String, boolean[], boolean[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two boolean[] are equal.
- assertEquals(String, boolean[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a boolean[] is equal to an Object[] (presumably an Boolean[])
- assertEquals(String, byte[], byte[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two byte[] are equal.
- assertEquals(String, byte[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a byte[] is equal to an Object[] (presumably an Byte[])
- assertEquals(String, char[], char[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two char[] are equal.
- assertEquals(String, char[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a char[] is equal to an Object[] (presumably an Character[])
- assertEquals(String, double[], double[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two double[] are equal.
- assertEquals(String, double[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a double[] is equal to an Object[] (presumably an Double[])
- assertEquals(String, float[], float[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two float[] are equal.
- assertEquals(String, float[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a float[] is equal to an Object[] (presumably an Float[])
- assertEquals(String, int[], int[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two int[] are equal.
- assertEquals(String, int[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a int[] is equal to an Object[] (presumably an Integer[])
- assertEquals(String, List, List) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two Lists are equal.
- assertEquals(String, long[], long[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two long[] are equal.
- assertEquals(String, long[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a long[] is equal to an Object[] (presumably an Long[])
- assertEquals(String, Object, Object) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two objects are equal.
- assertEquals(String, Object[], boolean[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Boolean[]) is equal to an boolean[].
- assertEquals(String, Object[], byte[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Byte[]) is equal to an byte[].
- assertEquals(String, Object[], char[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Character[]) is equal to an char[].
- assertEquals(String, Object[], double[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Double[]) is equal to an double[].
- assertEquals(String, Object[], float[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Float[]) is equal to an float[].
- assertEquals(String, Object[], int[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Integer[]) is equal to an int[].
- assertEquals(String, Object[], long[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Long[]) is equal to an long[].
- assertEquals(String, Object[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two Object[] are equal.
- assertEquals(String, Object[], short[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that Object[] (presumably an Short[]) is equal to a short[].
- assertEquals(String, short[], Object[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that a short[] is equal to an Object[] (presumably an Short[])
- assertEquals(String, short[], short[]) - Static method in class net.sf.ezmorph.test.ArrayAssertions
-
Asserts that two short[] are equal.
- get(String) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- get(String, int) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- get(String, String) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- getBeanClass() - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- getCause() - Method in exception net.sf.ezmorph.MorphException
-
Returns the cause of this exception.
- getDefaultValue() - Method in class net.sf.ezmorph.array.BooleanArrayMorpher
-
- getDefaultValue() - Method in class net.sf.ezmorph.array.BooleanObjectArrayMorpher
-
- getDefaultValue() - Method in class net.sf.ezmorph.array.ByteArrayMorpher
-
- getDefaultValue() - Method in class net.sf.ezmorph.array.CharacterObjectArrayMorpher
-
- getDefaultValue() - Method in class net.sf.ezmorph.array.CharArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.array.DoubleArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.array.FloatArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.array.IntArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.array.LongArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.array.ShortArrayMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.BigDecimalMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.BigIntegerMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.BooleanObjectMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.CharacterObjectMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.DateMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.MapToDateMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.object.NumberMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.BooleanMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.ByteMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.CharMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.DoubleMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.FloatMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.IntMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.LongMorpher
-
Returns the default value for this Morpher.
- getDefaultValue() - Method in class net.sf.ezmorph.primitive.ShortMorpher
-
Returns the default value for this Morpher.
- getDimensions(Class) - Method in class net.sf.ezmorph.array.AbstractArrayMorpher
-
Returns the number of dimensions in an array class.
- getDynaClass() - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- getDynaProperties() - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- getDynaProperty(String) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- getDynaProperty(String) - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- getInstance() - Static method in class net.sf.ezmorph.object.ClassMorpher
-
Returns the singleton instance
- getInstance() - Static method in class net.sf.ezmorph.object.IdentityObjectMorpher
-
Returns the singleton instance
- getInstance() - Static method in class net.sf.ezmorph.object.StringMorpher
-
Returns the singleton instance
- getIntegerValue(Object) - Method in class net.sf.ezmorph.object.BigIntegerMorpher
-
Trims the String from the begining to the first "."
- getIntegerValue(Object) - Method in class net.sf.ezmorph.primitive.AbstractIntegerMorpher
-
Trims the String from the begining to the first "."
- getMorpherFor(Class) - Method in class net.sf.ezmorph.MorpherRegistry
-
Returns a morpher for clazz
.
If several morphers are found for that class, it returns the first.
- getMorpherRegistry() - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- getMorphersFor(Class) - Method in class net.sf.ezmorph.MorpherRegistry
-
Returns all morphers for clazz
.
If no Morphers are found it will return an array containing the
IdentityObjectMorpher.
- getName() - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- MapToDateMorpher - Class in net.sf.ezmorph.object
-
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.
- MapToDateMorpher() - Constructor for class net.sf.ezmorph.object.MapToDateMorpher
-
- MapToDateMorpher(Date) - Constructor for class net.sf.ezmorph.object.MapToDateMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.BooleanArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.BooleanObjectArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.ByteArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.CharacterObjectArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.CharArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.DoubleArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.FloatArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.IntArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.LongArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.ObjectArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.array.ShortArrayMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.bean.BeanMorpher
-
- morph(Class, Object) - Method in class net.sf.ezmorph.MorpherRegistry
-
Morphs and object to the specified target class.
This method uses reflection to invoke primitive Morphers and Morphers that
do not implement ObjectMorpher.
- morph(Object) - Method in class net.sf.ezmorph.object.BigDecimalMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.BigIntegerMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.BooleanObjectMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.CharacterObjectMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.ClassMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.DateMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.IdentityObjectMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.MapToDateMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.NumberMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.ObjectListMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.StringMorpher
-
- morph(Object) - Method in class net.sf.ezmorph.object.SwitchingMorpher
-
- morph(Object) - Method in interface net.sf.ezmorph.ObjectMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.BooleanMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.ByteMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.CharMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.DoubleMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.FloatMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.IntMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.LongMorpher
-
Morphs the input object into an output object of the supported type.
- morph(Object) - Method in class net.sf.ezmorph.primitive.ShortMorpher
-
Morphs the input object into an output object of the supported type.
- MorphDynaBean - Class in net.sf.ezmorph.bean
-
- MorphDynaBean() - Constructor for class net.sf.ezmorph.bean.MorphDynaBean
-
- MorphDynaBean(MorpherRegistry) - Constructor for class net.sf.ezmorph.bean.MorphDynaBean
-
- MorphDynaClass - Class in net.sf.ezmorph.bean
-
- MorphDynaClass(Map) - Constructor for class net.sf.ezmorph.bean.MorphDynaClass
-
- MorphDynaClass(Map, boolean) - Constructor for class net.sf.ezmorph.bean.MorphDynaClass
-
- MorphDynaClass(String, Class, Map) - Constructor for class net.sf.ezmorph.bean.MorphDynaClass
-
- MorphDynaClass(String, Class, Map, boolean) - Constructor for class net.sf.ezmorph.bean.MorphDynaClass
-
- Morpher - Interface in net.sf.ezmorph
-
Marker interface for morphers.
All implementations must have a morph( Object value )
method
that returns the appropiate morphed value.
- MorpherRegistry - Class in net.sf.ezmorph
-
Convenient class that manages Morphers.
A MorpherRehistry manages a group of Morphers.
- MorpherRegistry() - Constructor for class net.sf.ezmorph.MorpherRegistry
-
- MorphException - Exception in net.sf.ezmorph
-
A MorphException indicates that a call to
Morpher.morph()
has failed to complete successfully.
Based on common-beauntils ConversionException.
- MorphException(String) - Constructor for exception net.sf.ezmorph.MorphException
-
Construct a new exception with the specified message.
- MorphException(String, Throwable) - Constructor for exception net.sf.ezmorph.MorphException
-
Construct a new exception with the specified message and root cause.
- MorphException(Throwable) - Constructor for exception net.sf.ezmorph.MorphException
-
Construct a new exception with the specified root cause.
- morphsTo() - Method in class net.sf.ezmorph.array.BooleanArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.BooleanObjectArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.ByteArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.CharacterObjectArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.CharArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.DoubleArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.FloatArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.IntArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.LongArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.ObjectArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.array.ShortArrayMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.bean.BeanMorpher
-
- morphsTo() - Method in interface net.sf.ezmorph.Morpher
-
Returns the target Class for conversion.
- morphsTo() - Method in class net.sf.ezmorph.object.BigDecimalMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.BigIntegerMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.BooleanObjectMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.CharacterObjectMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.ClassMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.DateMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.IdentityObjectMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.MapToDateMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.NumberMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.ObjectListMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.StringMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.object.SwitchingMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.BooleanMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.ByteMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.CharMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.DoubleMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.FloatMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.IntMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.LongMorpher
-
- morphsTo() - Method in class net.sf.ezmorph.primitive.ShortMorpher
-
- MorphUtils - Class in net.sf.ezmorph
-
Covenient class for registering standard morphers to a ConvertRegistry.
N
- net.sf.ezmorph - package net.sf.ezmorph
- net.sf.ezmorph.array - package net.sf.ezmorph.array
-
Morphers for arrays.
- net.sf.ezmorph.bean - package net.sf.ezmorph.bean
-
Morphers for JavaBeans and DynaBeans.
- net.sf.ezmorph.object - package net.sf.ezmorph.object
-
Morphers for Object types.
- net.sf.ezmorph.primitive - package net.sf.ezmorph.primitive
-
Morphers for primitive types.
- net.sf.ezmorph.test - package net.sf.ezmorph.test
-
Assertions for testing array equiality.
- newInstance() - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- newInstance(MorpherRegistry) - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
- NumberMorpher - Class in net.sf.ezmorph.object
-
Morphs to a subclass of Number.
Supported types are - Byte, Short, Integer, Long, Float, BigInteger,
BigtDecimal.
- NumberMorpher(Class) - Constructor for class net.sf.ezmorph.object.NumberMorpher
-
Creates a new morpher for the target type.
- NumberMorpher(Class, Number) - Constructor for class net.sf.ezmorph.object.NumberMorpher
-
Creates a new morpher for the target type with a default value.
The defaultValue should be of the same class as the target type.
O
- ObjectArrayMorpher - Class in net.sf.ezmorph.array
-
Morphs an array to another array using a Morpher.
- ObjectArrayMorpher(Morpher) - Constructor for class net.sf.ezmorph.array.ObjectArrayMorpher
-
Creates a new ArrayMorpher which will use another Morpher for its inner
type.
The inner morpher can not morph to an array.
- ObjectListMorpher - Class in net.sf.ezmorph.object
-
Morphs a List to another List using a Morpher.
- ObjectListMorpher(Morpher) - Constructor for class net.sf.ezmorph.object.ObjectListMorpher
-
Creates a new ArrayMorpher which will use another Morpher for its inner
type.
The inner morpher can not morph to an array.
- ObjectListMorpher(Morpher, Object) - Constructor for class net.sf.ezmorph.object.ObjectListMorpher
-
- ObjectMorpher - Interface in net.sf.ezmorph
-
Marker interface for morphers that return an Object.
R
- registerMorpher(Morpher) - Method in class net.sf.ezmorph.MorpherRegistry
-
Register a Morpher for a target Class
.
The target class is the class this Morpher morphs to.
- registerMorpher(Morpher, boolean) - Method in class net.sf.ezmorph.MorpherRegistry
-
Register a Morpher for a target Class
.
The target class is the class this Morpher morphs to.
- registerStandardMorphers(MorpherRegistry) - Static method in class net.sf.ezmorph.MorphUtils
-
Clears and registers all standard morpehrs.
- registerStandardObjectArrayMorphers(MorpherRegistry) - Static method in class net.sf.ezmorph.MorphUtils
-
Registers morphers for arrays of wrappers and String with standard default
values.
Boolean - Boolean.FALSE
Character - new Character('\0')
Byte - new Byte( (byte)0 )
Short - new Short( (short)0 )
Integer - new Integer( 0 )
Long - new Long( 0 )
Float - new Float( 0 )
Double - new Double( 0 )
String - null
BigInteger - BigInteger.ZERO
BigDecimal - MorphUtils.BIGDECIMAL_ZERO
- registerStandardObjectMorphers(MorpherRegistry) - Static method in class net.sf.ezmorph.MorphUtils
-
Registers morphers for wrappers and String with standard default values.
Boolean - Boolean.FALSE
Character - new Character('\0')
Byte - new Byte( (byte)0 )
Short - new Short( (short)0 )
Integer - new Integer( 0 )
Long - new Long( 0 )
Float - new Float( 0 )
Double - new Double( 0 )
String - null
BigInteger - BigInteger.ZERO
BigDecimal - MorphUtils.BIGDECIMAL_ZERO
- registerStandardPrimitiveArrayMorphers(MorpherRegistry) - Static method in class net.sf.ezmorph.MorphUtils
-
Registers morphers for arrays of primitives with standard default values.
boolean - false
char - '\0'
byte - 0
short - 0
int - 0
long - 0
float - 0
double - 0
- registerStandardPrimitiveMorphers(MorpherRegistry) - Static method in class net.sf.ezmorph.MorphUtils
-
Registers morphers for primitives with standard default values.
boolean - false
char - '\0'
byte - 0
short - 0
int - 0
long - 0
float - 0
double - 0
- remove(String, String) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
S
- set(String, int, Object) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- set(String, Object) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- set(String, String, Object) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- setDefaultValue(Date) - Method in class net.sf.ezmorph.object.DateMorpher
-
Sets the defaultValue to use if the value to be morphed is null.
- setDefaultValue(Date) - Method in class net.sf.ezmorph.object.MapToDateMorpher
-
Sets the defaultValue to use if the value to be morphed is null.
- setDefaultValue(Number) - Method in class net.sf.ezmorph.object.NumberMorpher
-
Sets the defaultValue to use if the value to be morphed is null.
The defaultValue should be of the same class as the type this morpher
returns with morphsTo()
.
- setDynaBeanClass(MorphDynaClass) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- setMorpherRegistry(MorpherRegistry) - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- setUseDefault(boolean) - Method in class net.sf.ezmorph.array.AbstractArrayMorpher
-
Sets if this morpher will use a default value.
- setUseDefault(boolean) - Method in class net.sf.ezmorph.object.AbstractObjectMorpher
-
Sets if this morpher will use a default value.
- ShortArrayMorpher - Class in net.sf.ezmorph.array
-
Morphs an array to a short[].
- ShortArrayMorpher() - Constructor for class net.sf.ezmorph.array.ShortArrayMorpher
-
- ShortArrayMorpher(short) - Constructor for class net.sf.ezmorph.array.ShortArrayMorpher
-
- ShortMorpher - Class in net.sf.ezmorph.primitive
-
Morphs to a short.
- ShortMorpher() - Constructor for class net.sf.ezmorph.primitive.ShortMorpher
-
- ShortMorpher(short) - Constructor for class net.sf.ezmorph.primitive.ShortMorpher
-
- StringMorpher - Class in net.sf.ezmorph.object
-
Morphs to a String.
This morpher is a singleton.
- supports(Class) - Method in class net.sf.ezmorph.array.AbstractArrayMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.array.ObjectArrayMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.bean.BeanMorpher
-
- supports(Class) - Method in interface net.sf.ezmorph.Morpher
-
Returns true if the Morpher supports conversion from this Class.
- supports(Class) - Method in class net.sf.ezmorph.object.AbstractObjectMorpher
-
Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.
- supports(Class) - Method in class net.sf.ezmorph.object.ClassMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.DateMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.IdentityObjectMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.MapToDateMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.ObjectListMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.StringMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.object.SwitchingMorpher
-
- supports(Class) - Method in class net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
-
Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.
- SwitchingMorpher - Class in net.sf.ezmorph.object
-
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.
- SwitchingMorpher(Map, MorpherRegistry) - Constructor for class net.sf.ezmorph.object.SwitchingMorpher
-
T
- toString() - Method in class net.sf.ezmorph.bean.MorphDynaBean
-
- toString() - Method in class net.sf.ezmorph.bean.MorphDynaClass
-
A B C D E F G H I L M N O R S T
Copyright © 2006–2021. All rights reserved.