XmlReadHandler
public class Point2DReadHandler extends AbstractXmlReadHandler
Point2D
objects from an XML element.Constructor | Description |
---|---|
Point2DReadHandler() |
Creates a new handler.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getObject() |
Returns the point under construction.
|
java.awt.geom.Point2D |
getPoint2D() |
Returns the point under construction.
|
protected void |
startParsing(org.xml.sax.Attributes attrs) |
At the start of parsing, the attributes are read and used to construct the point.
|
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
public Point2DReadHandler()
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.org.xml.sax.SAXException
- if there is a parsing error.public java.awt.geom.Point2D getPoint2D()
public java.lang.Object getObject()