com.fasterxml.jackson.module.hibernate
Class HibernateModule

java.lang.Object
  extended by org.codehaus.jackson.map.Module
      extended by com.fasterxml.jackson.module.hibernate.HibernateModule
All Implemented Interfaces:
org.codehaus.jackson.Versioned

public class HibernateModule
extends org.codehaus.jackson.map.Module


Nested Class Summary
static class HibernateModule.Feature
          Enumeration that defines all togglable features this module
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.Module
org.codehaus.jackson.map.Module.SetupContext
 
Field Summary
protected  int _moduleFeatures
          Bit flag composed of bits that indicate which HibernateModule.Features are enabled.
protected static int DEFAULT_FEATURES
           
 
Constructor Summary
HibernateModule()
           
 
Method Summary
protected  org.codehaus.jackson.map.AnnotationIntrospector annotationIntrospector()
          Method called during setupModule(org.codehaus.jackson.map.Module.SetupContext), to create AnnotationIntrospector to register along with module.
 HibernateModule configure(HibernateModule.Feature f, boolean state)
           
 HibernateModule disable(HibernateModule.Feature f)
           
 HibernateModule enable(HibernateModule.Feature f)
           
 String getModuleName()
           
 boolean isEnabled(HibernateModule.Feature f)
           
 void setupModule(org.codehaus.jackson.map.Module.SetupContext context)
           
 org.codehaus.jackson.Version version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FEATURES

protected static final int DEFAULT_FEATURES

_moduleFeatures

protected int _moduleFeatures
Bit flag composed of bits that indicate which HibernateModule.Features are enabled.

Constructor Detail

HibernateModule

public HibernateModule()
Method Detail

getModuleName

public String getModuleName()
Specified by:
getModuleName in class org.codehaus.jackson.map.Module

version

public org.codehaus.jackson.Version version()
Specified by:
version in interface org.codehaus.jackson.Versioned
Specified by:
version in class org.codehaus.jackson.map.Module

setupModule

public void setupModule(org.codehaus.jackson.map.Module.SetupContext context)
Specified by:
setupModule in class org.codehaus.jackson.map.Module

annotationIntrospector

protected org.codehaus.jackson.map.AnnotationIntrospector annotationIntrospector()
Method called during setupModule(org.codehaus.jackson.map.Module.SetupContext), to create AnnotationIntrospector to register along with module. If null is returned, no introspector is added.


enable

public HibernateModule enable(HibernateModule.Feature f)

disable

public HibernateModule disable(HibernateModule.Feature f)

isEnabled

public final boolean isEnabled(HibernateModule.Feature f)

configure

public HibernateModule configure(HibernateModule.Feature f,
                                 boolean state)


Copyright © 2011 fasterxml.com. All Rights Reserved.