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
EntityDeclarations. |
protected List |
notations
The list of
NotationDeclarations. |
location, schemaTypeATTRIBUTE, 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, writeEventequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected String declaration
protected List entities
EntityDeclarations.protected List notations
NotationDeclarations.public DTDEvent(DTD that)
public int getEventType()
XMLStreamConstants.DTD.getEventType in interface XMLEventpublic String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface DTDpublic List getEntities()
getEntities in interface DTDpublic List getNotations()
getNotations in interface DTDpublic Object getProcessedDTD()
getProcessedDTD in interface DTDCopyright © 2018. All rights reserved.