Package org.eclipse.rdf4j.rio
Enum RDFParser.DatatypeHandling
- java.lang.Object
-
- java.lang.Enum<RDFParser.DatatypeHandling>
-
- org.eclipse.rdf4j.rio.RDFParser.DatatypeHandling
-
- All Implemented Interfaces:
Serializable
,Comparable<RDFParser.DatatypeHandling>
- Enclosing interface:
- RDFParser
@Deprecated public static enum RDFParser.DatatypeHandling extends Enum<RDFParser.DatatypeHandling>
Deprecated.These settings are not recognised and will be removed in a future version. UseBasicParserSettings.FAIL_ON_UNKNOWN_DATATYPES
BasicParserSettings.NORMALIZE_DATATYPE_VALUES
andBasicParserSettings.VERIFY_DATATYPE_VALUES
instead.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORE
Deprecated.Indicates that datatype semantics should be ignored.NORMALIZE
Deprecated.Indicates that values of datatyped literals should be normalized to their canonical representation.VERIFY
Deprecated.Indicates that values of datatyped literals should be verified.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RDFParser.DatatypeHandling
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static RDFParser.DatatypeHandling[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final RDFParser.DatatypeHandling IGNORE
Deprecated.Indicates that datatype semantics should be ignored.
-
VERIFY
public static final RDFParser.DatatypeHandling VERIFY
Deprecated.Indicates that values of datatyped literals should be verified.
-
NORMALIZE
public static final RDFParser.DatatypeHandling NORMALIZE
Deprecated.Indicates that values of datatyped literals should be normalized to their canonical representation.
-
-
Method Detail
-
values
public static RDFParser.DatatypeHandling[] values()
Deprecated.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 (RDFParser.DatatypeHandling c : RDFParser.DatatypeHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RDFParser.DatatypeHandling valueOf(String name)
Deprecated.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
-
-