Package com.adobe.epubcheck.vocab
Enum PrefixDeclarationParser.State
- java.lang.Object
-
- java.lang.Enum<PrefixDeclarationParser.State>
-
- com.adobe.epubcheck.vocab.PrefixDeclarationParser.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PrefixDeclarationParser.State>
- Enclosing class:
- PrefixDeclarationParser
private static enum PrefixDeclarationParser.State extends java.lang.Enum<PrefixDeclarationParser.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREFIXPREFIX_ENDSPACESTARTURIWHITESPACE
-
Constructor Summary
Constructors Modifier Constructor Description privateState(com.google.common.base.CharMatcher accepted, com.google.common.base.CharMatcher allowed)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrefixDeclarationParser.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PrefixDeclarationParser.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 PrefixDeclarationParser.State START
-
PREFIX
public static final PrefixDeclarationParser.State PREFIX
-
PREFIX_END
public static final PrefixDeclarationParser.State PREFIX_END
-
SPACE
public static final PrefixDeclarationParser.State SPACE
-
URI
public static final PrefixDeclarationParser.State URI
-
WHITESPACE
public static final PrefixDeclarationParser.State WHITESPACE
-
-
Method Detail
-
values
public static PrefixDeclarationParser.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 (PrefixDeclarationParser.State c : PrefixDeclarationParser.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 PrefixDeclarationParser.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 namejava.lang.NullPointerException- if the argument is null
-
-