javax.xml.stream.events.DTD, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class DTDEvent extends EventBase implements javax.xml.stream.events.DTD
_eventType, _location| Constructor | Description |
|---|---|
DTDEvent() |
Creates a new instance of DTDEvent
|
DTDEvent(java.lang.String dtd) |
| Modifier and Type | Method | 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, writeAsEncodedUnicodepublic 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.ObjectCopyright © 2018 Oracle Corporation. All rights reserved.