You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/14 16:02:36 UTC
cvs commit: xml-fop/src/java/org/apache/fop/fo FONode.java
pbwest 2004/01/14 07:02:36
Modified: src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FONode.java
Log:
SyncedFoXmlEventsBuffer renamed to SyncedXmlEventsBuffer
Changed constructor signature to take XMLEvent instead of FoXMLEvent
Moved defaultConstructorArgs to FObjects
Revision Changes Path
No revision
No revision
1.2.2.4 +4 -22 xml-fop/src/java/org/apache/fop/fo/FONode.java
Index: FONode.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/FONode.java,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -u -r1.2.2.3 -r1.2.2.4
--- FONode.java 10 Jan 2004 06:29:50 -0000 1.2.2.3
+++ FONode.java 14 Jan 2004 15:02:36 -0000 1.2.2.4
@@ -73,8 +73,8 @@
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 @@
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 <i>xmlevents</i>. */
protected XMLNamespaces namespaces;
@@ -208,24 +208,6 @@
protected FONode ancestorRefArea = null;
/**
- * The default constructor arguments for an FObject. <b>N.B.</b> not
- * all subclasses of <tt>FONode</tt> use this constructor; e.g.
- * <tt>FoRoot</tt>, <tt>FoPageSequence</tt> & <tt>FoFlow</tt>.
- * 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.
- * <p>At present, the only difference is in the addition of the
- * <tt>int.class</tt> constructor argument.
- */
- protected static final Class[] defaultConstructorArgs =
- new Class[] {
- FOTree.class
- ,FONode.class
- ,FoXMLEvent.class
- ,int.class
- };
-
- /**
* @param foTree an <tt>FOTree</tt> to which this node belongs
* @param type the fo type of this FONode.
* @param parent an <tt>FONode</tt>, the parent node of this node in
@@ -244,7 +226,7 @@
* 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
{
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org