Package nablarch.core.dataformat
Enum Class LayoutFileParser.TokenType
- All Implemented Interfaces:
Serializable
,Comparable<LayoutFileParser.TokenType>
,Constable
- Enclosing class:
- LayoutFileParser
フォーマット定義ファイルの終端要素(トークン)の種別
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription左丸括弧 -
Method Summary
Modifier and TypeMethodDescriptionnewToken
(MatchResult match, int line, int column) トークンを生成して返却する。value
(MatchResult image) トークン文字列に対応する値を返却する。static LayoutFileParser.TokenType
Returns the enum constant of this class with the specified name.static LayoutFileParser.TokenType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMA
左丸括弧 -
LPAREN
-
RPAREN
-
LT
-
QUESTION_MARK
-
AT_MARK
-
EQ
-
DIRECTIVE_HEADER
-
RECORD_TYPE_HEADER
-
NUMBER
-
BOOLEAN_LITERAL
-
IDENTIFIER
-
ARRAY_DEF
-
STRING_LITERAL
-
BINARY_LITERAL
-
UNKNOWN_TOKEN
-
EOL
-
EOF
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
トークン文字列に対応する値を返却する。- Parameters:
image
- トークン文字列- Returns:
- トークンの値
-
newToken
トークンを生成して返却する。- Parameters:
match
- トークンの一致部分line
- トークン開始行column
- トークン開始桁- Returns:
- トークン
-