net.sf.json.processors
Interface DefaultValueProcessor

All Known Implementing Classes:
DefaultDefaultValueProcessor

public interface DefaultValueProcessor

Defines the default value for a type when its value is null.

Author:
Andres Almiray

Method Summary
 Object getDefaultValue(Class type)
          Returns an appropriate default value for a type.
 

Method Detail

getDefaultValue

Object getDefaultValue(Class type)
Returns an appropriate default value for a type.

Parameters:
type -
Returns:
the default value for instances of type