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(OWLOntologyManager owlOntologyManager, Set<OWLOntology> ontologies)
owlOntologyManager
- the ontology manager to useontologies
- the ontologies to usepublic List<OWLOntologyChange> changeLiteral(OWLLiteral literal, OWLLiteral newLiteral)
literal
- The literal to be changednewLiteral
- The literal to use in replacements.public List<OWLOntologyChange> changeLiterals(Map<OWLLiteral,OWLLiteral> literalToLiteralMap)
literalToLiteralMap
- map of literals to changeCopyright © 2020 The University of Manchester. All rights reserved.