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 Object
implements PointsHandler
Helper class to interface the
PointsParser
and the
PointsHandler
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ListHandler
TheListHandler
to pass newly createdSVGPointItem
objects to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
ImplementsPointsHandler.endPoints()
.void
point
(float x, float y) ImplementsPointsHandler.point(float,float)
.void
ImplementsPointsHandler.startPoints()
.
-
Field Details
-
listHandler
TheListHandler
to pass newly createdSVGPointItem
objects to.
-
-
Constructor Details
-
PointsListBuilder
Creates a new PointsListBuilder.
-
-
Method Details
-
startPoints
ImplementsPointsHandler.startPoints()
.- Specified by:
startPoints
in interfacePointsHandler
- Throws:
ParseException
- if an error occured while processing the points
-
point
ImplementsPointsHandler.point(float,float)
.- Specified by:
point
in 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
ImplementsPointsHandler.endPoints()
.- Specified by:
endPoints
in interfacePointsHandler
- Throws:
ParseException
- if an error occured while processing the points
-