Package net.sf.ezmorph.object
Class AbstractObjectMorpher
- java.lang.Object
-
- net.sf.ezmorph.object.AbstractObjectMorpher
-
- All Implemented Interfaces:
Morpher,ObjectMorpher
- Direct Known Subclasses:
BigDecimalMorpher,BigIntegerMorpher,BooleanObjectMorpher,CharacterObjectMorpher,DateMorpher,MapToDateMorpher,NumberMorpher,ObjectListMorpher
public abstract class AbstractObjectMorpher extends java.lang.Object implements ObjectMorpher
Base class for ObjectMorpher implementations.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanuseDefault
-
Constructor Summary
Constructors Constructor Description AbstractObjectMorpher()AbstractObjectMorpher(boolean useDefault)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUseDefault()Returns if this morpher will use a default value.voidsetUseDefault(boolean useDefault)Sets if this morpher will use a default value.booleansupports(java.lang.Class clazz)Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.ezmorph.ObjectMorpher
morph
-
-
-
-
Method Detail
-
isUseDefault
public boolean isUseDefault()
Returns if this morpher will use a default value.
-
setUseDefault
public void setUseDefault(boolean useDefault)
Sets if this morpher will use a default value.
-
supports
public boolean supports(java.lang.Class clazz)
Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.
-
-