Enum Catcode
- java.lang.Object
-
- java.lang.Enum<Catcode>
-
- org.openoffice.da.comp.w2lcommon.tex.tokenizer.Catcode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
ALIGNMENT_TAB
BEGIN_GROUP
COMMENT
END_GROUP
END_OF_LINE
ESCAPE
IGNORED
INVALID
LETTER
MATH_SHIFT
OTHER
PARAMETER
SPACE
SUBSCRIPT
SUPERSCRIPT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Catcode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Catcode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ESCAPE
public static final Catcode ESCAPE
-
BEGIN_GROUP
public static final Catcode BEGIN_GROUP
-
END_GROUP
public static final Catcode END_GROUP
-
MATH_SHIFT
public static final Catcode MATH_SHIFT
-
ALIGNMENT_TAB
public static final Catcode ALIGNMENT_TAB
-
END_OF_LINE
public static final Catcode END_OF_LINE
-
PARAMETER
public static final Catcode PARAMETER
-
SUPERSCRIPT
public static final Catcode SUPERSCRIPT
-
SUBSCRIPT
public static final Catcode SUBSCRIPT
-
IGNORED
public static final Catcode IGNORED
-
SPACE
public static final Catcode SPACE
-
LETTER
public static final Catcode LETTER
-
OTHER
public static final Catcode OTHER
-
ACTIVE
public static final Catcode ACTIVE
-
COMMENT
public static final Catcode COMMENT
-
INVALID
public static final Catcode INVALID
-
-
Method Detail
-
values
public static Catcode[] 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 (Catcode c : Catcode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Catcode 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
-
-