public class OwlStringTools extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OwlStringTools.OwlStringException
Exception indicating an un-recoverable error during the handling of axiom
strings.
|
| Constructor and Description |
|---|
OwlStringTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
translate(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms,
org.semanticweb.owlapi.model.OWLOntologyManager translationManager)
Create a string for the given set of axioms.
|
static Set<org.semanticweb.owlapi.model.OWLAxiom> |
translate(String axioms,
org.semanticweb.owlapi.model.OWLOntologyManager translationManager,
org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration config)
Parse the axioms from the given axiom string.
|
public static String translate(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms, org.semanticweb.owlapi.model.OWLOntologyManager translationManager) throws OwlStringTools.OwlStringException
axioms - axiomstranslationManager - translationManagerOwlStringTools.OwlStringException - OwlStringExceptiontranslate(String,
OWLOntologyManager,org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration)public static Set<org.semanticweb.owlapi.model.OWLAxiom> translate(String axioms, org.semanticweb.owlapi.model.OWLOntologyManager translationManager, org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration config) throws OwlStringTools.OwlStringException
axioms - axiomstranslationManager - translationManagerconfig - the loader configuration, passed to the parserOwlStringTools.OwlStringException - OwlStringExceptiontranslate(Set,OWLOntologyManager)Copyright © 2010-2015 The University of Manchester. All Rights Reserved.