eu.webtoolkit.jwt
Enum MatchOptions.MatchType

java.lang.Object
  extended by java.lang.Enum<MatchOptions.MatchType>
      extended by eu.webtoolkit.jwt.MatchOptions.MatchType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MatchOptions.MatchType>
Enclosing class:
MatchOptions

public static enum MatchOptions.MatchType
extends java.lang.Enum<MatchOptions.MatchType>

Match type enumeration.


Enum Constant Summary
MatchEndsWith
          Match end with query
MatchExactly
          Same type and value
MatchRegExp
          Regular expression match
MatchStartsWith
          Match start with query
MatchStringExactly
          Lexical match
MatchWildCard
          Wildcard match
 
Method Summary
static MatchOptions.MatchType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MatchOptions.MatchType[] 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

MatchExactly

public static final MatchOptions.MatchType MatchExactly
Same type and value


MatchStringExactly

public static final MatchOptions.MatchType MatchStringExactly
Lexical match


MatchStartsWith

public static final MatchOptions.MatchType MatchStartsWith
Match start with query


MatchEndsWith

public static final MatchOptions.MatchType MatchEndsWith
Match end with query


MatchRegExp

public static final MatchOptions.MatchType MatchRegExp
Regular expression match


MatchWildCard

public static final MatchOptions.MatchType MatchWildCard
Wildcard match

Method Detail

values

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

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

valueOf

public static MatchOptions.MatchType 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