com.fasterxml.jackson.core.util

Interface JacksonFeature

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean enabledByDefault()
      Accessor for checking whether this feature is enabled by default.
      boolean enabledIn(int flags)
      Convenience method for checking whether feature is enabled in given bitmask.
      int getMask()
      Returns bit mask for this feature instance; must be a single bit, that is of form 1 << N.
    • Method Detail

      • enabledByDefault

        boolean enabledByDefault()
        Accessor for checking whether this feature is enabled by default.
        Returns:
        Whether this instance is enabled by default or not
      • getMask

        int getMask()
        Returns bit mask for this feature instance; must be a single bit, that is of form 1 << N.
        Returns:
        Bit mask of this feature
      • enabledIn

        boolean enabledIn(int flags)
        Convenience method for checking whether feature is enabled in given bitmask.
        Parameters:
        flags - Bit field that contains a set of enabled features of this type
        Returns:
        True if this feature is enabled in passed bit field

Copyright © 2008–2024 FasterXML. All rights reserved.