Package org.apache.batik.parser
Class DefaultPointsHandler
- java.lang.Object
-
- org.apache.batik.parser.DefaultPointsHandler
-
- All Implemented Interfaces:
PointsHandler
public class DefaultPointsHandler extends java.lang.Object implements PointsHandler
This class provides an adapter for PointsHandler.- Version:
- $Id: DefaultPointsHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultPointsHandlerINSTANCEThe only instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultPointsHandler()This class does not need to be instantiated.
-
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
-
INSTANCE
public static final DefaultPointsHandler INSTANCE
The only instance of this class.
-
-
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
-
-