Package com.apicatalog.rdf.nquads
Enum NQuadsTokenizer.TokenType
- java.lang.Object
-
- java.lang.Enum<NQuadsTokenizer.TokenType>
-
- com.apicatalog.rdf.nquads.NQuadsTokenizer.TokenType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NQuadsTokenizer.TokenType>
- Enclosing class:
- NQuadsTokenizer
public static enum NQuadsTokenizer.TokenType extends java.lang.Enum<NQuadsTokenizer.TokenType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLANK_NODE_LABELCOMMENTEND_OF_INPUTEND_OF_LINEEND_OF_STATEMENTIRI_REFLANGTAGLITERAL_DATA_TYPESTRING_LITERAL_QUOTEWHITE_SPACE
-
Constructor Summary
Constructors Modifier Constructor Description privateTokenType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NQuadsTokenizer.TokenTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NQuadsTokenizer.TokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANGTAG
public static final NQuadsTokenizer.TokenType LANGTAG
-
IRI_REF
public static final NQuadsTokenizer.TokenType IRI_REF
-
STRING_LITERAL_QUOTE
public static final NQuadsTokenizer.TokenType STRING_LITERAL_QUOTE
-
BLANK_NODE_LABEL
public static final NQuadsTokenizer.TokenType BLANK_NODE_LABEL
-
WHITE_SPACE
public static final NQuadsTokenizer.TokenType WHITE_SPACE
-
LITERAL_DATA_TYPE
public static final NQuadsTokenizer.TokenType LITERAL_DATA_TYPE
-
COMMENT
public static final NQuadsTokenizer.TokenType COMMENT
-
END_OF_STATEMENT
public static final NQuadsTokenizer.TokenType END_OF_STATEMENT
-
END_OF_LINE
public static final NQuadsTokenizer.TokenType END_OF_LINE
-
END_OF_INPUT
public static final NQuadsTokenizer.TokenType END_OF_INPUT
-
-
Method Detail
-
values
public static NQuadsTokenizer.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 (NQuadsTokenizer.TokenType c : NQuadsTokenizer.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 NQuadsTokenizer.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
-
-