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<OWLAxiom> axioms,
OWLOntologyManager translationManager)
Create a string for the given set of axioms.
|
static Set<OWLAxiom> |
translate(String axioms,
OWLOntologyManager translationManager,
OWLOntologyLoaderConfiguration config)
Parse the axioms from the given axiom string.
|
public static String translate(Set<OWLAxiom> axioms, OWLOntologyManager translationManager) throws OwlStringTools.OwlStringException
axioms - axiomstranslationManager - translationManagerOwlStringTools.OwlStringException - OwlStringExceptiontranslate(String,
OWLOntologyManager,org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration)public static Set<OWLAxiom> translate(String axioms, OWLOntologyManager translationManager, 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.