示例#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;
 }
示例#2
0
 /** Checked whether specified parser feature is enabled. */
 public final boolean isEnabled(JsonFactory.Feature f) {
   return (_factoryFeatures & f.getMask()) != 0;
 }
示例#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;
 }