com.bea.xml.stream.events

Class DTDEvent

Implemented Interfaces:
javax.xml.stream.events.DTD, javax.xml.stream.Location, javax.xml.stream.events.XMLEvent

public class DTDEvent
extends BaseEvent
implements javax.xml.stream.events.DTD

Constructor Summary

DTDEvent()
DTDEvent(String dtd)

Method Summary

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)
String
getDocumentTypeDeclaration()
List
getEntities()
List
getNotations()
Object
getProcessedDTD()
protected void
init()
void
setDTD(String dtd)
void
setEntities(List l)
void
setNotations(List l)

Methods inherited from class com.bea.xml.stream.events.BaseEvent

asCharacters, asEndElement, asStartElement, doWriteAsEncodedUnicode, 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

Constructor Details

DTDEvent

public DTDEvent()

DTDEvent

public DTDEvent(String dtd)

Method Details

createEntityDeclaration

public static javax.xml.stream.events.EntityDeclaration createEntityDeclaration(com.wutka.dtd.DTDEntity dtdEntity)

createNotationDeclaration

public static javax.xml.stream.events.NotationDeclaration createNotationDeclaration(com.wutka.dtd.DTDNotation dtdNotation)

doWriteAsEncodedUnicode

protected void doWriteAsEncodedUnicode(java.io.Writer writer)
            throws java.io.IOException

getDocumentTypeDeclaration

public String getDocumentTypeDeclaration()
Specified by:
getDocumentTypeDeclaration in interface javax.xml.stream.events.DTD

getEntities

public List getEntities()
Specified by:
getEntities in interface javax.xml.stream.events.DTD

getNotations

public List getNotations()
Specified by:
getNotations in interface javax.xml.stream.events.DTD

getProcessedDTD

public Object getProcessedDTD()
Specified by:
getProcessedDTD in interface javax.xml.stream.events.DTD

init

protected void init()

setDTD

public void setDTD(String dtd)

setEntities

public void setEntities(List l)

setNotations

public void setNotations(List l)