javax.xml.stream.events
Interface StartDocument

All Superinterfaces:
XMLEvent, XMLStreamConstants

public interface StartDocument
extends XMLEvent

A start-document event.


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
 
Method Summary
 boolean encodingSet()
          Indicates whether the character encoding was set in the XML declaration.
 String getCharacterEncodingScheme()
          Returns the character encoding of the document.
 String getSystemId()
          Returns the system identifier of the document entity.
 String getVersion()
          Returns the XML version of the document.
 boolean isStandalone()
          Indicates whether the document is standalone.
 boolean standaloneSet()
          Indicates whether the standalone parameter was set in the XML declaration.
 
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
 

Method Detail

getSystemId

String getSystemId()
Returns the system identifier of the document entity.


getCharacterEncodingScheme

String getCharacterEncodingScheme()
Returns the character encoding of the document.


encodingSet

boolean encodingSet()
Indicates whether the character encoding was set in the XML declaration.


isStandalone

boolean isStandalone()
Indicates whether the document is standalone.


standaloneSet

boolean standaloneSet()
Indicates whether the standalone parameter was set in the XML declaration.


getVersion

String getVersion()
Returns the XML version of the document.