org.loom.mapping
Enum UriToken.ParserAction

java.lang.Object
  extended by java.lang.Enum<UriToken.ParserAction>
      extended by org.loom.mapping.UriToken.ParserAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UriToken.ParserAction>
Enclosing class:
UriToken

public static enum UriToken.ParserAction
extends java.lang.Enum<UriToken.ParserAction>

The actions that are indicated to the parser


Enum Constant Summary
END
          finish processing the input
FAIL
          fail: the input does not match the expected format
NEXT_TOKEN
          proceed to the next token
 
Method Summary
static UriToken.ParserAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UriToken.ParserAction[] 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

NEXT_TOKEN

public static final UriToken.ParserAction NEXT_TOKEN
proceed to the next token


FAIL

public static final UriToken.ParserAction FAIL
fail: the input does not match the expected format


END

public static final UriToken.ParserAction END
finish processing the input

Method Detail

values

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

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

valueOf

public static UriToken.ParserAction 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