|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLOntology
| Method Summary | |
|---|---|
void |
add(OWLOntology ont)
Add the contents of ont ainto this ontology. |
void |
addImport(OWLOntology ontology)
|
java.net.URI |
getFileURI()
|
java.util.Set |
getImports()
|
java.util.Set |
getImports(boolean direct)
|
OWLKnowledgeBase |
getKB()
|
Service |
getService()
|
OWLOntology |
getTranslationSource()
If this OWL-S ontology was translated from an older version of OWL-S (using OWLSVersionTranslator) then this function will return a
reference to the original ontology. |
java.net.URI |
getURI()
|
OWLWriter |
getWriter()
|
void |
setFileURI(java.net.URI uri)
|
void |
setImports(java.util.Set imports)
|
void |
setTranslationSource(OWLOntology ontology)
|
void |
setURI(java.net.URI uri)
|
OWLOntology |
union(OWLOntology ont)
Merge the contents of this ontology with ont and return the
merged ontology. |
void |
write(java.io.OutputStream out)
|
void |
write(java.io.OutputStream out,
java.net.URI baseURI)
|
void |
write(java.io.Writer writer)
|
void |
write(java.io.Writer writer,
java.net.URI baseURI)
|
| Method Detail |
|---|
java.net.URI getURI()
void setURI(java.net.URI uri)
java.net.URI getFileURI()
void setFileURI(java.net.URI uri)
OWLKnowledgeBase getKB()
java.util.Set getImports()
java.util.Set getImports(boolean direct)
void setImports(java.util.Set imports)
void addImport(OWLOntology ontology)
OWLOntology getTranslationSource()
OWLSVersionTranslator) then this function will return a
reference to the original ontology. This way the information that
might have been lost during translation, e.g. non-OWL-S descriptions
in the original file, can still be accessed. If the ontology
originally belongs to the latest version then this function will
return a reference to itself.
void setTranslationSource(OWLOntology ontology)
Service getService()
OWLOntology union(OWLOntology ont)
ont and return the
merged ontology. Neither of the ontologies is changed. The returned
ontology is NOT loaded to the KB automatically.
ont -
void add(OWLOntology ont)
ont ainto this ontology.
ont - OWLWriter getWriter()
void write(java.io.Writer writer)
void write(java.io.Writer writer,
java.net.URI baseURI)
void write(java.io.OutputStream out)
void write(java.io.OutputStream out,
java.net.URI baseURI)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||