Package org.apache.batik.dom.svg
Class AbstractSVGPointList.PointsListBuilder
- java.lang.Object
-
- org.apache.batik.dom.svg.AbstractSVGPointList.PointsListBuilder
-
- All Implemented Interfaces:
PointsHandler
- Enclosing class:
- AbstractSVGPointList
protected static class AbstractSVGPointList.PointsListBuilder extends java.lang.Object implements PointsHandler
Helper class to interface thePointsParserand thePointsHandler.
-
-
Field Summary
Fields Modifier and Type Field Description protected ListHandlerlistHandlerTheListHandlerto pass newly createdSVGPointItemobjects to.
-
Constructor Summary
Constructors Constructor Description PointsListBuilder(ListHandler listHandler)Creates a new PointsListBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendPoints()ImplementsPointsHandler.endPoints().voidpoint(float x, float y)ImplementsPointsHandler.point(float,float).voidstartPoints()ImplementsPointsHandler.startPoints().
-
-
-
Field Detail
-
listHandler
protected ListHandler listHandler
TheListHandlerto pass newly createdSVGPointItemobjects to.
-
-
Constructor Detail
-
PointsListBuilder
public PointsListBuilder(ListHandler listHandler)
Creates a new PointsListBuilder.
-
-
Method Detail
-
startPoints
public void startPoints() throws ParseExceptionImplementsPointsHandler.startPoints().- Specified by:
startPointsin interfacePointsHandler- Throws:
ParseException- if an error occured while processing the points
-
point
public void point(float x, float y) throws ParseExceptionImplementsPointsHandler.point(float,float).- Specified by:
pointin interfacePointsHandler- Parameters:
x- the x coordinate of the pointy- the y coordinate of the point- Throws:
ParseException- if an error occured while processing the points
-
endPoints
public void endPoints() throws ParseExceptionImplementsPointsHandler.endPoints().- Specified by:
endPointsin interfacePointsHandler- Throws:
ParseException- if an error occured while processing the points
-
-