org.apache.batik.parser

Interface PointsHandler

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.
Method Summary
voidendPoints()
Invoked when the points attribute ends.
voidpoint(float x, float y)
Invoked when a point has been parsed.
voidstartPoints()
Invoked when the points attribute starts.

Method Detail

endPoints

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

Throws: ParseException if an error occured while processing the points

point

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

Parameters: x the x coordinate of the point y the y coordinate of the point

Throws: ParseException if an error occured while processing the points

startPoints

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

Throws: ParseException if an error occured while processing the points

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.