|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.annotation.rework.ontology.classes.AnnotationOwlConverter
AnnotationOwlConverter.java
Converts service objects like Annotation into
OWL serializations and OWL serializations into service objects.
| Constructor Summary | |
AnnotationOwlConverter()
|
|
| Method Summary | |
protected static void |
addAnnotationSerialization(JenaModel resModel,
Annotation annotation)
Adds the OWL serialization of the specified annotation to the specified JenaModel |
protected static void |
addMVSelectionSerialization(JenaModel resModel,
AnnotationIndividual annotationIndividual,
MVSelection selection)
Adds the specified MVSelection to the specified JenaModel and the specified annotation |
protected static AnnotableObject |
createAnnotableObject(java.util.List ontologyClass,
java.lang.String id)
Creates an instance of the specified class |
protected static Annotation |
getAnnotation(JenaModel owlModel,
java.lang.String annotationUri)
Returns the specified annotation |
static java.util.List |
getAnnotations(java.lang.String owlAnnotations)
Returns all annotations, which are serialized in the specified OWL serialization. |
protected static java.lang.String |
getLocalName(java.lang.String uri)
Returns the local name of the specified URI |
protected static MVSelection |
getMVSelection(JenaModel owlModel,
java.lang.String selectionUri)
Returns the specified MVSelection |
protected static java.lang.String |
getOntologyClassName(AnnotableObject annotableObject)
Returns the name of the ontology class |
static java.lang.String |
getOwlSerialization(Annotation annotation)
Returns the OWL serialization of the specified annotation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnnotationOwlConverter()
| Method Detail |
public static java.lang.String getOwlSerialization(Annotation annotation)
throws ModelException
annotation - Annotation
ModelException
protected static void addAnnotationSerialization(JenaModel resModel,
Annotation annotation)
throws ModelException
resModel - JenaModelannotation - Annotation
ModelException
protected static void addMVSelectionSerialization(JenaModel resModel,
AnnotationIndividual annotationIndividual,
MVSelection selection)
throws ModelException
resModel - JenaModelannotationIndividual - Annotationselection - MVSelection
ModelExceptionprotected static java.lang.String getOntologyClassName(AnnotableObject annotableObject)
annotableObject - Annotable object
public static java.util.List getAnnotations(java.lang.String owlAnnotations)
throws ModelException
owlAnnotations - OWL serialization
ModelException
protected static Annotation getAnnotation(JenaModel owlModel,
java.lang.String annotationUri)
throws ModelException
owlModel - JenaModelannotationUri - URI of the annotation
ModelException
protected static MVSelection getMVSelection(JenaModel owlModel,
java.lang.String selectionUri)
throws ModelException
owlModel - JenaModelselectionUri - URI of the MVSelection object
ModelException
protected static AnnotableObject createAnnotableObject(java.util.List ontologyClass,
java.lang.String id)
ontologyClass - Ontology class nameid - Idprotected static java.lang.String getLocalName(java.lang.String uri)
uri - URI
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||