public interface FormatFeature
Note that this type is only implemented by non-JSON formats:
types JsonParser.Feature
and JsonGenerator.Feature
do NOT
implement it. This is to make it easier to avoid ambiguity with method
calls.
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) |
boolean enabledByDefault()
int getMask()
(1 << N)
boolean enabledIn(int flags)
Copyright © 2008–2017 FasterXML. All rights reserved.