public class Point2DReadHandler extends AbstractXmlReadHandler
Point2D
objects from an XML element.Constructor and Description |
---|
Point2DReadHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the point under construction.
|
Point2D |
getPoint2D()
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.
|
characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
protected void startParsing(Attributes attrs) throws SAXException
startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.public Point2D getPoint2D()
public Object getObject()
Copyright © 2001–2018 JFree.org. All rights reserved.