Package net.sf.okapi.filters.tex.parser
Enum TEXTokenType
- java.lang.Object
-
- java.lang.Enum<TEXTokenType>
-
- net.sf.okapi.filters.tex.parser.TEXTokenType
-
- All Implemented Interfaces:
Serializable,Comparable<TEXTokenType>
public enum TEXTokenType extends Enum<TEXTokenType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPERSANDCARETCLOSE_CURLYCLOSE_SQUARECOMMANDCOMMENTDOLLARHASHTAGIGNORED_CHARINVALID_CHARNEWLINEOPEN_CURLYOPEN_SQUARESTRIKETHROUGHSUBSCRIPTTABLE_PIPETEXTTHEMATIC_BREAKTILDEUNDERSCOREWHITE_SPACEYAML_METADATA_HEADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TEXTokenTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TEXTokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final TEXTokenType TEXT
-
THEMATIC_BREAK
public static final TEXTokenType THEMATIC_BREAK
-
WHITE_SPACE
public static final TEXTokenType WHITE_SPACE
-
COMMAND
public static final TEXTokenType COMMAND
-
OPEN_CURLY
public static final TEXTokenType OPEN_CURLY
-
CLOSE_CURLY
public static final TEXTokenType CLOSE_CURLY
-
DOLLAR
public static final TEXTokenType DOLLAR
-
AMPERSAND
public static final TEXTokenType AMPERSAND
-
NEWLINE
public static final TEXTokenType NEWLINE
-
HASHTAG
public static final TEXTokenType HASHTAG
-
CARET
public static final TEXTokenType CARET
-
UNDERSCORE
public static final TEXTokenType UNDERSCORE
-
IGNORED_CHAR
public static final TEXTokenType IGNORED_CHAR
-
INVALID_CHAR
public static final TEXTokenType INVALID_CHAR
-
TILDE
public static final TEXTokenType TILDE
-
COMMENT
public static final TEXTokenType COMMENT
-
OPEN_SQUARE
public static final TEXTokenType OPEN_SQUARE
-
CLOSE_SQUARE
public static final TEXTokenType CLOSE_SQUARE
-
TABLE_PIPE
public static final TEXTokenType TABLE_PIPE
-
YAML_METADATA_HEADER
public static final TEXTokenType YAML_METADATA_HEADER
-
STRIKETHROUGH
public static final TEXTokenType STRIKETHROUGH
-
SUBSCRIPT
public static final TEXTokenType SUBSCRIPT
-
-
Method Detail
-
values
public static TEXTokenType[] 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 (TEXTokenType c : TEXTokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TEXTokenType 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
-
-