com.bea.xml.stream.events

Class StartDocumentEvent

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

public class StartDocumentEvent
extends BaseEvent
implements javax.xml.stream.events.StartDocument

Field Summary

protected String
encodingScheme
protected String
publicId
protected boolean
standalone
protected String
systemId
protected String
version

Constructor Summary

StartDocumentEvent()

Method Summary

void
clear()
protected void
doWriteAsEncodedUnicode(java.io.Writer writer)
boolean
encodingSet()
String
getCharacterEncodingScheme()
String
getSystemId()
String
getVersion()
protected void
init()
boolean
isStandalone()
void
setEncoding(String encoding)
void
setStandalone(String standalone)
void
setStandalone(boolean standalone)
void
setVersion(String version)
boolean
standaloneSet()

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

Field Details

encodingScheme

protected String encodingScheme

publicId

protected String publicId

standalone

protected boolean standalone

systemId

protected String systemId

version

protected String version

Constructor Details

StartDocumentEvent

public StartDocumentEvent()

Method Details

clear

public void clear()

doWriteAsEncodedUnicode

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

encodingSet

public boolean encodingSet()
Specified by:
encodingSet in interface javax.xml.stream.events.StartDocument

getCharacterEncodingScheme

public String getCharacterEncodingScheme()
Specified by:
getCharacterEncodingScheme in interface javax.xml.stream.events.StartDocument

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface javax.xml.stream.events.StartDocument
getSystemId in interface javax.xml.stream.Location
Overrides:
getSystemId in interface BaseEvent

getVersion

public String getVersion()
Specified by:
getVersion in interface javax.xml.stream.events.StartDocument

init

protected void init()

isStandalone

public boolean isStandalone()
Specified by:
isStandalone in interface javax.xml.stream.events.StartDocument

setEncoding

public void setEncoding(String encoding)

setStandalone

public void setStandalone(String standalone)

setStandalone

public void setStandalone(boolean standalone)

setVersion

public void setVersion(String version)

standaloneSet

public boolean standaloneSet()
Specified by:
standaloneSet in interface javax.xml.stream.events.StartDocument