public enum MissingImportHandlingStrategy extends Enum<MissingImportHandlingStrategy> implements ByName<MissingImportHandlingStrategy>
| Enum Constant and Description |
|---|
SILENT
Specifies that an
UnloadableImportException will NOT be
thrown during ontology loading if an import cannot be loaded (for what ever reason). |
THROW_EXCEPTION
Specifies that an
UnloadableImportException
WILL be thrown during ontology loading if an import cannot be
loaded. |
| Modifier and Type | Method and Description |
|---|---|
MissingImportHandlingStrategy |
byName(CharSequence name) |
static MissingImportHandlingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MissingImportHandlingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MissingImportHandlingStrategy SILENT
UnloadableImportException will NOT be
thrown during ontology loading if an import cannot be loaded (for what ever reason). Instead,
any registered MissingImportListeners will be informed
of the problem via their MissingImportListener.importMissing(org.semanticweb.owlapi.model.MissingImportEvent)
method.public static final MissingImportHandlingStrategy THROW_EXCEPTION
UnloadableImportException
WILL be thrown during ontology loading if an import cannot be
loaded.public static MissingImportHandlingStrategy[] values()
for (MissingImportHandlingStrategy c : MissingImportHandlingStrategy.values()) System.out.println(c);
public static MissingImportHandlingStrategy 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 nullpublic MissingImportHandlingStrategy byName(CharSequence name)
byName in interface ByName<MissingImportHandlingStrategy>name - the name to map to an objectCopyright © 2018 The University of Manchester. All rights reserved.