public enum DocumentMode extends Enum<DocumentMode>
Enum Constant and Description |
---|
ALMOST_STANDARDS_MODE
The Limited Quirks Mode aka.
|
QUIRKS_MODE
The Quirks Mode
|
STANDARDS_MODE
The Standards Mode
|
Modifier and Type | Method and Description |
---|---|
static DocumentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentMode STANDARDS_MODE
public static final DocumentMode ALMOST_STANDARDS_MODE
public static final DocumentMode QUIRKS_MODE
public static DocumentMode[] values()
for (DocumentMode c : DocumentMode.values()) System.out.println(c);
public static DocumentMode 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 nullCopyright © 2017. All rights reserved.