public static final class Configuration.Doctype extends Enum
An enum containing document type constants.
Modifier and Type | Field and Description |
---|---|
static Configuration.Doctype |
AUTODETECT
Indicates that the document type will be detected automatically.
|
static Configuration.Doctype |
HTML5
Indicates that the document type will be set to HTML5.
|
static Configuration.Doctype |
XHTML
Indicates that the document type will be set to XHTML.
|
static Configuration.Doctype |
XML
Indicates that the document type will be set to generic XML.
|
Modifier and Type | Method and Description |
---|---|
static Configuration.Doctype |
valueOf(String name) |
static Configuration.Doctype[] |
values() |
public static final Configuration.Doctype AUTODETECT
Indicates that the document type will be detected automatically.
A document has the type Configuration.Doctype.HTML5
if the name of the root element
is "html" (ignoring case considerations). In all other cases the
document type is Configuration.Doctype.XML
.
public static final Configuration.Doctype HTML5
Indicates that the document type will be set to HTML5. The HTML default style sheet is used and the document is loaded regarding style elements, style attributes and link stylesheets.
public static final Configuration.Doctype XHTML
Indicates that the document type will be set to XHTML. The HTML default style sheet is used and the document is loaded regarding style elements, style attributes and link stylesheets.
public static final Configuration.Doctype XML
Indicates that the document type will be set to generic XML. No default style sheet is used and the document is loaded as is without regards to style elements or attributes.
public static Configuration.Doctype[] values()
public static Configuration.Doctype valueOf(String name)
This doc was generated on 2024-06-12. Copyright © 2002-2024 RealObjects GmbH. All Rights Reserved.