public class DTDImpl extends XMLEventImpl implements DTD
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
DTDImpl(java.lang.String dtdTypeDecl) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDocumentTypeDeclaration() |
java.util.List |
getEntities() |
int |
getEventType() |
java.util.List |
getNotations() |
java.lang.Object |
getProcessedDTD() |
void |
writeAsEncodedUnicode(java.io.Writer writer) |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface DTD
public java.util.List getEntities()
getEntities
in interface DTD
public java.util.List getNotations()
getNotations
in interface DTD
public java.lang.Object getProcessedDTD()
getProcessedDTD
in interface DTD
public int getEventType()
getEventType
in interface XMLEvent
getEventType
in class XMLEventImpl
public void writeAsEncodedUnicode(java.io.Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class XMLEventImpl
XMLStreamException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object