public interface Result
实现此接口的对象包含生成转换结果树所需的信息。
Modifier and Type | Field and Description |
---|---|
static String |
PI_DISABLE_OUTPUT_ESCAPING
如果结果树禁用输出的处理指令,则发送的处理指令的名称。
|
static String |
PI_ENABLE_OUTPUT_ESCAPING
的处理指令,如果结果树使输出转义在某些时候收到一pi_disable_output_escaping处理指令后发送的名字。
|
Modifier and Type | Method and Description |
---|---|
String |
getSystemId()
得到系统的标识符,是集setsystemid。
|
void |
setSystemId(String systemId)
为这个结果设置系统标识符。
|
static final String PI_DISABLE_OUTPUT_ESCAPING
通常情况下,当输出文本节点时,结果树的序列化和<(以及可能的其他字符)。这将确保输出是形成良好的XML。然而,它有时是方便的,能够产生几乎是,但不是很好形成的XML的输出,例如,输出可能包括不成立的部分,将转化成形成良好的XML由随后的非XML感知的过程。如果一个处理指令被发送这个名称,序列化应该输出没有任何逃脱。
结果DOM树也有pi_disable_output_escaping和pi_enable_output_escaping插入树。
static final String PI_ENABLE_OUTPUT_ESCAPING
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.