org.basex.query.path
Enum Test.Mode

java.lang.Object
  extended by java.lang.Enum<Test.Mode>
      extended by org.basex.query.path.Test.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Test.Mode>
Enclosing class:
Test

public static enum Test.Mode
extends java.lang.Enum<Test.Mode>

Name test types.


Enum Constant Summary
ALL
          Accept all nodes (*).
NAME
          Test names (*:tag).
NS
          Test namespaces (pre:*).
STD
          Test all nodes (pre:tag).
 
Method Summary
static Test.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Test.Mode[] 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

ALL

public static final Test.Mode ALL
Accept all nodes (*).


NAME

public static final Test.Mode NAME
Test names (*:tag).


NS

public static final Test.Mode NS
Test namespaces (pre:*).


STD

public static final Test.Mode STD
Test all nodes (pre:tag).

Method Detail

values

public static Test.Mode[] 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 (Test.Mode c : Test.Mode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Test.Mode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null