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