public class DTDEvent extends DummyEvent implements javax.xml.stream.events.DTD
fLocation
Constructor and Description |
---|
DTDEvent()
Creates a new instance of DTDEvent
|
DTDEvent(java.lang.String doctypeDeclaration) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentTypeDeclaration() |
java.util.List |
getEntities() |
java.util.List |
getNotations() |
java.lang.Object |
getProcessedDTD()
Returns an implementation defined representation of the DTD.
|
protected void |
init() |
void |
setDocumentTypeDeclaration(java.lang.String doctypeDeclaration) |
void |
setEntities(java.util.List entites) |
void |
setNotations(java.util.List notations) |
java.lang.String |
toString() |
protected void |
writeAsEncodedUnicodeEx(java.io.Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, 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 doctypeDeclaration)
public void setDocumentTypeDeclaration(java.lang.String doctypeDeclaration)
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface javax.xml.stream.events.DTD
public void setEntities(java.util.List entites)
public java.util.List getEntities()
getEntities
in interface javax.xml.stream.events.DTD
public void setNotations(java.util.List notations)
public java.util.List getNotations()
getNotations
in interface javax.xml.stream.events.DTD
public java.lang.Object getProcessedDTD()
getProcessedDTD
in interface javax.xml.stream.events.DTD
protected void init()
public java.lang.String toString()
toString
in class java.lang.Object
protected void writeAsEncodedUnicodeEx(java.io.Writer writer) throws java.io.IOException
DummyEvent
writeAsEncodedUnicodeEx
in class DummyEvent
writer
- The writer that will output the datajava.io.IOException
- if there is an IO errorCopyright ? 2002-2003 Apache XML Project. All Rights Reserved.