Serializable
, Comparable<ConfigurationOptions>
public enum ConfigurationOptions extends Enum<ConfigurationOptions>
owlapi.properties
; to enable, make
sure the file is in the classpath. The property names are
"org.semanticweb.owlapi.model.parameters.ConfigurationOptions."+name()
, both in the properties file and in the system properties.Enum Constant | Description |
---|---|
ACCEPT_HTTP_COMPRESSION |
True if http compression
should be used.
|
AUTHORIZATION_VALUE |
Authorization
header Value.
|
BANNED_PARSERS |
List of banned
parsers keys.
|
BANNERS_ENABLED |
True if banners for ontology
sections and entity comments
should be outputted.
|
CONNECTION_TIMEOUT |
Timeout for connections.
|
ENTITY_EXPANSION_LIMIT |
Entity expansion limit for
XML parsing.
|
FOLLOW_REDIRECTS |
True if redirects should be
followed across protocols.
|
INDENT_SIZE |
Size of indentation
between levels.
|
INDENTING |
True if indenting should
be used when writing out
a file.
|
LABELS_AS_BANNER |
True if rdfs:label values
are to be used as banners
in text output.
|
LOAD_ANNOTATIONS |
True if annotations should
be loaded, false if skipped.
|
MISSING_IMPORT_HANDLING_STRATEGY |
Missing imports handling
strategy.
|
MISSING_ONTOLOGY_HEADER_STRATEGY |
Default missing ontology
strategy.
|
PARSE_WITH_STRICT_CONFIGURATION |
True if strict parsing
should be used.
|
PRIORITY_COLLECTION_SORTING |
sort configuration for
priority collections
|
REMAP_IDS |
True if all anonymous
individuals should have
their ids remapped after
parsing.
|
REPAIR_ILLEGAL_PUNNINGS |
Repair illegal punnings
automatically.
|
REPORT_STACK_TRACES |
Flag to enable stack
traces on parsing exceptions.
|
RETRIES_TO_ATTEMPT |
Number of retries to
attempt when retrieving an
ontology from a remote URL.
|
SAVE_IDS |
True if ids for blank
nodes should always be
written (axioms and
anonymous individuals
only).
|
TREAT_DUBLINCORE_AS_BUILTIN |
True if Dublin Core.
|
TRIM_TO_SIZE |
True if ontologies should
be trimmed to size after load.
|
USE_NAMESPACE_ENTITIES |
True if entities should
be used for namespace
abbreviations.
|
Modifier and Type | Method | Description |
---|---|---|
static ConfigurationOptions |
find(String parameterName) |
|
<T> T |
getDefaultValue(Class<T> type) |
|
<T> T |
getValue(Class<T> type,
Map<ConfigurationOptions,Object> overrides) |
|
static ConfigurationOptions |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ConfigurationOptions[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationOptions ACCEPT_HTTP_COMPRESSION
public static final ConfigurationOptions CONNECTION_TIMEOUT
public static final ConfigurationOptions FOLLOW_REDIRECTS
public static final ConfigurationOptions LOAD_ANNOTATIONS
public static final ConfigurationOptions MISSING_IMPORT_HANDLING_STRATEGY
public static final ConfigurationOptions MISSING_ONTOLOGY_HEADER_STRATEGY
public static final ConfigurationOptions REPORT_STACK_TRACES
public static final ConfigurationOptions RETRIES_TO_ATTEMPT
public static final ConfigurationOptions PARSE_WITH_STRICT_CONFIGURATION
public static final ConfigurationOptions TREAT_DUBLINCORE_AS_BUILTIN
public static final ConfigurationOptions PRIORITY_COLLECTION_SORTING
public static final ConfigurationOptions SAVE_IDS
public static final ConfigurationOptions REMAP_IDS
public static final ConfigurationOptions USE_NAMESPACE_ENTITIES
public static final ConfigurationOptions INDENTING
public static final ConfigurationOptions INDENT_SIZE
public static final ConfigurationOptions LABELS_AS_BANNER
public static final ConfigurationOptions BANNERS_ENABLED
public static final ConfigurationOptions BANNED_PARSERS
public static final ConfigurationOptions ENTITY_EXPANSION_LIMIT
public static final ConfigurationOptions REPAIR_ILLEGAL_PUNNINGS
public static final ConfigurationOptions AUTHORIZATION_VALUE
public static final ConfigurationOptions TRIM_TO_SIZE
public static ConfigurationOptions[] values()
for (ConfigurationOptions c : ConfigurationOptions.values()) System.out.println(c);
public static ConfigurationOptions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nullable public static ConfigurationOptions find(String parameterName)
parameterName
- parameter name - by default the full name of this enumeration plus
the enum member namepublic <T> T getValue(Class<T> type, Map<ConfigurationOptions,Object> overrides)
type
- type for this valueoverrides
- local overridespublic <T> T getDefaultValue(Class<T> type)
type
- type to cast toCopyright © 2018 The University of Manchester. All rights reserved.