return new StartDocumentEventImpl(loc, r);
public boolean equals(Object o) { if (o == this) return true; if (o == null) return false; if (!(o instanceof StartDocument)) return false; StartDocument other = (StartDocument) o; return (encodingSet() == other.encodingSet()) && (isStandalone() == other.isStandalone()) && (standaloneSet() == other.standaloneSet()) && stringsWithNullsEqual(getCharacterEncodingScheme(), other.getCharacterEncodingScheme()) && stringsWithNullsEqual(getSystemId(), other.getSystemId()) && stringsWithNullsEqual(getVersion(), other.getVersion()) ; }
public int hashCode() { int hash = 0; if (encodingSet()) ++hash; if (isStandalone()) --hash; if (standaloneSet()) hash ^= 1; if (mVersion != null) hash ^= mVersion.hashCode(); if (mEncodingScheme != null) hash ^= mEncodingScheme.hashCode(); if (mSystemId != null) hash ^= mSystemId.hashCode(); return hash; } }
@Override public StartDocument createStartDocument(String encoding) { return new StartDocumentEventImpl(mLocation, encoding); }
@Override public StartDocument createStartDocument(String encoding, String version, boolean standalone) { return new StartDocumentEventImpl(mLocation, encoding, version, true, standalone); }
@Override public StartDocument createStartDocument() { return new StartDocumentEventImpl(mLocation); }
@Override public StartDocument createStartDocument(String encoding, String version) { return new StartDocumentEventImpl(mLocation, encoding, version); }
return new StartDocumentEventImpl(loc, r);
return new StartDocumentEventImpl(loc, r);
return new StartDocumentEventImpl(loc, r);
return new StartDocumentEventImpl(loc, r);
return new StartDocumentEventImpl(loc, r);