com.bea.xml.stream.events
Class StartDocumentEvent

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

public class StartDocumentEvent
extends BaseEvent
implements StartDocument


Field Summary
protected  String encodingScheme
           
protected  String publicId
           
protected  boolean standalone
           
protected  String systemId
           
protected  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()
           
 String getCharacterEncodingScheme()
           
 String getSystemId()
           
 String getVersion()
           
protected  void init()
           
 boolean isStandalone()
           
 void setEncoding(String encoding)
           
 void setStandalone(boolean standalone)
           
 void setStandalone(String standalone)
           
 void setVersion(String version)
           
 boolean standaloneSet()
           
 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 String systemId

publicId

protected String publicId

encodingScheme

protected String encodingScheme

standalone

protected boolean standalone

version

protected String version
Constructor Detail

StartDocumentEvent

public StartDocumentEvent()
Method Detail

init

protected void init()

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface StartDocument
Overrides:
getSystemId in class BaseEvent

getCharacterEncodingScheme

public String getCharacterEncodingScheme()
Specified by:
getCharacterEncodingScheme in interface StartDocument

isStandalone

public boolean isStandalone()
Specified by:
isStandalone in interface StartDocument

getVersion

public String getVersion()
Specified by:
getVersion in interface StartDocument

setStandalone

public void setStandalone(boolean standalone)

setStandalone

public void setStandalone(String standalone)

encodingSet

public boolean encodingSet()
Specified by:
encodingSet in interface StartDocument

standaloneSet

public boolean standaloneSet()
Specified by:
standaloneSet in interface StartDocument

setEncoding

public void setEncoding(String encoding)

setVersion

public void setVersion(String version)

clear

public void clear()

toString

public String toString()


Copyright © 2004 . All Rights Reserved.