Top Description Methods
tools.jackson.databind.cfg

public Interface ConfigFeature

Known Direct Implementers
tools.jackson.databind.DeserializationFeature, tools.jackson.databind.SerializationFeature

Interface that actual SerializationFeature enumerations used by MapperConfig implementations must implement. Necessary since enums cannot be extended using normal inheritance, but can implement interfaces

Method Summary

Modifier and TypeMethod and Description
public static <F extends Enum<F> & ConfigFeature> int
collectFeatureDefaults(Class<F> enumClass)

Method that calculates bit set (flags) of all features that are enabled by default.

public boolean
enabledByDefault()

Accessor for checking whether this feature is enabled by default.

public boolean
enabledIn(int flags)

Convenience method for checking whether feature is enabled in given bitmask

public int
getMask()

Returns bit mask for this feature instance

Method Detail

collectFeatureDefaultsback to summary
public static <F extends Enum<F> & ConfigFeature> int collectFeatureDefaults(Class<F> enumClass)

Method that calculates bit set (flags) of all features that are enabled by default.

enabledByDefaultback to summary
public boolean enabledByDefault()

Accessor for checking whether this feature is enabled by default.

enabledInback to summary
public boolean enabledIn(int flags)

Convenience method for checking whether feature is enabled in given bitmask

getMaskback to summary
public int getMask()

Returns bit mask for this feature instance