public enum TraversalMode extends Enum<TraversalMode>
Enum Constant and Description |
---|
BREADTH_FIRST
Traversal that matches the highest super type of the exception as possible first.
|
DEPTH_FIRST
Traversal that matches the exception type as closely as possible first.
|
Modifier and Type | Method and Description |
---|---|
static TraversalMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraversalMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraversalMode DEPTH_FIRST
public static final TraversalMode BREADTH_FIRST
public static TraversalMode[] values()
for (TraversalMode c : TraversalMode.values()) System.out.println(c);
public static TraversalMode 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 © 2012 Seam Framework. All Rights Reserved.