public enum MissingImportHandlingStrategy extends java.lang.Enum<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 |
---|---|
static MissingImportHandlingStrategy |
valueOf(java.lang.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 MissingImportListener
s
will be informed of the problem via their MissingImportListener.importMissing(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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null