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)
Parse the axioms from the given axiom string.
|
@Nullable public static String translate(@Nullable Set<OWLAxiom> axioms, @Nonnull OWLOntologyManager translationManager) throws OwlStringTools.OwlStringException
axioms
- axiomstranslationManager
- translation managerOwlStringTools.OwlStringException
- any exceptiontranslate(String, OWLOntologyManager)
@Nullable public static Set<OWLAxiom> translate(@Nullable String axioms, @Nonnull OWLOntologyManager translationManager) throws OwlStringTools.OwlStringException
axioms
- axiomstranslationManager
- translation managerOwlStringTools.OwlStringException
- any exceptiontranslate(Set,OWLOntologyManager)
Copyright © 2020 The University of Manchester. All rights reserved.