public enum XmlCompareOption extends Enum<XmlCompareOption>
| Enum Constant and Description |
|---|
IGNORE_COMMENTS
Will remove all comment-Tags "<!
|
IGNORE_WHITESPACE
Ignore whitespace by removing all empty text nodes and trimming the non-empty ones.
|
NORMALIZE_WHITESPACE
Normalize Text-Elements by removing all empty text nodes and normalizing the non-empty ones.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlCompareOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlCompareOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlCompareOption IGNORE_COMMENTS
public static final XmlCompareOption IGNORE_WHITESPACE
public static final XmlCompareOption NORMALIZE_WHITESPACE
public static XmlCompareOption[] values()
for (XmlCompareOption c : XmlCompareOption.values()) System.out.println(c);
public static XmlCompareOption 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 © 2010–2017. All rights reserved.