net.sf.json.processors
Class DefaultDefaultValueProcessor
java.lang.Object
net.sf.json.processors.DefaultDefaultValueProcessor
- All Implemented Interfaces:
- DefaultValueProcessor
public class DefaultDefaultValueProcessor
- extends Object
- implements DefaultValueProcessor
Base implementation for DefaultDefaultValueProcessor.
- Author:
- Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDefaultValueProcessor
public DefaultDefaultValueProcessor()
getDefaultValue
public Object getDefaultValue(Class type)
- Description copied from interface:
DefaultValueProcessor
- Returns an appropriate default value for a type.
- Specified by:
getDefaultValue
in interface DefaultValueProcessor
- Returns:
- the default value for instances of type