Package org.apache.batik.parser
Class DefaultPointsHandler
java.lang.Object
org.apache.batik.parser.DefaultPointsHandler
- All Implemented Interfaces:
PointsHandler
This class provides an adapter for PointsHandler.
- Version:
- $Id: DefaultPointsHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultPointsHandler
The only instance of this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
This class does not need to be instantiated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
ImplementsPointsHandler.endPoints()
.void
point
(float x, float y) ImplementsPointsHandler.point(float,float)
.void
ImplementsPointsHandler.startPoints()
.
-
Field Details
-
INSTANCE
The only instance of this class.
-
-
Constructor Details
-
DefaultPointsHandler
protected DefaultPointsHandler()This class does not need to be instantiated.
-
-
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
-