public static enum DOMConfiguration.Mode extends Enum<DOMConfiguration.Mode>
| Enum Constant and Description |
|---|
CONTENT |
ORIGINAL_DOM |
STRIPPED_DOM |
STRUCTURE |
| Modifier and Type | Method and Description |
|---|---|
static DOMConfiguration.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DOMConfiguration.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOMConfiguration.Mode ORIGINAL_DOM
public static final DOMConfiguration.Mode STRIPPED_DOM
public static final DOMConfiguration.Mode CONTENT
public static final DOMConfiguration.Mode STRUCTURE
public static DOMConfiguration.Mode[] values()
for (DOMConfiguration.Mode c : DOMConfiguration.Mode.values()) System.out.println(c);
public static DOMConfiguration.Mode 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 © 2007–2019. All rights reserved.