RbDe rbde-349 (20120127151154)

edu.mssm.crover.domain2d
Interface AnnotationParser

All Known Implementing Classes:
DisulfideBridgeTranslator

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:
AnnotationsToDrawings

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

Method Detail

parseAnnotation

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

Parameters:
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.
Returns:
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.