public class MacroExpansionVisitor extends Object
Constructor and Description |
---|
MacroExpansionVisitor(OWLOntology ontology) |
MacroExpansionVisitor(OWLOntology ontology,
boolean shouldAddExpansionMarker) |
MacroExpansionVisitor(OWLOntology ontology,
boolean shouldTransferAnnotations,
boolean shouldAddExpansionMarker) |
MacroExpansionVisitor(OWLOntology inputOntology,
Set<OWLAnnotation> extraAnnotations,
boolean shouldTransferAnnotations,
boolean shouldAddExpansionMarker) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Call this method to clear internal references.
|
OWLOntology |
expandAll() |
org.obolibrary.macro.MacroExpansionVisitor.MacroExpansions |
getMacroExpansions() |
void |
setShouldTransferAnnotations(boolean shouldTransferAnnotations) |
boolean |
shouldTransferAnnotations() |
public MacroExpansionVisitor(OWLOntology ontology)
ontology
- ontology to usepublic MacroExpansionVisitor(OWLOntology ontology, boolean shouldAddExpansionMarker)
ontology
- ontology to useshouldAddExpansionMarker
- true if expansions should be addedpublic MacroExpansionVisitor(OWLOntology ontology, boolean shouldTransferAnnotations, boolean shouldAddExpansionMarker)
ontology
- ontology to useshouldTransferAnnotations
- true if annotations should be transferredshouldAddExpansionMarker
- true if expansions should be addedpublic MacroExpansionVisitor(OWLOntology inputOntology, Set<OWLAnnotation> extraAnnotations, boolean shouldTransferAnnotations, boolean shouldAddExpansionMarker)
inputOntology
- input ontologyextraAnnotations
- extra annotations to addshouldTransferAnnotations
- true if annotations should be transferredshouldAddExpansionMarker
- true if expansions should be addedpublic org.obolibrary.macro.MacroExpansionVisitor.MacroExpansions getMacroExpansions()
public OWLOntology expandAll()
public boolean shouldTransferAnnotations()
public void setShouldTransferAnnotations(boolean shouldTransferAnnotations)
shouldTransferAnnotations
- new valuepublic void dispose()
Copyright © 2020 The University of Manchester. All rights reserved.