Package net.sf.okapi.filters.tex.parser
Enum TEXParser.CharType
- java.lang.Object
-
- java.lang.Enum<TEXParser.CharType>
-
- net.sf.okapi.filters.tex.parser.TEXParser.CharType
-
- All Implemented Interfaces:
Serializable,Comparable<TEXParser.CharType>
- Enclosing class:
- TEXParser
public static enum TEXParser.CharType extends Enum<TEXParser.CharType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEALIGN_TABALPHANUMCOMMENTDEFAULTEND_GROUPEOLESCAPEIGNOREDINVALIDMATH_SHIFTPARAMSTART_GROUPSUBSCRIPTSUPERSCRIPTWHITESPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TEXParser.CharTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TEXParser.CharType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ESCAPE
public static final TEXParser.CharType ESCAPE
-
START_GROUP
public static final TEXParser.CharType START_GROUP
-
END_GROUP
public static final TEXParser.CharType END_GROUP
-
MATH_SHIFT
public static final TEXParser.CharType MATH_SHIFT
-
ALIGN_TAB
public static final TEXParser.CharType ALIGN_TAB
-
EOL
public static final TEXParser.CharType EOL
-
PARAM
public static final TEXParser.CharType PARAM
-
SUPERSCRIPT
public static final TEXParser.CharType SUPERSCRIPT
-
SUBSCRIPT
public static final TEXParser.CharType SUBSCRIPT
-
WHITESPACE
public static final TEXParser.CharType WHITESPACE
-
ALPHANUM
public static final TEXParser.CharType ALPHANUM
-
DEFAULT
public static final TEXParser.CharType DEFAULT
-
ACTIVE
public static final TEXParser.CharType ACTIVE
-
COMMENT
public static final TEXParser.CharType COMMENT
-
IGNORED
public static final TEXParser.CharType IGNORED
-
INVALID
public static final TEXParser.CharType INVALID
-
-
Method Detail
-
values
public static TEXParser.CharType[] 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 (TEXParser.CharType c : TEXParser.CharType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TEXParser.CharType 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
-
-