|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.xml.stream.events.BaseEvent
com.bea.xml.stream.events.StartDocumentEvent
public class StartDocumentEvent
| Field Summary | |
|---|---|
protected java.lang.String |
encodingScheme
|
protected java.lang.String |
publicId
|
protected boolean |
standalone
|
protected java.lang.String |
systemId
|
protected java.lang.String |
version
|
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
|---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Constructor Summary | |
|---|---|
StartDocumentEvent()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes. |
boolean |
encodingSet()
Returns true if CharacterEncodingScheme was set in the encoding declaration of the document |
java.lang.String |
getCharacterEncodingScheme()
Returns the encoding style of the XML data |
java.lang.String |
getSystemId()
Returns the system ID of the XML |
java.lang.String |
getVersion()
Returns the version of XML of this XML stream |
protected void |
init()
|
boolean |
isStandalone()
Returns if this XML is standalone |
void |
setEncoding(java.lang.String encoding)
|
void |
setStandalone(boolean standalone)
|
void |
setStandalone(java.lang.String standalone)
|
void |
setVersion(java.lang.String version)
|
boolean |
standaloneSet()
Returns true if the standalone attribute was set in the encoding declaration of the document. |
| Methods inherited from class com.bea.xml.stream.events.BaseEvent |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
|---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
| Field Detail |
|---|
protected java.lang.String systemId
protected java.lang.String publicId
protected java.lang.String encodingScheme
protected boolean standalone
protected java.lang.String version
| Constructor Detail |
|---|
public StartDocumentEvent()
| Method Detail |
|---|
protected void init()
public java.lang.String getSystemId()
javax.xml.stream.Location
getSystemId in interface javax.xml.stream.events.StartDocumentgetSystemId in interface javax.xml.stream.LocationgetSystemId in class BaseEventpublic java.lang.String getCharacterEncodingScheme()
javax.xml.stream.events.StartDocument
getCharacterEncodingScheme in interface javax.xml.stream.events.StartDocumentpublic boolean isStandalone()
javax.xml.stream.events.StartDocument
isStandalone in interface javax.xml.stream.events.StartDocumentpublic java.lang.String getVersion()
javax.xml.stream.events.StartDocument
getVersion in interface javax.xml.stream.events.StartDocumentpublic void setStandalone(boolean standalone)
public void setStandalone(java.lang.String standalone)
public boolean encodingSet()
javax.xml.stream.events.StartDocument
encodingSet in interface javax.xml.stream.events.StartDocumentpublic boolean standaloneSet()
javax.xml.stream.events.StartDocument
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
BaseEvent
doWriteAsEncodedUnicode in class BaseEventjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||