Package org.jfree.xml.parser.coretypes
Class Point2DReadHandler
java.lang.Object
org.jfree.xml.parser.AbstractXmlReadHandler
org.jfree.xml.parser.coretypes.Point2DReadHandler
- All Implemented Interfaces:
XmlReadHandler
A SAX handler for reading
Point2D
objects from an XML element.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the point under construction.Returns the point under construction.protected void
startParsing
(Attributes attrs) At the start of parsing, the attributes are read and used to construct the point.Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
-
Field Details
-
point
The point under construction.
-
-
Constructor Details
-
Point2DReadHandler
public Point2DReadHandler()Creates a new handler.
-
-
Method Details
-
startParsing
At the start of parsing, the attributes are read and used to construct the point.- Overrides:
startParsing
in classAbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getPoint2D
Returns the point under construction.- Returns:
- the point.
-
getObject
Returns the point under construction.- Returns:
- the point.
-