コード例 #1
0
 /**
  * Method for disabling specified parser features (check {@link SmileParser.Feature} for list of
  * features)
  */
 public SmileFactory disable(SmileParser.Feature f) {
   _smileParserFeatures &= ~f.getMask();
   return this;
 }
コード例 #2
0
 /** Checked whether specified parser feature is enabled. */
 public final boolean isEnabled(SmileParser.Feature f) {
   return (_smileParserFeatures & f.getMask()) != 0;
 }
コード例 #3
0
 /**
  * Method for enabling specified parser feature (check {@link SmileParser.Feature} for list of
  * features)
  */
 public SmileFactory enable(SmileParser.Feature f) {
   _smileParserFeatures |= f.getMask();
   return this;
 }