public interface OWL2_Loader extends Loader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
description |
static java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
void |
load(java.net.URI source,
java.net.URI manifest,
int memory,
boolean stopOnErrors,
boolean async)
Load content from a candidate resource.
|
void |
validate(java.net.URI source,
java.net.URI manifest,
int validationLevel)
Validate content for a candidate resource without performing a load.
|
clearLog, getCodingSchemeManifest, getCodingSchemeManifestURI, getCodingSchemeReferences, getLoaderPreferences, getLog, getOntologyFormat, getOptions, getStatus, load, setCodingSchemeManifest, setCodingSchemeManifestURI, setLoaderPreferences, setLoaderPreferences
getDescription, getName, getProvider, getVersion
static final java.lang.String name
static final java.lang.String description
void load(java.net.URI source, java.net.URI manifest, int memory, boolean stopOnErrors, boolean async) throws LBException
An exception is raised if resources cannot be accessed or another load operation is already in progress.
source
- URI corresponding to the OWL file.manifest
- URI corresponding to the XML document containing load
coding scheme manifest list; null if not applicable.
Must be a valid xml file for schema
http://LexGrid.org/schema/LexBIG/2007/01/CodingSchemeManifestList.xsdstopOnErrors
- True means stop if any load error is detected. False means
attempt to load what can be loaded if recoverable errors are
encountered.memorySetting
- If specified, indicates the profile used to tune
memory/performance tradeoffs. Options are:
0 = Faster/more memory (holds OWL in memory)
1 = Slower/streams to LexEVS DBasync
- Flag controlling whether load occurs in the calling thread.
If true, the load will occur in a separate asynchronous process.
If false, this method blocks until the load operation
completes or fails. Regardless of setting, the getStatus and
getLog calls are used to fetch results.LBException
void validate(java.net.URI source, java.net.URI manifest, int validationLevel) throws LBException
Returns without exception if validation succeeds.
source
- URI corresponding to the OWL file.manifest
- URI corresponding to the XML document containing load
coding scheme manifest list; null if not applicable.
Must be a valid xml file for schema
http://LexGrid.org/schema/LexBIG/2007/01/CodingSchemeManifestList.xsdvalidationLevel
- Supported levels of validation include: 0 = Verify XML is well
formed. 1 = Verify XML is valid.LBException