All the fields in this class are read-only.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CDATA_SECTION_ELEMENTS
cdata-section-elements = expanded names. |
| public static final String | DOCTYPE_PUBLIC
doctype-public = string. |
| public static final String | DOCTYPE_SYSTEM
doctype-system = string. |
| public static final String | ENCODING
encoding = string. |
| public static final String | INDENT
indent = "yes" | "no". |
| public static final String | MEDIA_TYPE
media-type = string. |
| public static final String | METHOD
method = "xml" | "html" | "text" | expanded name. |
| public static final String | OMIT_XML_DECLARATION
omit-xml-declaration = "yes" | "no". |
| public static final String | STANDALONE
standalone = "yes" | "no". |
| public static final String | VERSION
version = nmtoken. |
| Access | Constructor and Description |
|---|---|
| private |
| CDATA_SECTION_ELEMENTS | back to summary |
|---|---|
| public static final String CDATA_SECTION_ELEMENTS cdata-section-elements = expanded names.
| |
| DOCTYPE_PUBLIC | back to summary |
|---|---|
| public static final String DOCTYPE_PUBLIC doctype-public = string. See the documentation for the | |
| DOCTYPE_SYSTEM | back to summary |
|---|---|
| public static final String DOCTYPE_SYSTEM doctype-system = string.
If the doctype-system property is specified, the xml output method should output a document type declaration immediately before the first element. The name following <!DOCTYPE should be the name of the first element. If doctype-public property is also specified, then the xml output method should output PUBLIC followed by the public identifier and then the system identifier; otherwise, it should output SYSTEM followed by the system identifier. The internal subset should be empty. The value of the doctype-public property should be ignored unless the doctype-system property is specified. If the doctype-public or doctype-system properties are specified, then the html output method should output a document type declaration immediately before the first element. The name following <!DOCTYPE should be HTML or html. If the doctype-public property is specified, then the output method should output PUBLIC followed by the specified public identifier; if the doctype-system property is also specified, it should also output the specified system identifier following the public identifier. If the doctype-system property is specified but the doctype-public property is not specified, then the output method should output SYSTEM followed by the specified system identifier.
| |
| ENCODING | back to summary |
|---|---|
| public static final String ENCODING encoding = string.
| |
| INDENT | back to summary |
|---|---|
| public static final String INDENT indent = "yes" | "no".
| |
| MEDIA_TYPE | back to summary |
|---|---|
| public static final String MEDIA_TYPE media-type = string.
| |
| METHOD | back to summary |
|---|---|
| public static final String METHOD method = "xml" | "html" | "text" | expanded name. The value of the method property identifies the overall method that
should be used for outputting the result tree. Other non-namespaced
values may be used, such as "xhtml", but, if accepted, the handling
of such values is implementation defined. If any of the method values
are not accepted and are not namespace qualified,
then | |
| OMIT_XML_DECLARATION | back to summary |
|---|---|
| public static final String OMIT_XML_DECLARATION omit-xml-declaration = "yes" | "no".
| |
| STANDALONE | back to summary |
|---|---|
| public static final String STANDALONE standalone = "yes" | "no".
| |
| VERSION | back to summary |
|---|---|
| public static final String VERSION version = nmtoken.
When the output method is "xml", the version value specifies the version of XML to be used for outputting the result tree. The default value for the xml output method is 1.0. When the output method is "html", the version value indicates the version of the HTML. The default value for the xml output method is 4.0, which specifies that the result should be output as HTML conforming to the HTML 4.0 Recommendation [HTML]. If the output method is "text", the version property is ignored. | |
| OutputKeys | back to summary |
|---|---|
| private OutputKeys() Default constructor is private on purpose. This class is only for static variable access, and should never be constructed. | |