public class OWLLiteralReplacer extends Object
Constructor and Description |
---|
OWLLiteralReplacer(OWLOntologyManager owlOntologyManager,
Set<OWLOntology> ontologies) |
Modifier and Type | Method and Description |
---|---|
List<OWLOntologyChange> |
changeLiteral(OWLLiteral literal,
OWLLiteral newLiteral)
Changes a literal for another literal.
|
List<OWLOntologyChange> |
changeLiterals(Map<OWLLiteral,OWLLiteral> literalToLiteralMap) |
public OWLLiteralReplacer(@Nonnull OWLOntologyManager owlOntologyManager, @Nonnull Set<OWLOntology> ontologies)
owlOntologyManager
- the ontology manager to useontologies
- the ontologies to use@Nonnull public List<OWLOntologyChange> changeLiteral(@Nonnull OWLLiteral literal, @Nonnull OWLLiteral newLiteral)
literal
- The literal to be changednewLiteral
- The literal to use in replacements.public List<OWLOntologyChange> changeLiterals(@Nonnull Map<OWLLiteral,OWLLiteral> literalToLiteralMap)
literalToLiteralMap
- map of literals to changeCopyright © 2020 The University of Manchester. All rights reserved.