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, startElementprotected void startParsing(Attributes attrs) throws SAXException
startParsing in class AbstractXmlReadHandlerattrs - the attributes.SAXException - if there is a parsing error.public Point2D getPoint2D()
public Object getObject()
Copyright © 2009-2012 jtstand.com. All Rights Reserved.