Package org.verapdf.parser
Enum Token.Keyword
- java.lang.Object
-
- java.lang.Enum<Token.Keyword>
-
- org.verapdf.parser.Token.Keyword
-
- All Implemented Interfaces:
Serializable
,Comparable<Token.Keyword>
- Enclosing class:
- Token
public static enum Token.Keyword extends Enum<Token.Keyword>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KW_ENDOBJ
KW_ENDSTREAM
KW_F
KW_FALSE
KW_N
KW_NONE
KW_NULL
KW_OBJ
KW_R
KW_STARTXREF
KW_STREAM
KW_TRAILER
KW_TRUE
KW_XREF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Token.Keyword
valueOf(String name)
Returns the enum constant of this type with the specified name.static Token.Keyword[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KW_NONE
public static final Token.Keyword KW_NONE
-
KW_NULL
public static final Token.Keyword KW_NULL
-
KW_TRUE
public static final Token.Keyword KW_TRUE
-
KW_FALSE
public static final Token.Keyword KW_FALSE
-
KW_STREAM
public static final Token.Keyword KW_STREAM
-
KW_ENDSTREAM
public static final Token.Keyword KW_ENDSTREAM
-
KW_OBJ
public static final Token.Keyword KW_OBJ
-
KW_ENDOBJ
public static final Token.Keyword KW_ENDOBJ
-
KW_R
public static final Token.Keyword KW_R
-
KW_N
public static final Token.Keyword KW_N
-
KW_F
public static final Token.Keyword KW_F
-
KW_XREF
public static final Token.Keyword KW_XREF
-
KW_STARTXREF
public static final Token.Keyword KW_STARTXREF
-
KW_TRAILER
public static final Token.Keyword KW_TRAILER
-
-
Method Detail
-
values
public static Token.Keyword[] 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 (Token.Keyword c : Token.Keyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Token.Keyword 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
-
-