Package com.complexible.stardog.db
Enum Class DatabaseOptions.LanguageNormalization
java.lang.Object
java.lang.Enum<DatabaseOptions.LanguageNormalization>
com.complexible.stardog.db.DatabaseOptions.LanguageNormalization
- All Implemented Interfaces:
Serializable,Comparable<DatabaseOptions.LanguageNormalization>,Constable
- Enclosing class:
DatabaseOptions
public static enum DatabaseOptions.LanguageNormalization
extends Enum<DatabaseOptions.LanguageNormalization>
Different types of datatype normalization algorithms supported by Stardog.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLanguage tag format defined by BCP47, which is referenced by the RDF-1.1 specification.Default normalization algorithm which uses BCP47 for validation but normalizes the language tag to lowercaseLanguage tag format defined by RFC3066, which is referenced by the RDF-1.0 specification. -
Method Summary
-
Enum Constant Details
-
DEFAULT
Default normalization algorithm which uses BCP47 for validation but normalizes the language tag to lowercase -
RFC3066
Language tag format defined by RFC3066, which is referenced by the RDF-1.0 specification. -
BCP47
Language tag format defined by BCP47, which is referenced by the RDF-1.1 specification. Choosing this option will require validation of language tags even ifstrict parsingis off.
-
-
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
-
handler
-