/** Copy constructor. */ public DTDEvent(DTD that) { super(that); this.declaration = that.getDocumentTypeDeclaration(); this.entities = that.getEntities(); this.notations = that.getNotations(); }
public boolean equals(Object o) { if (! (o instanceof DTD)) return false; if (o == null) return false; if (this == o) return true; DTD dtd = (DTD) o; return getDocumentTypeDeclaration().equals(dtd.getDocumentTypeDeclaration()) && getEntities().equals(dtd.getEntities()) && getNotations().equals(dtd.getNotations()) && getProcessedDTD().equals(dtd.getProcessedDTD()); } }
case XMLStreamConstants.DTD: DTD dtd = (DTD) fCurrentEvent; processEntityDeclarations(dtd.getEntities()); if (fStAXValidatorHandler != null) { fStAXValidatorHandler.doctypeDecl(dtd);