public enum DiffType extends Enum<DiffType>
| Enum Constant and Description |
|---|
ATTRIBUTE_INSERTED |
ATTRIBUTE_REMOVED |
ATTRIBUTE_VALUE |
ELEMENT_INSERTED |
MISMATCH_ELEMENT |
MISSING_ELEMENT |
| Modifier and Type | Method and Description |
|---|---|
static DiffType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffType MISMATCH_ELEMENT
public static final DiffType MISSING_ELEMENT
public static final DiffType ATTRIBUTE_INSERTED
public static final DiffType ATTRIBUTE_REMOVED
public static final DiffType ELEMENT_INSERTED
public static final DiffType ATTRIBUTE_VALUE
public static DiffType[] values()
for (DiffType c : DiffType.values()) System.out.println(c);
public static DiffType 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.