net.sf.json.converter
Class AbstractPrimitiveConverter
java.lang.Object
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
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 |
AbstractPrimitiveConverter
public AbstractPrimitiveConverter()
AbstractPrimitiveConverter
public AbstractPrimitiveConverter(boolean useDefault)
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.