javax.xml.stream.events.StartDocument, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class StartDocumentEvent extends BaseEvent implements javax.xml.stream.events.StartDocument
| Modifier and Type | Field | 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 | Description |
|---|---|
StartDocumentEvent() |
| Modifier and Type | Method | 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, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected 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.StartDocumentgetSystemId in class BaseEventpublic java.lang.String getCharacterEncodingScheme()
getCharacterEncodingScheme in interface javax.xml.stream.events.StartDocumentpublic boolean isStandalone()
isStandalone in interface javax.xml.stream.events.StartDocumentpublic java.lang.String getVersion()
getVersion in interface javax.xml.stream.events.StartDocumentpublic void setStandalone(boolean standalone)
public void setStandalone(java.lang.String standalone)
public boolean encodingSet()
encodingSet in interface javax.xml.stream.events.StartDocumentpublic boolean standaloneSet()
standaloneSet in interface javax.xml.stream.events.StartDocumentpublic 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
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException