Enum TreeVisit.ETreeVisitResult
- All Implemented Interfaces:
Serializable, Comparable<TreeVisit.ETreeVisitResult>
- Enclosing class:
TreeVisit
Indicates how to proceed with a tree visit, see
TreeVisit and TreeVisit.ITreeVisitor.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProceed with the tree visit normally.Stop visiting the tree entirely.Do not visit this node, but visit children.Do not visit this node and skip all children as well.Visit this node, but skip all children. -
Method Summary
Modifier and TypeMethodDescriptionstatic TreeVisit.ETreeVisitResultReturns the enum constant of this type with the specified name.static TreeVisit.ETreeVisitResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCEED
Proceed with the tree visit normally. -
SKIP_NODE
Do not visit this node, but visit children.exitwill still be called. -
SKIP_SUB_TREE
Visit this node, but skip all children. -
SKIP_NODE_AND_SUB_TREE
Do not visit this node and skip all children as well. -
QUIT
Stop visiting the tree entirely.exitwill still be called.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-