javax.xml.stream.events
public interface StartDocument extends XMLEvent
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Modifier and Type | Method and Description |
---|---|
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.
|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
String getSystemId()
String getCharacterEncodingScheme()
boolean encodingSet()
boolean isStandalone()
boolean standaloneSet()
String getVersion()