FileDocCategorySizeDatePackage
StartDocument.javaAPI DocJava SE 6 API1169Tue Jun 10 00:27:10 BST 2008javax.xml.stream.events

StartDocument

public interface StartDocument implements XMLEvent
An interface for the start document event
version
1.0
author
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public booleanencodingSet()
Returns true if CharacterEncodingScheme was set in the encoding declaration of the document

public java.lang.StringgetCharacterEncodingScheme()
Returns the encoding style of the XML data

return
the character encoding, defaults to "UTF-8"

public java.lang.StringgetSystemId()
Returns the system ID of the XML data

return
the system ID, defaults to ""

public java.lang.StringgetVersion()
Returns the version of XML of this XML stream

return
the version of XML, defaults to "1.0"

public booleanisStandalone()
Returns if this XML is standalone

return
the standalone state of XML, defaults to "no"

public booleanstandaloneSet()
Returns true if the standalone attribute was set in the encoding declaration of the document.