public enum HierarchyOperator extends Enum<HierarchyOperator>
Enum Constant and Description |
---|
CHILD |
DESCENDANT |
NEXT_ADJACENT |
NEXT_SIBLINGS |
NOOP |
Modifier and Type | Method and Description |
---|---|
static HierarchyOperator |
findByCharacter(char c) |
abstract <T> Function<?,?> |
getFunction(SelectorSegment segment,
SearchStrategy strategy,
TreeProvider<T> provider) |
static HierarchyOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HierarchyOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchyOperator CHILD
public static final HierarchyOperator DESCENDANT
public static final HierarchyOperator NEXT_ADJACENT
public static final HierarchyOperator NEXT_SIBLINGS
public static final HierarchyOperator NOOP
public static HierarchyOperator[] values()
for (HierarchyOperator c : HierarchyOperator.values()) System.out.println(c);
public static HierarchyOperator 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 nullpublic abstract <T> Function<?,?> getFunction(SelectorSegment segment, SearchStrategy strategy, TreeProvider<T> provider)
public static HierarchyOperator findByCharacter(char c)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.