Class Point2DReadHandler

    • Field Detail

      • point

        private java.awt.geom.Point2D point
        The point under construction.
    • Constructor Detail

      • Point2DReadHandler

        public Point2DReadHandler()
        Creates a new handler.
    • Method Detail

      • startParsing

        protected void startParsing​(org.xml.sax.Attributes attrs)
                             throws org.xml.sax.SAXException
        At the start of parsing, the attributes are read and used to construct the point.
        Overrides:
        startParsing in class AbstractXmlReadHandler
        Parameters:
        attrs - the attributes.
        Throws:
        org.xml.sax.SAXException - if there is a parsing error.
      • getPoint2D

        public java.awt.geom.Point2D getPoint2D()
        Returns the point under construction.
        Returns:
        the point.
      • getObject

        public java.lang.Object getObject()
        Returns the point under construction.
        Returns:
        the point.