public static enum DOMOutputOptions.ErrorOutputOptions extends java.lang.Enum<DOMOutputOptions.ErrorOutputOptions>
InputErrors in the resulting
DOM.| 枚举常量和说明 |
|---|
NO_OUTPUT
No error information is appended to the DOM.
|
XHTML
Each error is marked up as an XHTML
div element associated to the error
CSS class. |
XML_FULL
Full error information is appended to the DOM as a text XML element containing the error
code (as an attribute) plus full textual information of the error's location.
|
XML_SHORT
Basic error information is appended to the DOM as an empty XML element containing just the
error code.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DOMOutputOptions.ErrorOutputOptions |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DOMOutputOptions.ErrorOutputOptions[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DOMOutputOptions.ErrorOutputOptions NO_OUTPUT
SnuggleSession.getErrors().)public static final DOMOutputOptions.ErrorOutputOptions XML_SHORT
public static final DOMOutputOptions.ErrorOutputOptions XML_FULL
public static final DOMOutputOptions.ErrorOutputOptions XHTML
div element associated to the error
CSS class.
Errors occurring inside MathML expressions will be represented by a merror
placeholder, with a full XHTML element appended immediately after the MathML.
public static DOMOutputOptions.ErrorOutputOptions[] values()
for (DOMOutputOptions.ErrorOutputOptions c : DOMOutputOptions.ErrorOutputOptions.values()) System.out.println(c);
public static DOMOutputOptions.ErrorOutputOptions valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值