public enum ComparisonResult extends Enum<ComparisonResult>
Enum Constant and Description |
---|
DIFFERENT
The two nodes are different.
|
EQUAL
The two nodes are the same for the sake of this comparison.
|
SIMILAR
The two nodes are different but similar enough to satisfy a
weak equality constraint
|
Modifier and Type | Method and Description |
---|---|
static ComparisonResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonResult EQUAL
public static final ComparisonResult SIMILAR
public static final ComparisonResult DIFFERENT
public static ComparisonResult[] values()
for (ComparisonResult c : ComparisonResult.values()) System.out.println(c);
public static ComparisonResult 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 © 2001–2017 XMLUnit. All rights reserved.