/** * Method for disabling specified generator feature (check {@link JsonGenerator.Feature} for list * of features) */ public JsonFactory disable(JsonGenerator.Feature f) { _generatorFeatures &= ~f.getMask(); return this; }
/** Check whether specified generator feature is enabled. */ public final boolean isEnabled(JsonGenerator.Feature f) { return (_generatorFeatures & f.getMask()) != 0; }
/** * Method for enabling specified generator features (check {@link JsonGenerator.Feature} for list * of features) */ public JsonFactory enable(JsonGenerator.Feature f) { _generatorFeatures |= f.getMask(); return this; }