com.bea.xml.stream.events
Class StartDocumentEvent

java.lang.Object
  extended by com.bea.xml.stream.events.BaseEvent
      extended by com.bea.xml.stream.events.StartDocumentEvent
All Implemented Interfaces:
javax.xml.stream.events.StartDocument, javax.xml.stream.events.XMLEvent, javax.xml.stream.Location, javax.xml.stream.XMLStreamConstants

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


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()
           
 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()
           
 java.lang.String toString()
           
 
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, 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

systemId

protected java.lang.String systemId

publicId

protected java.lang.String publicId

encodingScheme

protected java.lang.String encodingScheme

standalone

protected boolean standalone

version

protected java.lang.String version
Constructor Detail

StartDocumentEvent

public StartDocumentEvent()
Method Detail

init

protected void init()

getSystemId

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

getCharacterEncodingScheme

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

isStandalone

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

getVersion

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

setStandalone

public void setStandalone(boolean standalone)

setStandalone

public void setStandalone(java.lang.String standalone)

encodingSet

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

standaloneSet

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

setEncoding

public void setEncoding(java.lang.String encoding)

setVersion

public void setVersion(java.lang.String version)

clear

public void clear()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object