|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraidcomposer.core.models.Imports
public class Imports
A collection of utility methods for handling owl:imports.
| Constructor Summary | |
|---|---|
Imports()
|
|
| Method Summary | |
|---|---|
static void |
addImport(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Adds an import from a local file to the currently selected model. |
static void |
addImport(java.net.URI importedURI,
org.eclipse.core.runtime.IProgressMonitor monitor)
Adds an import from a URL to the currently selected model. |
static java.util.Set<java.net.URI> |
getMissingImports(com.hp.hpl.jena.ontology.OntModel ontModel)
Tries to "guess" missing imports to get completely typed models. |
static void |
removeImport(java.net.URI importedURI,
boolean removeUsages,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Imports()
| Method Detail |
|---|
public static void addImport(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Exception
file - the file to import from
java.lang.Exception
public static void addImport(java.net.URI importedURI,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Exception
importedURI - the URI to import from
java.lang.Exceptionpublic static java.util.Set<java.net.URI> getMissingImports(com.hp.hpl.jena.ontology.OntModel ontModel)
ontModel - the OntModel to analyze
public static void removeImport(java.net.URI importedURI,
boolean removeUsages,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||