org.openstreetmap.josm.actions.search
Enum SearchCompiler.ExactKeyValue.Mode

java.lang.Object
  extended by java.lang.Enum<SearchCompiler.ExactKeyValue.Mode>
      extended by org.openstreetmap.josm.actions.search.SearchCompiler.ExactKeyValue.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SearchCompiler.ExactKeyValue.Mode>
Enclosing class:
SearchCompiler.ExactKeyValue

private static enum SearchCompiler.ExactKeyValue.Mode
extends java.lang.Enum<SearchCompiler.ExactKeyValue.Mode>


Enum Constant Summary
ANY
           
ANY_KEY
           
ANY_KEY_REGEXP
           
ANY_VALUE
           
ANY_VALUE_REGEXP
           
EXACT
           
EXACT_REGEXP
           
MISSING_KEY
           
MISSING_KEY_REGEXP
           
NONE
           
 
Method Summary
static SearchCompiler.ExactKeyValue.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SearchCompiler.ExactKeyValue.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

ANY

public static final SearchCompiler.ExactKeyValue.Mode ANY

ANY_KEY

public static final SearchCompiler.ExactKeyValue.Mode ANY_KEY

ANY_VALUE

public static final SearchCompiler.ExactKeyValue.Mode ANY_VALUE

EXACT

public static final SearchCompiler.ExactKeyValue.Mode EXACT

NONE

public static final SearchCompiler.ExactKeyValue.Mode NONE

MISSING_KEY

public static final SearchCompiler.ExactKeyValue.Mode MISSING_KEY

ANY_KEY_REGEXP

public static final SearchCompiler.ExactKeyValue.Mode ANY_KEY_REGEXP

ANY_VALUE_REGEXP

public static final SearchCompiler.ExactKeyValue.Mode ANY_VALUE_REGEXP

EXACT_REGEXP

public static final SearchCompiler.ExactKeyValue.Mode EXACT_REGEXP

MISSING_KEY_REGEXP

public static final SearchCompiler.ExactKeyValue.Mode MISSING_KEY_REGEXP
Method Detail

values

public static SearchCompiler.ExactKeyValue.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 (SearchCompiler.ExactKeyValue.Mode c : SearchCompiler.ExactKeyValue.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 SearchCompiler.ExactKeyValue.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


JOSM