Exemplo n.º 1
0
 /**
  * Method for disabling specified parser features (check {@link JsonParser.Feature} for list of
  * features)
  */
 public JsonFactory disable(JsonParser.Feature f) {
   _parserFeatures &= ~f.getMask();
   return this;
 }
Exemplo n.º 2
0
 /** Checked whether specified parser feature is enabled. */
 public final boolean isEnabled(JsonParser.Feature f) {
   return (_parserFeatures & f.getMask()) != 0;
 }
Exemplo n.º 3
0
 /**
  * Method for enabling specified parser feature (check {@link JsonParser.Feature} for list of
  * features)
  */
 public JsonFactory enable(JsonParser.Feature f) {
   _parserFeatures |= f.getMask();
   return this;
 }