public class DTDEvent extends EventBase implements javax.xml.stream.events.DTD
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
_dtd |
private java.util.List |
_entities |
private java.util.List |
_notations |
_eventType, _location| Constructor and Description |
|---|
DTDEvent()
Creates a new instance of DTDEvent
|
DTDEvent(java.lang.String dtd) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocumentTypeDeclaration()
Returns the entire Document Type Declaration as a string, including
the internal DTD subset.
|
java.util.List |
getEntities()
Return a List containing the general entities,
both external and internal, declared in the DTD.
|
java.util.List |
getNotations()
Return a List containing the notations declared in the DTD.
|
java.lang.Object |
getProcessedDTD()
Returns an implementation defined representation of the DTD.
|
void |
setDTD(java.lang.String dtd) |
void |
setEntities(java.util.List entites) |
void |
setNotations(java.util.List notations) |
java.lang.String |
toString() |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprivate java.lang.String _dtd
private java.util.List _notations
private java.util.List _entities
public DTDEvent()
public DTDEvent(java.lang.String dtd)
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTDpublic void setDTD(java.lang.String dtd)
public java.util.List getEntities()
getEntities in interface javax.xml.stream.events.DTDEntityDeclarationpublic java.util.List getNotations()
getNotations in interface javax.xml.stream.events.DTDNotationDeclarationpublic java.lang.Object getProcessedDTD()
getProcessedDTD in interface javax.xml.stream.events.DTDpublic void setEntities(java.util.List entites)
public void setNotations(java.util.List notations)
public java.lang.String toString()
toString in class java.lang.Object