public DocumentImpl(boolean grammarAccess) { super(null); ownerDocument = this; allowGrammarAccess = grammarAccess;
public DocumentImpl() { this(false);
    public DocumentImpl(boolean grammarAccess) {        super(null);        ownerDocument = this;        allowGrammarAccess = grammarAccess;        // make sure the XMLCharacterProperties class is initilialized        XMLCharacterProperties.initCharFlags();    }