Enum EHierarchyVisitorReturn
- All Implemented Interfaces:
Serializable,Comparable<EHierarchyVisitorReturn>,java.lang.constant.Constable
Return value for hierarchy iteration.
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContinue with the next element.Stop the iteration completely and immediately.Skip the child elements of the current element and go to the next sibling.Skip the child elements and all siblings of the current content element and go to the parent element's sibling. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EHierarchyVisitorReturnReturns the enum constant of this type with the specified name.static EHierarchyVisitorReturn[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Continue with the next element. This may either be the first child element or the next sibling. -
USE_NEXT_SIBLING
Skip the child elements of the current element and go to the next sibling. This can only be returned before children are iterated.
Important: this enum constant is never explicitly queried but it is implicitly used! -
USE_PARENTS_NEXT_SIBLING
Skip the child elements and all siblings of the current content element and go to the parent element's sibling. -
STOP_ITERATION
Stop the iteration completely and 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
-
isContinue
public boolean isContinue()
-