org.apache.batik.dom.svg

Class AbstractSVGPointList.PointsListBuilder

protected class AbstractSVGPointList.PointsListBuilder extends Object implements PointsHandler

Helper class to interface the PointsParser and the PointsHandler.
Field Summary
protected ListHandlerlistHandler
The ListHandler to pass newly created SVGPointItem objects to.
Constructor Summary
PointsListBuilder(ListHandler listHandler)
Creates a new PointsListBuilder.
Method Summary
voidendPoints()
Implements endPoints.
voidpoint(float x, float y)
Implements PointsHandler.
voidstartPoints()
Implements startPoints.

Field Detail

listHandler

protected ListHandler listHandler
The ListHandler to pass newly created SVGPointItem objects to.

Constructor Detail

PointsListBuilder

public PointsListBuilder(ListHandler listHandler)
Creates a new PointsListBuilder.

Method Detail

endPoints

public void endPoints()
Implements endPoints.

point

public void point(float x, float y)
Implements PointsHandler.

startPoints

public void startPoints()
Implements startPoints.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.