|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.ontology.util.DAMLModelUtils
public class DAMLModelUtils
$Revision: 1.21 $
Constructor Summary | |
---|---|
DAMLModelUtils()
|
Method Summary | |
---|---|
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 DAMLModelUtils()
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |