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.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultPointsHandler
INSTANCE
The only instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultPointsHandler()
This class does not need to be instantiated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endPoints()
ImplementsPointsHandler.endPoints()
.void
point(float x, float y)
ImplementsPointsHandler.point(float,float)
.void
startPoints()
ImplementsPointsHandler.startPoints()
.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultPointsHandler INSTANCE
The only instance of this class.
-
-
Method Detail
-
startPoints
public void startPoints() throws ParseException
ImplementsPointsHandler.startPoints()
.- Specified by:
startPoints
in interfacePointsHandler
- Throws:
ParseException
- if an error occured while processing the points
-
point
public void point(float x, float y) throws ParseException
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
public void endPoints() throws ParseException
ImplementsPointsHandler.endPoints()
.- Specified by:
endPoints
in interfacePointsHandler
- Throws:
ParseException
- if an error occured while processing the points
-
-