com.caucho.xml.stream.events
Class StartDocumentImpl

java.lang.Object
  extended by com.caucho.xml.stream.events.XMLEventImpl
      extended by com.caucho.xml.stream.events.StartDocumentImpl
All Implemented Interfaces:
StartDocument, XMLEvent, XMLStreamConstants

public class StartDocumentImpl
extends XMLEventImpl
implements StartDocument


Field Summary
 
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
StartDocumentImpl()
           
StartDocumentImpl(boolean encodingSet, java.lang.String characterEncodingScheme, java.lang.String systemId, java.lang.String version, boolean isStandalone, boolean standaloneSet)
           
 
Method Summary
 boolean encodingSet()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getCharacterEncodingScheme()
           
 int getEventType()
           
 java.lang.String getSystemId()
           
 java.lang.String getVersion()
           
 boolean isStandalone()
           
 boolean standaloneSet()
           
 java.lang.String toString()
           
 void writeAsEncodedUnicode(java.io.Writer writer)
           
 
Methods inherited from class com.caucho.xml.stream.events.XMLEventImpl
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
 

Constructor Detail

StartDocumentImpl

public StartDocumentImpl()

StartDocumentImpl

public StartDocumentImpl(boolean encodingSet,
                         java.lang.String characterEncodingScheme,
                         java.lang.String systemId,
                         java.lang.String version,
                         boolean isStandalone,
                         boolean standaloneSet)
Method Detail

encodingSet

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

getCharacterEncodingScheme

public java.lang.String getCharacterEncodingScheme()
Specified by:
getCharacterEncodingScheme in interface StartDocument

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface StartDocument

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface StartDocument

isStandalone

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

standaloneSet

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

getEventType

public int getEventType()
Specified by:
getEventType in interface XMLEvent
Specified by:
getEventType in class XMLEventImpl

writeAsEncodedUnicode

public void writeAsEncodedUnicode(java.io.Writer writer)
                           throws XMLStreamException
Specified by:
writeAsEncodedUnicode in interface XMLEvent
Specified by:
writeAsEncodedUnicode in class XMLEventImpl
Throws:
XMLStreamException

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object