Package org.apache.jena.riot.tokens
Enum TokenType
- java.lang.Object
-
- java.lang.Enum<TokenType>
-
- org.apache.jena.riot.tokens.TokenType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPHERSANDBNODEBOOLEANCOLONCOMMACOMMENTCOMMENT1COMMENT2DECIMALDIRECTIVEDOTDOUBLEEOFEQUALSEQUIVALENTGEGTGT2HEXINTEGERIRIKEYWORDL_ANNLBRACELBRACKETLELITERAL_DTLITERAL_LANGLOGICAL_ANDLOGICAL_ORLPARENLTLT2MINUSNLNODEPLUSPREFIXED_NAMER_ANNRBRACERBRACKETRPARENRSLASHSEMICOLONSLASHSTARSTRINGUNDERSCOREVARVBARWS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE
public static final TokenType NODE
-
IRI
public static final TokenType IRI
-
PREFIXED_NAME
public static final TokenType PREFIXED_NAME
-
BNODE
public static final TokenType BNODE
-
STRING
public static final TokenType STRING
-
LITERAL_LANG
public static final TokenType LITERAL_LANG
-
LITERAL_DT
public static final TokenType LITERAL_DT
-
INTEGER
public static final TokenType INTEGER
-
DECIMAL
public static final TokenType DECIMAL
-
DOUBLE
public static final TokenType DOUBLE
-
BOOLEAN
public static final TokenType BOOLEAN
-
KEYWORD
public static final TokenType KEYWORD
-
VAR
public static final TokenType VAR
-
HEX
public static final TokenType HEX
-
UNDERSCORE
public static final TokenType UNDERSCORE
-
DOT
public static final TokenType DOT
-
COMMA
public static final TokenType COMMA
-
SEMICOLON
public static final TokenType SEMICOLON
-
COLON
public static final TokenType COLON
-
DIRECTIVE
public static final TokenType DIRECTIVE
-
LT
public static final TokenType LT
-
GT
public static final TokenType GT
-
LE
public static final TokenType LE
-
GE
public static final TokenType GE
-
LOGICAL_AND
public static final TokenType LOGICAL_AND
-
LOGICAL_OR
public static final TokenType LOGICAL_OR
-
LT2
public static final TokenType LT2
-
GT2
public static final TokenType GT2
-
L_ANN
public static final TokenType L_ANN
-
R_ANN
public static final TokenType R_ANN
-
VBAR
public static final TokenType VBAR
-
AMPHERSAND
public static final TokenType AMPHERSAND
-
LBRACE
public static final TokenType LBRACE
-
RBRACE
public static final TokenType RBRACE
-
LPAREN
public static final TokenType LPAREN
-
RPAREN
public static final TokenType RPAREN
-
LBRACKET
public static final TokenType LBRACKET
-
RBRACKET
public static final TokenType RBRACKET
-
EQUALS
public static final TokenType EQUALS
-
EQUIVALENT
public static final TokenType EQUIVALENT
-
PLUS
public static final TokenType PLUS
-
MINUS
public static final TokenType MINUS
-
STAR
public static final TokenType STAR
-
SLASH
public static final TokenType SLASH
-
RSLASH
public static final TokenType RSLASH
-
NL
public static final TokenType NL
-
WS
public static final TokenType WS
-
COMMENT
public static final TokenType COMMENT
-
COMMENT1
public static final TokenType COMMENT1
-
COMMENT2
public static final TokenType COMMENT2
-
EOF
public static final TokenType EOF
-
-
Method Detail
-
values
public static TokenType[] 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 (TokenType c : TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenType 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
-
-