com.evolvedbinary.xpath.parser.ast
Enum KindTest.Kind
java.lang.Object
java.lang.Enum<KindTest.Kind>
com.evolvedbinary.xpath.parser.ast.KindTest.Kind
- All Implemented Interfaces:
- Serializable, Comparable<KindTest.Kind>
- Enclosing class:
- KindTest
public static enum KindTest.Kind
- extends Enum<KindTest.Kind>
|
Method Summary |
static KindTest.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KindTest.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DOCUMENT
public static final KindTest.Kind DOCUMENT
ELEMENT
public static final KindTest.Kind ELEMENT
ATTRIBUTE
public static final KindTest.Kind ATTRIBUTE
SCHEMA_ELEMENT
public static final KindTest.Kind SCHEMA_ELEMENT
SCHEMA_ATTRIBUTE
public static final KindTest.Kind SCHEMA_ATTRIBUTE
PROCESSING_INSTRUCTION
public static final KindTest.Kind PROCESSING_INSTRUCTION
COMMENT
public static final KindTest.Kind COMMENT
TEXT
public static final KindTest.Kind TEXT
ANY
public static final KindTest.Kind ANY
values
public static KindTest.Kind[] 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 (KindTest.Kind c : KindTest.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KindTest.Kind 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
Copyright © 2016 Evolved Binary Ltd.. All Rights Reserved.