net.sf.ezmorph.primitive
Class AbstractPrimitiveMorpher

java.lang.Object
  extended by net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
All Implemented Interfaces:
Morpher
Direct Known Subclasses:
AbstractDecimalMorpher, AbstractIntegerMorpher, BooleanMorpher, CharMorpher

public abstract class AbstractPrimitiveMorpher
extends java.lang.Object
implements Morpher

Base class for primitive value conversion.

Author:
Andres Almiray

Constructor Summary
AbstractPrimitiveMorpher()
           
AbstractPrimitiveMorpher(boolean useDefault)
           
 
Method Summary
 boolean isUseDefault()
          Returns if this morpher will use a default value.
 boolean supports(java.lang.Class clazz)
           Returns true if the Morpher supports conversion from this Class.
 
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

AbstractPrimitiveMorpher

public AbstractPrimitiveMorpher()

AbstractPrimitiveMorpher

public AbstractPrimitiveMorpher(boolean useDefault)
Method Detail

isUseDefault

public boolean isUseDefault()
Returns if this morpher will use a default value.


supports

public boolean supports(java.lang.Class clazz)
Description copied from interface: Morpher

Returns true if the Morpher supports conversion from this Class.

Specified by:
supports in interface Morpher
Parameters:
clazz - the source Class
Returns:
true if clazz is supported by this morpher, false otherwise.


Copyright © 2006 null. All Rights Reserved.