com.caucho.xml.stream.events
Class DTDImpl
java.lang.Object
com.caucho.xml.stream.events.XMLEventImpl
com.caucho.xml.stream.events.DTDImpl
- All Implemented Interfaces:
- DTD, XMLEvent, XMLStreamConstants
public class DTDImpl
- extends XMLEventImpl
- implements DTD
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Constructor Summary |
DTDImpl(java.lang.String dtdTypeDecl)
|
Methods inherited from class com.caucho.xml.stream.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
DTDImpl
public DTDImpl(java.lang.String dtdTypeDecl)
getDocumentTypeDeclaration
public java.lang.String getDocumentTypeDeclaration()
- Specified by:
getDocumentTypeDeclaration
in interface DTD
getEntities
public java.util.List getEntities()
- Specified by:
getEntities
in interface DTD
getNotations
public java.util.List getNotations()
- Specified by:
getNotations
in interface DTD
getProcessedDTD
public java.lang.Object getProcessedDTD()
- Specified by:
getProcessedDTD
in interface DTD
getEventType
public int getEventType()
- Specified by:
getEventType
in interface XMLEvent
- Specified by:
getEventType
in class XMLEventImpl
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Specified by:
writeAsEncodedUnicode
in class XMLEventImpl
- Throws:
XMLStreamException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object