INNER CODE UNIT · Java

disable

michel-kraemer/bson4jackson · src/main/java/de/undercouch/bson4jackson/BsonFactory.java:157

    public BsonFactory disable(BsonParser.Feature f) {
        _bsonParserFeatures &= ~f.getMask();
        return this;
    }

    /**
     * Checks whether a parser feature is enabled
     * @param f the feature to check for
     * @return true if the specified parser feature is enabled
     */
    public final boolean isEnabled(BsonParser.Feature f) {
        return (_bsonParserFeatures & f.getMask()) != 0;
    }

    /**
     * Sets the character escapes to use for generators created by this factory
     * @param esc the character escapes (may be null)
     */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…