public class OWLOntologyManagerProperties
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
OWLOntologyManagerProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoadAnnotationAxioms()
Determines if annotation axioms should be loaded or discarded.
|
boolean |
isTreatDublinCoreVocabularyAsBuiltInVocabulary()
Determines if the various parsers, for formats such as RDF based formats that do not require strong typing,
should treat Dublin Core Vocabulary as built in vocabulary, so that
Dublin Core metadata properties are interpreted as annotation properties.
|
void |
restoreDefaults()
Restores the various properties to their default values.
|
void |
setLoadAnnotationAxioms(boolean loadAnnotationAxioms)
Specifies whether annotation axioms should be loaded or ignored.
|
void |
setTreatDublinCoreVocabularyAsBuiltInVocabulary(boolean treatDublinCoreVocabularyAsBuiltInVocabulary)
Specifies if the various parsers, for formats such as RDF based formats that do not require strong typing,
should treat Dublin Core Vocabulary as built in vocabulary, so that
Dublin Core metadata properties are interpreted as annotation properties.
|
public void restoreDefaults()
public boolean isLoadAnnotationAxioms()
true
if annotation axioms should be loaded
or false
if annotation axioms should be ignored.public void setLoadAnnotationAxioms(boolean loadAnnotationAxioms)
loadAnnotationAxioms
- true
if annotation axioms should be
loaded (default) or false
if annotation axioms should be ignored. Note that
this is merely a hint to parsers and loaders - a setting of false
does not guarentee that annotations won't be loaded.public boolean isTreatDublinCoreVocabularyAsBuiltInVocabulary()
true
if the Dublin Core Vocabulary should be treated as built in vocabulary and
Dublin Core properties are interpreted as annotation properties, otherwise false
. The
defaut is true
.public void setTreatDublinCoreVocabularyAsBuiltInVocabulary(boolean treatDublinCoreVocabularyAsBuiltInVocabulary)
treatDublinCoreVocabularyAsBuiltInVocabulary
- the new value