edu.mssm.crover.domain2d
Class DisulfidBridgeTranslator

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.DisulfidBridgeTranslator
All Implemented Interfaces:
AnnotationParser

public class DisulfidBridgeTranslator
extends java.lang.Object
implements AnnotationParser

Translates Disulfide_Annotation to a Drawing to be rendered on a Diagram.


Constructor Summary
DisulfidBridgeTranslator()
           
 
Method Summary
 Drawing parseAnnotation(BiologicalAnnotation ann, AnnotationsToDrawings translator)
          Parse Disulfide_Annotation and translates it as a drawing (DisulfidBridgeDrawing).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisulfidBridgeTranslator

public DisulfidBridgeTranslator()
Method Detail

parseAnnotation

public Drawing parseAnnotation(BiologicalAnnotation ann,
                               AnnotationsToDrawings translator)
Parse Disulfide_Annotation and translates it as a drawing (DisulfidBridgeDrawing). Ignores all annotations which are not DisulfideBridge_Annotation.

Specified by:
parseAnnotation in interface AnnotationParser
Parameters:
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 DisulfidBridgeDrawing instance that represent the annotation.


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.