| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
XMLEventFactory eventFactory = …;
StartDocument startDocument = eventFactory.createStartDocument();
Based on 10 examples
public interface StartDocument extends XMLEvent
An interface for the start document event
Field Summary |
---|
Fields inherited from class 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 |
Returns true if CharacterEncodingScheme was set in the encoding declaration of the document |
String |
Returns the encoding style of the XML data |
String |
Returns the system ID of the XML data |
String |
Returns the version of XML of this XML stream |
boolean |
Returns if this XML is standalone |
boolean |
Returns true if the standalone attribute was set in the encoding declaration of the document. |
Methods inherited from class javax.xml.stream.events.XMLEvent |
---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
Method Detail |
---|
public boolean encodingSet()
public String getCharacterEncodingScheme()
public String getSystemId()
public String getVersion()
public boolean isStandalone()
public boolean standaloneSet()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |