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
public class DTDEvent extends AbstractXMLEvent implements DTD
DTDevent implementation.- Version:
- $Revision: 1.2 $
- Author:
- Christian Niles
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdeclarationThe full DTD declaration.protected ListentitiesThe list ofEntityDeclarations.protected ListnotationsThe list ofNotationDeclarations.-
Fields inherited from class javanet.staxutils.events.AbstractXMLEvent
location, schemaType
-
Fields 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDocumentTypeDeclaration()ListgetEntities()intgetEventType()ReturnsXMLStreamConstants.DTD.ListgetNotations()ObjectgetProcessedDTD()-
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, writeEvent
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
-
-
-
Field Detail
-
declaration
protected String declaration
The full DTD declaration.
-
entities
protected List entities
The list ofEntityDeclarations.
-
notations
protected List notations
The list ofNotationDeclarations.
-
-
Method Detail
-
getEventType
public int getEventType()
ReturnsXMLStreamConstants.DTD.- Specified by:
getEventTypein interfaceXMLEvent
-
getDocumentTypeDeclaration
public String getDocumentTypeDeclaration()
- Specified by:
getDocumentTypeDeclarationin interfaceDTD
-
getEntities
public List getEntities()
- Specified by:
getEntitiesin interfaceDTD
-
getNotations
public List getNotations()
- Specified by:
getNotationsin interfaceDTD
-
getProcessedDTD
public Object getProcessedDTD()
- Specified by:
getProcessedDTDin interfaceDTD
-
-