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(@Nonnull OWLOntology ontology)
ontology - ontology to visitpublic MacroExpansionVisitor(@Nonnull OWLOntology ontology, boolean shouldAddExpansionMarker)
ontology - ontology to visitshouldAddExpansionMarker - true if expansion should be addedpublic MacroExpansionVisitor(@Nonnull OWLOntology ontology, boolean shouldTransferAnnotations, boolean shouldAddExpansionMarker)
ontology - ontology to visitshouldTransferAnnotations - true if annotations should be transferredshouldAddExpansionMarker - true if expansion should be addedpublic MacroExpansionVisitor(@Nonnull OWLOntology inputOntology, Set<OWLAnnotation> extraAnnotations, boolean shouldTransferAnnotations, boolean shouldAddExpansionMarker)
inputOntology - input ontologyextraAnnotations - extra annotations to addshouldTransferAnnotations - true if annotations should be transferredshouldAddExpansionMarker - true if expansion should be added@Nonnull public 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.