|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weblab_project.core.util.OntologyUtil
public class OntologyUtil
PoKUtil
Method Summary | |
---|---|
static java.lang.String |
getOntologyData(org.weblab_project.core.model.ontology.Ontology ontology)
Deprecated. Use PoKUtil.getPoKData(annotation) instead |
static void |
setOntologyData(org.weblab_project.core.model.ontology.Ontology ontology,
java.lang.String annotationStr)
Deprecated. Use PoKUtil.setPoKData() instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static java.lang.String getOntologyData(org.weblab_project.core.model.ontology.Ontology ontology)
String
containing the RDF statements of the Ontology
.
ontology
- Ontology
you want to get the String
content
String
content of the Annotation
org.weblab_project.core.uti.PoKUtil#getPoKData(PieceOfKnowledge pok)
@Deprecated public static void setOntologyData(org.weblab_project.core.model.ontology.Ontology ontology, java.lang.String annotationStr) throws WebLabCheckedException
Ontology
data using a String
, the parameter have to be a valid XML String
. If the parameter don't start
with '
ontology
- the Ontology
you want to modify.annotationStr
- contains the RDF/XML String
.
WebLabCheckedException
- the String
parameter is not XML valid.org.weblab_project.core.uti.PoKUtil#setPoKData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |