From: Peter Bernard West Date: Wed, 14 Jan 2004 15:02:36 +0000 (+0000) Subject: SyncedFoXmlEventsBuffer renamed to SyncedXmlEventsBuffer X-Git-Tag: Alt-Design_pre_awt_renderer_import~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b21faef2ecfd433b31e3e4653d68632ea5aa0af9;p=xmlgraphics-fop.git SyncedFoXmlEventsBuffer renamed to SyncedXmlEventsBuffer Changed constructor signature to take XMLEvent instead of FoXMLEvent Moved defaultConstructorArgs to FObjects git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197166 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/FONode.java b/src/java/org/apache/fop/fo/FONode.java index 86cfc73bf..d7b9ace11 100644 --- a/src/java/org/apache/fop/fo/FONode.java +++ b/src/java/org/apache/fop/fo/FONode.java @@ -73,8 +73,8 @@ import org.apache.fop.fo.expr.PropertyException; import org.apache.fop.fo.expr.PropertyParser; import org.apache.fop.fo.properties.Property; import org.apache.fop.messaging.MessageHandler; -import org.apache.fop.xml.FoXMLEvent; -import org.apache.fop.xml.SyncedFoXmlEventsBuffer; +import org.apache.fop.xml.XMLEvent; +import org.apache.fop.xml.SyncedXmlEventsBuffer; import org.apache.fop.xml.XMLNamespaces; /** @@ -139,7 +139,7 @@ public class FONode extends Node{ PAGESEQ | FLOW | STATIC | TITLE | MC_MARKER; /** The buffer from which parser events are drawn. */ - protected final SyncedFoXmlEventsBuffer xmlevents; + protected final SyncedXmlEventsBuffer xmlevents; /** The namespaces object associated with xmlevents. */ protected XMLNamespaces namespaces; @@ -207,24 +207,6 @@ public class FONode extends Node{ /** Ancestor reference area of this FONode. */ protected FONode ancestorRefArea = null; - /** - * The default constructor arguments for an FObject. N.B. not - * all subclasses of FONode use this constructor; e.g. - * FoRoot, FoPageSequence & FoFlow. - * Generally these FObjects are not invoked through reflection. If such - * invocation becomes necessary for a particular class, a contructor of - * this kind must be added to the class. - *

At present, the only difference is in the addition of the - * int.class constructor argument. - */ - protected static final Class[] defaultConstructorArgs = - new Class[] { - FOTree.class - ,FONode.class - ,FoXMLEvent.class - ,int.class - }; - /** * @param foTree an FOTree to which this node belongs * @param type the fo type of this FONode. @@ -244,7 +226,7 @@ public class FONode extends Node{ * properties. */ public FONode - (FOTree foTree, int type, FONode parent, FoXMLEvent event, + (FOTree foTree, int type, FONode parent, XMLEvent event, int stateFlags, int[] sparsePropsMap, int[] sparseIndices) throws TreeException, FOPException, PropertyException {