|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.ontology.util.OntModelUtils
public class OntModelUtils
$Revision: 1.3 $
Constructor Summary | |
---|---|
OntModelUtils()
|
Method Summary | |
---|---|
static SerializableOntModelImpl |
aggregateOntModels(java.util.Set ontModelSet)
Return a single SerializableOntModelImpl that is the aggregate of all models in the given set of OntModels |
static SerializableOntModelImpl |
constructDAMLModel(java.lang.String deconstructedModel)
converts a String to a SerializableOntModelImpl. |
static java.lang.String |
deconstructDAMLModel(OntModel model)
converts a DAMLModel to a String. |
static java.lang.String |
trimDAMLModel(java.lang.String input,
java.util.Set allLoadedOntologies)
Removes the ontologies already loaded into jtp, from the given String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OntModelUtils()
Method Detail |
---|
public static java.lang.String deconstructDAMLModel(OntModel model) throws RDFException
model
- the model to be converted.
RDFException
public static SerializableOntModelImpl constructDAMLModel(java.lang.String deconstructedModel) throws RDFException
deconstructedModel
- the String to be converted.
RDFException
public static java.lang.String trimDAMLModel(java.lang.String input, java.util.Set allLoadedOntologies)
input
- the String from which to remove ontologies._allLoadedOntologies
- the Set of Strings representing names of loaded ontologies
public static SerializableOntModelImpl aggregateOntModels(java.util.Set ontModelSet)
ontModelSet
- - Set of OntModel's to be aggregated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |