/** * 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; }
/** Checked whether specified parser feature is enabled. */ public final boolean isEnabled(SmileParser.Feature f) { return (_smileParserFeatures & f.getMask()) != 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; }