public class BasicParserSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static RioSetting<List<DatatypeHandler>> |
DATATYPE_HANDLERS
Setting used to specify which
DatatypeHandler implementations are to be used for a given parser
configuration. |
static RioSetting<Boolean> |
FAIL_ON_UNKNOWN_DATATYPES
Boolean setting for parser to determine whether to fail parsing if datatypes are not recognised.
|
static RioSetting<Boolean> |
FAIL_ON_UNKNOWN_LANGUAGES
Boolean setting for parser to determine whether to fail parsing if languages are not recognised.
|
static RioSetting<List<LanguageHandler>> |
LANGUAGE_HANDLERS
Setting used to specify which
LanguageHandler implementations are to be used for a given parser
configuration. |
static RioSetting<LargeLiteralHandling> |
LARGE_LITERALS_HANDLING
Boolean setting for parser to determine whether parser should preserve, truncate, drop, or otherwise
manipulate statements that contain long literals.
|
static RioSetting<Long> |
LARGE_LITERALS_LIMIT
If
LARGE_LITERALS_HANDLING is set to LargeLiteralHandling.PRESERVE, which it is by
default, then the value of this setting is not used. |
static RioSetting<Set<Namespace>> |
NAMESPACES
Setting to provide a collection of
Namespace objects which will be used when parsing RDF as the
basis for the default set of namespaces of the document. |
static RioSetting<Boolean> |
NORMALIZE_DATATYPE_VALUES
Boolean setting for parser to determine whether recognised datatypes need to have their values be
normalized.
|
static RioSetting<Boolean> |
NORMALIZE_LANGUAGE_TAGS
Boolean setting for parser to determine whether languages need to be normalized, and to which format
they should be normalised.
|
static RioSetting<Boolean> |
PRESERVE_BNODE_IDS
Boolean setting for parser to determine whether parser should attempt to preserve identifiers for blank
nodes.
|
static RioSetting<String> |
SKOLEMIZE_ORIGIN
Scheme and authority of new mint Skolem IRIs that should replace Blank Nodes.
|
static RioSetting<Boolean> |
VERIFY_DATATYPE_VALUES
Boolean setting for parser to determine whether values for recognised datatypes are to be verified.
|
static RioSetting<Boolean> |
VERIFY_LANGUAGE_TAGS
Boolean setting for parser to determine whether languages are to be verified based on a given set of
definitions for valid languages.
|
static RioSetting<Boolean> |
VERIFY_RELATIVE_URIS
Boolean setting for parser to determine whether relative URIs are verified.
|
static RioSetting<Boolean> |
VERIFY_URI_SYNTAX
Boolean setting for parser to determine if URIs should be verified to contain only legal characters.
|
public static final RioSetting<Boolean> VERIFY_DATATYPE_VALUES
Verification is performed using registered DatatypeHandlers.
Defaults to false.
public static final RioSetting<Boolean> FAIL_ON_UNKNOWN_DATATYPES
Datatypes are recognised based on matching one of the registered DatatypeHandlers.
Defaults to false.
public static final RioSetting<Boolean> NORMALIZE_DATATYPE_VALUES
Normalization is performed using registered DatatypeHandlers.
Defaults to false.
public static final RioSetting<List<DatatypeHandler>> DATATYPE_HANDLERS
DatatypeHandler implementations are to be used for a given parser
configuration.
Defaults to an XMLSchema DatatypeHandler implementation based on DatatypeHandler.XMLSCHEMA and
an RDF DatatypeHandler implementation based on DatatypeHandler.RDFDATATYPES.
public static final RioSetting<Boolean> FAIL_ON_UNKNOWN_LANGUAGES
Languages are recognised based on matching one of the registered LanguageHandlers.
Defaults to false.
public static final RioSetting<Boolean> VERIFY_LANGUAGE_TAGS
Verification is performed using registered LanguageHandlers.
Defaults to true.
public static final RioSetting<Boolean> NORMALIZE_LANGUAGE_TAGS
Normalization is performed using registered LanguageHandlers.
Defaults to false.
public static final RioSetting<List<LanguageHandler>> LANGUAGE_HANDLERS
LanguageHandler implementations are to be used for a given parser
configuration.
Defaults to an RFC3066 LanguageHandler implementation based on LanguageHandler.RFC3066.
public static final RioSetting<Boolean> VERIFY_RELATIVE_URIS
Defaults to true.
public static final RioSetting<Boolean> VERIFY_URI_SYNTAX
Defaults to true. If set to false, the parser will report syntactically illegal URIs to
the RDFHandler.
public static final RioSetting<Boolean> PRESERVE_BNODE_IDS
Defaults to false.
public static final RioSetting<String> SKOLEMIZE_ORIGIN
Defaults to null (disabled).
public static final RioSetting<LargeLiteralHandling> LARGE_LITERALS_HANDLING
LARGE_LITERALS_LIMIT.
Defaults to LargeLiteralHandling.PRESERVE.
public static final RioSetting<Long> LARGE_LITERALS_LIMIT
LARGE_LITERALS_HANDLING is set to LargeLiteralHandling.PRESERVE, which it is by
default, then the value of this setting is not used.
If LARGE_LITERALS_HANDLING is set to LargeLiteralHandling.DROP , then the value of
this setting corresponds to the maximum number of bytes for a literal before the statement it is a part
of is dropped silently by the parser.
If LARGE_LITERALS_HANDLING is set to LargeLiteralHandling.TRUNCATE , then the value of
this setting corresponds to the maximum number of bytes for a literal before the value is truncated.
Defaults to 1048576 bytes, which is equivalent to 1 megabyte.
public static final RioSetting<Set<Namespace>> NAMESPACES
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.