javax.xml.stream.events

Interface StartDocument

public interface StartDocument extends XMLEvent

A start-document event.
Method Summary
booleanencodingSet()
Indicates whether the character encoding was set in the XML declaration.
StringgetCharacterEncodingScheme()
Returns the character encoding of the document.
StringgetSystemId()
Returns the system identifier of the document entity.
StringgetVersion()
Returns the XML version of the document.
booleanisStandalone()
Indicates whether the document is standalone.
booleanstandaloneSet()
Indicates whether the standalone parameter was set in the XML declaration.

Method Detail

encodingSet

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

getCharacterEncodingScheme

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

getSystemId

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

getVersion

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

isStandalone

public boolean isStandalone()
Indicates whether the document is standalone.

standaloneSet

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