dk.brics.xpath.evaluator
Enum StatusMap.Status
java.lang.Object
java.lang.Enum<StatusMap.Status>
dk.brics.xpath.evaluator.StatusMap.Status
- All Implemented Interfaces:
- Serializable, Comparable<StatusMap.Status>
- Enclosing class:
- StatusMap
public static enum StatusMap.Status
- extends Enum<StatusMap.Status>
Status values.
For a given node the values have the following semantics:
- ALL - in every unfolding, every occurrence (zero or more) of the node is selected
- SOME - in every unfolding, at least one occurrence of the node is selected
- NONE - in every unfolding, no occurrence of the node is selected
- NEVER - the node satisfies both ALL and NONE
- DEFINITE - the node satisfies both ALL and SOME
- DONTKNOW - it is unknown whether the node is selected or not
ALL
public static final StatusMap.Status ALL
DEFINITE
public static final StatusMap.Status DEFINITE
DONTKNOW
public static final StatusMap.Status DONTKNOW
NEVER
public static final StatusMap.Status NEVER
NONE
public static final StatusMap.Status NONE
SOME
public static final StatusMap.Status SOME
valueOf
public static StatusMap.Status valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
values
public static StatusMap.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StatusMap.Status c : StatusMap.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
Copyright © 2005-2010 Anders Møller.