Package javanet.staxutils.events
Class DTDEvent
java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.DTDEvent
- All Implemented Interfaces:
Serializable,Cloneable,ExtendedXMLEvent,DTD,XMLEvent,XMLStreamConstants
DTD event implementation.- Version:
- $Revision: 1.2 $
- Author:
- Christian Niles
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe full DTD declaration.protected ListThe list ofEntityDeclarations.protected ListThe list ofNotationDeclarations.Fields inherited from class javanet.staxutils.events.AbstractXMLEvent
location, schemaTypeFields 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
Constructors -
Method Summary
Methods inherited from class javanet.staxutils.events.AbstractXMLEvent
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
declaration
The full DTD declaration. -
entities
The list ofEntityDeclarations. -
notations
The list ofNotationDeclarations.
-
-
Constructor Details
-
DTDEvent
-
DTDEvent
-
DTDEvent
Copy constructor.
-
-
Method Details
-
getEventType
public int getEventType()ReturnsXMLStreamConstants.DTD.- Specified by:
getEventTypein interfaceXMLEvent
-
getDocumentTypeDeclaration
- Specified by:
getDocumentTypeDeclarationin interfaceDTD
-
getEntities
- Specified by:
getEntitiesin interfaceDTD
-
getNotations
- Specified by:
getNotationsin interfaceDTD
-
getProcessedDTD
- Specified by:
getProcessedDTDin interfaceDTD
-