if (o == null)
return false;
if (this == o)
return true;
StartDocument start = (StartDocument) o;
if (getCharacterEncodingScheme() != null) {
if (! getCharacterEncodingScheme().equals
(start.getCharacterEncodingScheme()))
return false;
}
else if (start.getCharacterEncodingScheme() != null)
return false;
if (getSystemId() != null) {
if (! getSystemId().equals(start.getSystemId()))
return false;
}
else if (start.getSystemId() != null)
return false;
if (getVersion() != null) {
if (! getVersion().equals(start.getVersion()))
return false;
}
else if (start.getVersion() != null)
return false;
return encodingSet() == start.encodingSet() &&
isStandalone() == start.isStandalone() &&
standaloneSet() == start.standaloneSet();
}