Refactored simple SAX ElementHandler to be an interface.
[debian/openrocket] / core / src / net / sf / openrocket / file / simplesax / SimpleSAX.java
index 025c8886088094ae3edb128fee0120dec069ce35..62dc35a9b3f18f22d6f29a822f499bb2df4b7437 100644 (file)
@@ -16,8 +16,8 @@ import org.xml.sax.helpers.XMLReaderFactory;
  * both.  This holds true for both the OpenRocket and RockSim design formats and the
  * RockSim engine definition format.
  * <p>
- * The actual handling is performed by subclasses of {@link ElementHandler}.  The 
- * initial handler is provided to the {@link #readXML(InputSource, ElementHandler, WarningSet)}
+ * The actual handling is performed by subclasses of {@link AbstractElementHandler}.  The 
+ * initial handler is provided to the {@link #readXML(InputSource, AbstractElementHandler, WarningSet)}
  * method.
  * 
  * @author Sampo Niskanen <sampo.niskanen@iki.fi>
@@ -33,7 +33,7 @@ public class SimpleSAX {
         * @throws IOException          if an I/O exception occurs while reading.
         * @throws SAXException         if e.g. malformed XML is encountered.
         */
-       public static void readXML(InputSource source, ElementHandler initialHandler,
+       public static void readXML(InputSource source, AbstractElementHandler initialHandler,
                        WarningSet warnings) throws IOException, SAXException {
 
                DelegatorHandler xmlhandler = new DelegatorHandler(initialHandler, warnings);