de.marcelsauer.tokenreplacer
Enum FiniteStateMachineTokenReplacer.State

java.lang.Object
  extended by java.lang.Enum<FiniteStateMachineTokenReplacer.State>
      extended by de.marcelsauer.tokenreplacer.FiniteStateMachineTokenReplacer.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FiniteStateMachineTokenReplacer.State>
Enclosing class:
FiniteStateMachineTokenReplacer

protected static enum FiniteStateMachineTokenReplacer.State
extends java.lang.Enum<FiniteStateMachineTokenReplacer.State>


Enum Constant Summary
ERROR
           
READING_INPUT
           
READING_TOKEN
           
READING_TOKEN_ARGS
           
TOKEN_ARGS_END
           
TOKEN_ARGS_STARTED
           
TOKEN_STARTED
           
 
Method Summary
static FiniteStateMachineTokenReplacer.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FiniteStateMachineTokenReplacer.State[] 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

READING_INPUT

public static final FiniteStateMachineTokenReplacer.State READING_INPUT

TOKEN_STARTED

public static final FiniteStateMachineTokenReplacer.State TOKEN_STARTED

READING_TOKEN

public static final FiniteStateMachineTokenReplacer.State READING_TOKEN

TOKEN_ARGS_STARTED

public static final FiniteStateMachineTokenReplacer.State TOKEN_ARGS_STARTED

READING_TOKEN_ARGS

public static final FiniteStateMachineTokenReplacer.State READING_TOKEN_ARGS

TOKEN_ARGS_END

public static final FiniteStateMachineTokenReplacer.State TOKEN_ARGS_END

ERROR

public static final FiniteStateMachineTokenReplacer.State ERROR
Method Detail

values

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

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

valueOf

public static FiniteStateMachineTokenReplacer.State 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


Copyright © 2011. All Rights Reserved.