public interface StartDocument
开始文档事件的接口。
| 字段摘要 |
|---|
| 从接口 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 |
| 方法摘要 | |
|---|---|
boolean |
encodingSet() 如果在文档的编码声明中设置了 CharacterEncodingScheme,则返回 true。 |
String |
getCharacterEncodingScheme() 返回 XML 数据的编码样式 |
String |
getSystemId() 返回 XML 数据的系统 ID |
String |
getVersion() 返回此 XML 流的 XML 版本 |
boolean |
isStandalone() 如果此 XML 是独立的,则返回 true。 |
boolean |
standaloneSet() 如果在文档的编码声明中设置了单独属性,则返回 ture。 |
| 从接口 javax.xml.stream.events.XMLEvent 继承的方法 |
|---|
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()