Enum DomTripVisitor.Action
- All Implemented Interfaces:
Serializable, Comparable<DomTripVisitor.Action>, java.lang.constant.Constable
- Enclosing interface:
DomTripVisitor
Controls traversal flow during a visitor walk.
- Since:
- 1.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContinue normal depth-first traversal.Skip children of the current element (only meaningful fromDomTripVisitor.enterElement(Element)).Abort the entire traversal immediately. -
Method Summary
Modifier and TypeMethodDescriptionstatic DomTripVisitor.ActionReturns the enum constant of this type with the specified name.static DomTripVisitor.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Continue normal depth-first traversal. -
SKIP
Skip children of the current element (only meaningful fromDomTripVisitor.enterElement(Element)). -
STOP
Abort the entire traversal immediately.
-
-
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
-