org.codehaus.jackson.map.ser
Class JdkSerializers

java.lang.Object
  extended by org.codehaus.jackson.map.ser.JdkSerializers
All Implemented Interfaces:
Provider<Map.Entry<Class<?>,JsonSerializer<?>>>

public class JdkSerializers
extends Object
implements Provider<Map.Entry<Class<?>,JsonSerializer<?>>>

Class used for namespacing and to contain serializers for misc JDK types that can not use regular ToStringSerializer or such


Nested Class Summary
static class JdkSerializers.ClassSerializer
          Also: default bean access will not do much good with Class.class.
static class JdkSerializers.FileSerializer
          For now, File objects get serialized by just outputting absolute (but not canonical) name as String value
 
Constructor Summary
JdkSerializers()
           
 
Method Summary
 Collection<Map.Entry<Class<?>,JsonSerializer<?>>> provide()
          Method called by BasicSerializerFactory to access all serializers this class provides.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdkSerializers

public JdkSerializers()
Method Detail

provide

public Collection<Map.Entry<Class<?>,JsonSerializer<?>>> provide()
Method called by BasicSerializerFactory to access all serializers this class provides.

Specified by:
provide in interface Provider<Map.Entry<Class<?>,JsonSerializer<?>>>