]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Adjusting to changes in XmlObj, making the sample extensions compile again.
authorJeremias Maerki <jeremias@apache.org>
Sat, 14 Aug 2004 16:26:08 +0000 (16:26 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sat, 14 Aug 2004 16:26:08 +0000 (16:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197870 13f79535-47bb-0310-9956-ffa450edef68

examples/mathml/src/org/apache/fop/mathml/MathMLElement.java
examples/plan/src/org/apache/fop/plan/PlanElement.java

index adba832104e3b7088ba8522d2efdc71cefcd3768..5167aa0f45d161191d9cc4653fd9affe21b92453 100644 (file)
@@ -23,8 +23,6 @@ import java.awt.Dimension;
 import java.awt.geom.Point2D;
 
 import org.apache.fop.fo.FONode;
-import org.apache.fop.apps.FOPException;
-
 import org.w3c.dom.DOMImplementation;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -32,6 +30,7 @@ import org.w3c.dom.Node;
 
 import org.xml.sax.Attributes;
 import org.xml.sax.Locator;
+import org.xml.sax.SAXParseException;
 
 import org.apache.batik.svggen.SVGGraphics2D;
 import org.apache.batik.dom.svg.SVGDOMImplementation;
@@ -60,7 +59,7 @@ public class MathMLElement extends MathMLObj {
      * @see org.apache.fop.fo.FONode#processNode
      */
     public void processNode(String elementName, Locator locator, 
-                            Attributes attlist) throws FOPException {
+                            Attributes attlist) throws SAXParseException {
         super.processNode(elementName, locator, attlist);
         createBasicDocument();
     }
index 13010eb78381c3c931cca522b4bae17d2aebc0b4..923b7847d9ec266e5779eb697bdb0dc1149cd6b1 100644 (file)
@@ -21,11 +21,11 @@ package org.apache.fop.plan;
 import java.awt.geom.Point2D;
 
 import org.apache.fop.fo.FONode;
-import org.apache.fop.apps.FOPException;
 
 import org.w3c.dom.Document;
 import org.xml.sax.Attributes;
 import org.xml.sax.Locator;
+import org.xml.sax.SAXParseException;
 
 /**
  * This class defines the plan element.
@@ -48,7 +48,7 @@ public class PlanElement extends PlanObj {
      * @see org.apache.fop.fo.FONode#processNode
      */
     public void processNode(String elementName, Locator locator, 
-                            Attributes attlist) throws FOPException {
+                            Attributes attlist) throws SAXParseException {
         super.processNode(elementName, locator, attlist);
         createBasicDocument();
     }