javax.xml.stream.events.DTD, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class DTDEvent extends BaseEvent implements javax.xml.stream.events.DTD
| Constructor | Description |
|---|---|
DTDEvent() |
|
DTDEvent(java.lang.String dtd) |
| Modifier and Type | Method | Description |
|---|---|---|
static javax.xml.stream.events.EntityDeclaration |
createEntityDeclaration(com.wutka.dtd.DTDEntity dtdEntity) |
|
static javax.xml.stream.events.NotationDeclaration |
createNotationDeclaration(com.wutka.dtd.DTDNotation dtdNotation) |
|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer) |
Template method to be implemented by sub-classes.
|
java.lang.String |
getDocumentTypeDeclaration() |
|
java.util.List |
getEntities() |
|
java.util.List |
getNotations() |
|
java.lang.Object |
getProcessedDTD() |
|
protected void |
init() |
|
void |
setDTD(java.lang.String dtd) |
|
void |
setEntities(java.util.List l) |
|
void |
setNotations(java.util.List l) |
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, toString, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected void init()
public static javax.xml.stream.events.EntityDeclaration createEntityDeclaration(com.wutka.dtd.DTDEntity dtdEntity)
public static javax.xml.stream.events.NotationDeclaration createNotationDeclaration(com.wutka.dtd.DTDNotation dtdNotation)
public void setDTD(java.lang.String dtd)
public void setNotations(java.util.List l)
public void setEntities(java.util.List l)
public java.lang.Object getProcessedDTD()
getProcessedDTD in interface javax.xml.stream.events.DTDpublic java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTDpublic java.util.List getEntities()
getEntities in interface javax.xml.stream.events.DTDpublic java.util.List getNotations()
getNotations in interface javax.xml.stream.events.DTDprotected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException