Package com.stardog.stark.io
Enum ParserContext.ParseError
- java.lang.Object
-
- java.lang.Enum<ParserContext.ParseError>
-
- com.stardog.stark.io.ParserContext.ParseError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParserContext.ParseError>
- Enclosing class:
- ParserContext
public static enum ParserContext.ParseError extends java.lang.Enum<ParserContext.ParseError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Fatal
Invalid_BNode_Start
Invalid_Datatype
Invalid_IRI_Escapes
Invalid_Lang
Invalid_Lang_Char
Invalid_Lang_Start
Invalid_Number
INVALID_STRING_ENCODING
InvalidIRI
OpaqueBaseWithRelativeIRI
UNKNOWN_DATATYPE
Unknown_Lang
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParserContext.ParseError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParserContext.ParseError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown_Lang
public static final ParserContext.ParseError Unknown_Lang
-
Invalid_Lang
public static final ParserContext.ParseError Invalid_Lang
-
UNKNOWN_DATATYPE
public static final ParserContext.ParseError UNKNOWN_DATATYPE
-
OpaqueBaseWithRelativeIRI
public static final ParserContext.ParseError OpaqueBaseWithRelativeIRI
-
Invalid_IRI_Escapes
public static final ParserContext.ParseError Invalid_IRI_Escapes
-
Invalid_Lang_Start
public static final ParserContext.ParseError Invalid_Lang_Start
-
Invalid_Lang_Char
public static final ParserContext.ParseError Invalid_Lang_Char
-
Invalid_BNode_Start
public static final ParserContext.ParseError Invalid_BNode_Start
-
InvalidIRI
public static final ParserContext.ParseError InvalidIRI
-
INVALID_STRING_ENCODING
public static final ParserContext.ParseError INVALID_STRING_ENCODING
-
Invalid_Number
public static final ParserContext.ParseError Invalid_Number
-
Invalid_Datatype
public static final ParserContext.ParseError Invalid_Datatype
-
Fatal
public static final ParserContext.ParseError Fatal
-
-
Method Detail
-
values
public static ParserContext.ParseError[] 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 (ParserContext.ParseError c : ParserContext.ParseError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParserContext.ParseError 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
-
-