com.evolvedbinary.xpath.parser.ast
Enum KindTest.Kind

java.lang.Object
  extended by java.lang.Enum<KindTest.Kind>
      extended by 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>


Enum Constant Summary
ANY
           
ATTRIBUTE
           
COMMENT
           
DOCUMENT
           
ELEMENT
           
PROCESSING_INSTRUCTION
           
SCHEMA_ATTRIBUTE
           
SCHEMA_ELEMENT
           
TEXT
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.