org.codehaus.jackson.map.ext

## Class OptionalHandlerFactory

- java.lang.Object
- - org.codehaus.jackson.map.ext.OptionalHandlerFactory

-     public class OptionalHandlerFactory
      extends Object

  Helper class used for isolating details of handling optional+external types (Joda datetime, javax.xml classes) from standard factories that offer them.
  Since:
    1.6.1
  Author:
    tatu

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static OptionalHandlerFactory` | `instance`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `OptionalHandlerFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JsonDeserializer<?>` | `findDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider p)`
    `JsonSerializer<?>` | `findSerializer(SerializationConfig config, JavaType type)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### instance

          public static final OptionalHandlerFactory instance

  - ### Constructor Detail

    - #### OptionalHandlerFactory

          protected OptionalHandlerFactory()

  - ### Method Detail

    - #### findSerializer

          public JsonSerializer<?> findSerializer(SerializationConfig config,
                                         JavaType type)

    - #### findDeserializer

          public JsonDeserializer<?> findDeserializer(JavaType type,
                                             DeserializationConfig config,
                                             DeserializerProvider p)