import java.util.Enumeration;


public abstract class FeatureDrafter1 extends Drafter
{
    //[1
    protected void drawFeature(Feature feature)
    {
       Enumeration       points;
       Point             p;
       

       points = feature.points();

       p = (Point)e.nextElement();
       moveTo(p);
          
       if (!e.hasMoreElements()) // The Feature is a Point
       {
          drawTo(p);
       }
       else                     // The Feature is a LineSegment, etc...
       {
          while (e.hasMoreElements())
          {
             p = (Point)e.nextElement();
             drawTo(p);
          }
       }
    }
    //]1
}
