Package edu.mit.simile.butterfly
Enum LinkRewriter.State
- java.lang.Object
-
- java.lang.Enum<LinkRewriter.State>
-
- edu.mit.simile.butterfly.LinkRewriter.State
-
- All Implemented Interfaces:
Serializable,Comparable<LinkRewriter.State>
- Enclosing class:
- LinkRewriter
public static enum LinkRewriter.State extends Enum<LinkRewriter.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LinkRewriter.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static LinkRewriter.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final LinkRewriter.State START
-
OPENING
public static final LinkRewriter.State OPENING
-
OPENED
public static final LinkRewriter.State OPENED
-
CLOSING
public static final LinkRewriter.State CLOSING
-
CLOSED
public static final LinkRewriter.State CLOSED
-
SLASHED
public static final LinkRewriter.State SLASHED
-
UNSLASHED
public static final LinkRewriter.State UNSLASHED
-
-
Method Detail
-
values
public static LinkRewriter.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 (LinkRewriter.State c : LinkRewriter.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 LinkRewriter.State valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-