org.apache.batik.parser
Interface PointsHandler

All Known Implementing Classes:
AbstractSVGPointList.PointsListBuilder, AWTPolylineProducer, DefaultPointsHandler

public interface PointsHandler

This interface must be implemented and then registred as the handler of a PointsParser instance in order to be notified of parsing events.

Version:
$Id: PointsHandler.java,v 1.2 2003/08/08 11:39:18 vhardy Exp $
Author:
Stephane Hillion

Method Summary
 void endPoints()
          Invoked when the points attribute ends.
 void point(float x, float y)
          Invoked when a point has been parsed.
 void startPoints()
          Invoked when the points attribute starts.
 

Method Detail

startPoints

public void startPoints()
                 throws ParseException
Invoked when the points attribute starts.

Throws:
ParseException - if an error occured while processing the points

point

public void point(float x,
                  float y)
           throws ParseException
Invoked when a point has been parsed.

Throws:
ParseException - if an error occured while processing the points

endPoints

public void endPoints()
               throws ParseException
Invoked when the points attribute ends.

Throws:
ParseException - if an error occured while processing the points


<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.