public class OntologyInstanceHelper
extends java.lang.Object
| Constructor and Description |
|---|
OntologyInstanceHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBase64EncodedXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
java.lang.String ontologyMainClassReference)
Returns the base 64 encoded XML string from ontology object instance.
|
static jade.content.onto.Ontology |
getOntology(java.lang.String ontologyClassReference)
This Method returns the instance of the Ontology, specified by it's class reference.
|
static java.lang.Object |
getOntologyObjectInstanceFromBase64EncodedXMLString(java.lang.String base64EncodedXML,
java.lang.String ontologyMainClassReference)
Returns the ontology object instance from the specified base 64 encoded XML string.
|
static java.lang.Object |
getOntologyObjectInstanceFromXMLString(java.lang.String xmlString,
jade.content.onto.Ontology ontology)
Returns the ontology object instance from XML string.
|
static java.lang.Object |
getOntologyObjectInstanceFromXMLString(java.lang.String xmlString,
java.lang.String ontologyMainClassReference)
Returns the ontology object instance from XML string.
|
static java.lang.String |
getXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
jade.content.onto.Ontology ontology)
Returns the XML string from the ontology object instance.
|
static java.lang.String |
getXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
java.lang.String ontologyMainClassReference)
Returns the XML string from the ontology object instance.
|
public static java.lang.Object getOntologyObjectInstanceFromBase64EncodedXMLString(java.lang.String base64EncodedXML,
java.lang.String ontologyMainClassReference)
base64EncodedXML - the base 64 encoded XMLontologyMainClassReference - the main class reference of the ontologypublic static java.lang.Object getOntologyObjectInstanceFromXMLString(java.lang.String xmlString,
java.lang.String ontologyMainClassReference)
xmlString - the XML string of the instance to createontologyMainClassReference - the main class reference of the ontologypublic static java.lang.Object getOntologyObjectInstanceFromXMLString(java.lang.String xmlString,
jade.content.onto.Ontology ontology)
xmlString - the XML string of the instance to createontology - the ontology, where the actual class of the XML string is definedpublic static java.lang.String getBase64EncodedXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
java.lang.String ontologyMainClassReference)
ontologyInstance - the ontology instanceontologyMainClassReference - the ontology main class referencepublic static java.lang.String getXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
java.lang.String ontologyMainClassReference)
ontologyInstance - the ontology instanceontologyMainClassReference - the ontology main class referencepublic static java.lang.String getXMLStringFromOntologyObjectInstance(java.lang.Object ontologyInstance,
jade.content.onto.Ontology ontology)
ontologyInstance - the ontology instanceontology - the ontology, where the actual class of the XML string is definedpublic static jade.content.onto.Ontology getOntology(java.lang.String ontologyClassReference)
ontologyClassReference - the ontology class reference