public class DTDEvent extends AbstractXMLEvent implements DTD
DTD
event implementation.Modifier and Type | Field and Description |
---|---|
protected String |
declaration
The full DTD declaration.
|
protected List |
entities
The list of
EntityDeclaration s. |
protected List |
notations
The list of
NotationDeclaration s. |
location, schemaType
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 |
---|
DTDEvent(DTD that)
Copy constructor.
|
DTDEvent(String declaration,
List entities,
List notations,
Location location) |
DTDEvent(String declaration,
Location location) |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentTypeDeclaration() |
List |
getEntities() |
int |
getEventType()
Returns
XMLStreamConstants.DTD . |
List |
getNotations() |
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 String declaration
protected List entities
EntityDeclaration
s.protected List notations
NotationDeclaration
s.public DTDEvent(DTD that)
public int getEventType()
XMLStreamConstants.DTD
.getEventType
in interface XMLEvent
public String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface DTD
public List getEntities()
getEntities
in interface DTD
public List getNotations()
getNotations
in interface DTD
public Object getProcessedDTD()
getProcessedDTD
in interface DTD