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
EntityDeclaration s. |
protected java.util.List |
notations
The list of
NotationDeclaration s. |
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, writeEvent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected java.lang.String declaration
protected java.util.List entities
EntityDeclaration
s.protected java.util.List notations
NotationDeclaration
s.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.XMLEvent
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface javax.xml.stream.events.DTD
public java.util.List getEntities()
getEntities
in interface javax.xml.stream.events.DTD
public java.util.List getNotations()
getNotations
in interface javax.xml.stream.events.DTD
public java.lang.Object getProcessedDTD()
getProcessedDTD
in interface javax.xml.stream.events.DTD