|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ezmorph.primitive.AbstractPrimitiveMorpher
public abstract class AbstractPrimitiveMorpher
Base class for primitive value conversion.
Constructor Summary | |
---|---|
AbstractPrimitiveMorpher()
|
|
AbstractPrimitiveMorpher(boolean useDefault)
|
Method Summary | |
---|---|
boolean |
isUseDefault()
Returns if this morpher will use a default value if the value to be morphed is null |
boolean |
supports(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.Morpher |
---|
morphsTo |
Constructor Detail |
---|
public AbstractPrimitiveMorpher()
public AbstractPrimitiveMorpher(boolean useDefault)
useDefault
- if morph() should return a default value if the value to
be morphed is nullMethod Detail |
---|
public boolean isUseDefault()
public boolean supports(java.lang.Class clazz)
supports
in interface Morpher
clazz
- the source Class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |