Serializable
, Comparable<NodeFilter.FilterResult>
public static enum NodeFilter.FilterResult extends Enum<NodeFilter.FilterResult>
Enum Constant | Description |
---|---|
CONTINUE |
Continue processing the tree
|
REMOVE |
Remove the node and its children
|
SKIP_CHILDREN |
Skip the child nodes, but do call
NodeFilter.tail(Node, int) next. |
SKIP_ENTIRELY |
Skip the subtree, and do not call
NodeFilter.tail(Node, int) . |
STOP |
Stop processing
|
Modifier and Type | Method | Description |
---|---|---|
static NodeFilter.FilterResult |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NodeFilter.FilterResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeFilter.FilterResult CONTINUE
public static final NodeFilter.FilterResult SKIP_CHILDREN
NodeFilter.tail(Node, int)
next.public static final NodeFilter.FilterResult SKIP_ENTIRELY
NodeFilter.tail(Node, int)
.public static final NodeFilter.FilterResult REMOVE
public static final NodeFilter.FilterResult STOP
public static NodeFilter.FilterResult[] values()
for (NodeFilter.FilterResult c : NodeFilter.FilterResult.values()) System.out.println(c);
public static NodeFilter.FilterResult 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 © 2009–2018 Jonathan Hedley. All rights reserved.