org.apache.batik.dom.svg

Class AbstractSVGPointList.PointsListBuilder

protected class AbstractSVGPointList.PointsListBuilder extends Object implements PointsHandler

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

Field Detail

listHandler

protected ListHandler listHandler
The {@link ListHandler} to pass newly created {@link SVGPointItem} objects to.

Constructor Detail

PointsListBuilder

public PointsListBuilder(ListHandler listHandler)
Creates a new PointsListBuilder.

Method Detail

endPoints

public void endPoints()
Implements {@link PointsHandler#endPoints()}.

point

public void point(float x, float y)
Implements {@link PointsHandler#point(float,float)}.

startPoints

public void startPoints()
Implements {@link PointsHandler#startPoints()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.