RbDe rbde-349 (20120127151154)

Interface AnnotationParser

All Known Implementing Classes:

public interface AnnotationParser

Parses an annotation and possibly produces Drawing representation of it. This interface can be implemented for each kind of annotation to be represented graphically.

See Also:

Method Summary
 Drawing parseAnnotation(BiologicalAnnotation annotation, AnnotationsToDrawings translator)
          Parse the annotation and possibly translates it as a drawing.

Method Detail


Drawing parseAnnotation(BiologicalAnnotation annotation,
                        AnnotationsToDrawings translator)
Parse the annotation and possibly translates it as a drawing.

annotation - The BiologicalAnnotation to translate
translator - Can be used by the parser to get information required by the building of the Drawing. This information is provided by the actual implementation of the AnnotationParser.
null when no translation is desirable, or a Drawing instance that represents the annotation.

RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.