public class DTDEvent extends AbstractXMLEvent implements javax.xml.stream.events.DTD
DTD event implementation.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
declaration
The full DTD declaration.
|
protected java.util.List |
entities
The list of
EntityDeclarations. |
protected java.util.List |
notations
The list of
NotationDeclarations. |
location, schemaType| Constructor and Description |
|---|
DTDEvent(javax.xml.stream.events.DTD that)
Copy constructor.
|
DTDEvent(java.lang.String declaration,
java.util.List entities,
java.util.List notations,
javax.xml.stream.Location location) |
DTDEvent(java.lang.String declaration,
javax.xml.stream.Location location) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocumentTypeDeclaration() |
java.util.List |
getEntities() |
int |
getEventType()
Returns
XMLStreamConstants.DTD. |
java.util.List |
getNotations() |
java.lang.Object |
getProcessedDTD() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected java.lang.String declaration
protected java.util.List entities
EntityDeclarations.protected java.util.List notations
NotationDeclarations.public DTDEvent(java.lang.String declaration,
javax.xml.stream.Location location)
public DTDEvent(java.lang.String declaration,
java.util.List entities,
java.util.List notations,
javax.xml.stream.Location location)
public DTDEvent(javax.xml.stream.events.DTD that)
public int getEventType()
XMLStreamConstants.DTD.getEventType in interface javax.xml.stream.events.XMLEventpublic java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTDpublic java.util.List getEntities()
getEntities in interface javax.xml.stream.events.DTDpublic java.util.List getNotations()
getNotations in interface javax.xml.stream.events.DTDpublic java.lang.Object getProcessedDTD()
getProcessedDTD in interface javax.xml.stream.events.DTD