net.sf.json.converter
Class AbstractPrimitiveConverter

java.lang.Object
  extended by net.sf.json.converter.AbstractPrimitiveConverter
All Implemented Interfaces:
Converter
Direct Known Subclasses:
AbstractDecimalConverter, AbstractIntegerConverter, BooleanConverter, CharConverter

public abstract class AbstractPrimitiveConverter
extends java.lang.Object
implements Converter

Base class for primitive value conversion.

Author:
Andres Almiray

Constructor Summary
AbstractPrimitiveConverter()
           
AbstractPrimitiveConverter(boolean useDefault)
           
 
Method Summary
 boolean isDecimal(java.lang.Class type)
          If the class type represents a decimal.
 boolean isInteger(java.lang.Class type)
          If the class type represents an integer.
 boolean isUseDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPrimitiveConverter

public AbstractPrimitiveConverter()

AbstractPrimitiveConverter

public AbstractPrimitiveConverter(boolean useDefault)
Method Detail

isDecimal

public boolean isDecimal(java.lang.Class type)
If the class type represents a decimal.


isInteger

public boolean isInteger(java.lang.Class type)
If the class type represents an integer.


isUseDefault

public boolean isUseDefault()


Copyright © 2006 null. All Rights Reserved.