com.bea.xml.stream.events
public class StartDocumentEvent extends BaseEvent implements javax.xml.stream.events.StartDocument
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
encodingScheme |
protected java.lang.String |
publicId |
protected boolean |
standalone |
protected java.lang.String |
systemId |
protected java.lang.String |
version |
Constructor and Description |
---|
StartDocumentEvent() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes.
|
boolean |
encodingSet() |
java.lang.String |
getCharacterEncodingScheme() |
java.lang.String |
getSystemId() |
java.lang.String |
getVersion() |
protected void |
init() |
boolean |
isStandalone() |
void |
setEncoding(java.lang.String encoding) |
void |
setStandalone(boolean standalone) |
void |
setStandalone(java.lang.String standalone) |
void |
setVersion(java.lang.String version) |
boolean |
standaloneSet() |
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, 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 java.lang.String systemId
protected java.lang.String publicId
protected java.lang.String encodingScheme
protected boolean standalone
protected java.lang.String version
protected void init()
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.events.StartDocument
getSystemId
in interface javax.xml.stream.Location
getSystemId
in class BaseEvent
public java.lang.String getCharacterEncodingScheme()
getCharacterEncodingScheme
in interface javax.xml.stream.events.StartDocument
public boolean isStandalone()
isStandalone
in interface javax.xml.stream.events.StartDocument
public java.lang.String getVersion()
getVersion
in interface javax.xml.stream.events.StartDocument
public void setStandalone(boolean standalone)
public void setStandalone(java.lang.String standalone)
public boolean encodingSet()
encodingSet
in interface javax.xml.stream.events.StartDocument
public boolean standaloneSet()
standaloneSet
in interface javax.xml.stream.events.StartDocument
public void setEncoding(java.lang.String encoding)
public void setVersion(java.lang.String version)
public void clear()
protected void doWriteAsEncodedUnicode(java.io.Writer writer) throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode
in class BaseEvent
java.io.IOException