Class AnnotationPolisher
java.lang.Object
de.uni_halle.informatik.biodata.mp.polishing.AbstractPolisher
de.uni_halle.informatik.biodata.mp.polishing.AnnotationPolisher
- All Implemented Interfaces:
IPolishAnnotations
,IReportStatus
-
Field Summary
Fields inherited from class de.uni_halle.informatik.biodata.mp.polishing.AbstractPolisher
polishingParameters, registry
-
Constructor Summary
ConstructorDescriptionAnnotationPolisher
(PolishingParameters polishingParameters, Registry registry) AnnotationPolisher
(PolishingParameters polishingParameters, Registry registry, List<ProgressObserver> observers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
polish
(org.sbml.jsbml.Annotation annotation) Processes the annotations of an SBML entity to potentially correct identifiers and/or retrieve additional identifiers.org URLs.Methods inherited from class de.uni_halle.informatik.biodata.mp.polishing.AbstractPolisher
equals, getObservers, hashCode, statusReport, toString
-
Constructor Details
-
AnnotationPolisher
-
AnnotationPolisher
public AnnotationPolisher(PolishingParameters polishingParameters, Registry registry, List<ProgressObserver> observers)
-
-
Method Details
-
polish
public void polish(org.sbml.jsbml.Annotation annotation) Processes the annotations of an SBML entity to potentially correct identifiers and/or retrieve additional identifiers.org URLs. This method iterates over all Controlled Vocabulary (CV) Terms in the provided Annotation object. For each resource URL in a CV Term, it checks and possibly corrects the URL or adds new URLs from identifiers.org. It then updates the CV Term with the corrected and/or additional URLs.- Specified by:
polish
in interfaceIPolishAnnotations
- Parameters:
annotation
- TheAnnotation
object associated with an SBML entity that contains CV Terms to be processed.
-