public enum DocType extends Enum<DocType>
Enum Constant and Description |
---|
HTML_4_01_FRAMESET
HTML 4.01 Frameset.
|
HTML_4_01_STRICT
HTML 4.01 Strict.
|
HTML_4_01_TRANSITIONAL
HTML 4.01 Strict.
|
HTML_5
HTML 5.
|
XHTML_1_0_FRAMESET
XTML 1.0 Frameset.
|
XHTML_1_0_STRICT
XTML 1.0 Strict.
|
XHTML_1_0_TRANSITIONAL
XTML 1.0 Strict.
|
XHTML_1_1_DTD
XTML 1.1 DTD.
|
XHTML_BASIC_1_1
XTML 1.1 Basic.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocType()
Gets the doc type.
|
static DocType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocType HTML_4_01_STRICT
public static final DocType HTML_4_01_TRANSITIONAL
public static final DocType HTML_4_01_FRAMESET
public static final DocType XHTML_1_0_STRICT
public static final DocType XHTML_1_0_TRANSITIONAL
public static final DocType XHTML_1_0_FRAMESET
public static final DocType XHTML_1_1_DTD
public static final DocType XHTML_BASIC_1_1
public static final DocType HTML_5
public static DocType[] values()
for (DocType c : DocType.values()) System.out.println(c);
public static DocType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDocType()
Copyright © 2008–2018. All rights reserved.