com.itextpdf.tool.itextdoc.codestyler.java
Enum JavaState
java.lang.Object
java.lang.Enum<JavaState>
com.itextpdf.tool.itextdoc.codestyler.java.JavaState
- All Implemented Interfaces:
- Serializable, Comparable<JavaState>
public enum JavaState
- extends Enum<JavaState>
- Author:
- redlab
Method Summary |
static JavaState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NORMAL
public static final JavaState NORMAL
TEXT
public static final JavaState TEXT
KEYWORD
public static final JavaState KEYWORD
JAVADOC
public static final JavaState JAVADOC
SINGLE_COMMENT
public static final JavaState SINGLE_COMMENT
ANNOTATION
public static final JavaState ANNOTATION
LONGCOMMENT
public static final JavaState LONGCOMMENT
MULTILINE_COMMENT
public static final JavaState MULTILINE_COMMENT
COMMENT
public static final JavaState COMMENT
JAVADOC_ASTERIX
public static final JavaState JAVADOC_ASTERIX
MULTILINE_COMMENT_ASTERIX
public static final JavaState MULTILINE_COMMENT_ASTERIX
values
public static JavaState[] 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 (JavaState c : JavaState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JavaState 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 name
NullPointerException
- if the argument is null
Copyright © 2011 1T3XT BVBA. All Rights Reserved.