com.sun.xml.fastinfoset.stax.events
public class DTDEvent extends EventBase implements javax.xml.stream.events.DTD
_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, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public DTDEvent()
public DTDEvent(java.lang.String dtd)
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface javax.xml.stream.events.DTD
public void setDTD(java.lang.String dtd)
public java.util.List getEntities()
getEntities
in interface javax.xml.stream.events.DTD
EntityDeclaration
public java.util.List getNotations()
getNotations
in interface javax.xml.stream.events.DTD
NotationDeclaration
public java.lang.Object getProcessedDTD()
getProcessedDTD
in interface javax.xml.stream.events.DTD
public void setEntities(java.util.List entites)
public void setNotations(java.util.List notations)
public java.lang.String toString()
toString
in class java.lang.Object