com.bea.xml.stream.events
public class DTDEvent extends BaseEvent implements javax.xml.stream.events.DTD
Constructor and Description |
---|
DTDEvent() |
DTDEvent(java.lang.String dtd) |
Modifier and Type | Method and 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, 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
protected 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.DTD
public java.lang.String getDocumentTypeDeclaration()
getDocumentTypeDeclaration
in interface javax.xml.stream.events.DTD
public java.util.List getEntities()
getEntities
in interface javax.xml.stream.events.DTD
public java.util.List getNotations()
getNotations
in interface javax.xml.stream.events.DTD
protected void doWriteAsEncodedUnicode(java.io.Writer writer) throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode
in class BaseEvent
java.io.IOException