de.undercouch.bson4jackson
Class BsonModule

java.lang.Object
  extended by com.fasterxml.jackson.databind.Module
      extended by de.undercouch.bson4jackson.BsonModule
All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned

public class BsonModule
extends com.fasterxml.jackson.databind.Module

Module that configures Jackson to be able to correctly handle all BSON types

Since:
1.3

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.Module
com.fasterxml.jackson.databind.Module.SetupContext
 
Constructor Summary
BsonModule()
           
 
Method Summary
 java.lang.String getModuleName()
           
 void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
           
 com.fasterxml.jackson.core.Version version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BsonModule

public BsonModule()
Method Detail

getModuleName

public java.lang.String getModuleName()
Specified by:
getModuleName in class com.fasterxml.jackson.databind.Module

version

public com.fasterxml.jackson.core.Version version()
Specified by:
version in interface com.fasterxml.jackson.core.Versioned
Specified by:
version in class com.fasterxml.jackson.databind.Module

setupModule

public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
Specified by:
setupModule in class com.fasterxml.jackson.databind.Module