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:05:03 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo FOTree.java

pbwest      2004/01/14 07:05:03

  Modified:    src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
                        FOTree.java
  Log:
  SyncedFoXmlEventsBuffer renamed to SyncedXmlEventsBuffer
  Some instances of FoXMLEvent changed to XMLEvent
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +10 -10    xml-fop/src/java/org/apache/fop/fo/Attic/FOTree.java
  
  Index: FOTree.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/FOTree.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- FOTree.java	5 Jul 2003 19:26:05 -0000	1.1.2.1
  +++ FOTree.java	14 Jan 2004 15:05:02 -0000	1.1.2.2
  @@ -63,8 +63,8 @@
   import org.apache.fop.datatypes.PropertyValue;
   import org.apache.fop.fo.expr.PropertyException;
   import org.apache.fop.fo.expr.PropertyParser;
  -import org.apache.fop.xml.FoXMLEvent;
  -import org.apache.fop.xml.SyncedFoXmlEventsBuffer;
  +import org.apache.fop.xml.SyncedXmlEventsBuffer;
  +import org.apache.fop.xml.XMLEvent;
   
   /**
    * <tt>FOTree</tt> is the class that generates and maintains the FO Tree.
  @@ -80,7 +80,7 @@
        * The buffer from which the <tt>XMLEvent</tt>s from the parser will
        * be read.  <tt>protected</tt> so that FONode can access it.
        */
  -    protected SyncedFoXmlEventsBuffer xmlevents;
  +    protected SyncedXmlEventsBuffer xmlevents;
       private Thread parserThread;
       private boolean errorDump;
   
  @@ -94,7 +94,7 @@
        * @param xmlevents the buffer from which <tt>XMLEvent</tt>s from the
        * parser are read.
        */
  -    public FOTree(SyncedFoXmlEventsBuffer xmlevents)
  +    public FOTree(SyncedXmlEventsBuffer xmlevents)
           throws PropertyException
       {
           super();
  @@ -139,7 +139,7 @@
        * parser events.
        * @return <i>xmlevents</i>.
        */
  -    public SyncedFoXmlEventsBuffer getXmlevents() {
  +    public SyncedXmlEventsBuffer getXmlevents() {
           return xmlevents;
       }
   
  @@ -149,7 +149,7 @@
        */
       public void run() {
           FoRoot foRoot;
  -        FoXMLEvent event;
  +        XMLEvent event;
           try {
               // Let the parser look after STARTDOCUMENT and the correct
               // positioning of the root element
  @@ -158,7 +158,7 @@
               foRoot.buildFoTree();
               System.out.println("Back from buildFoTree");
               // Clean up the fo:root event
  -            event = xmlevents.getEndElement(SyncedFoXmlEventsBuffer.DISCARD_EV, event);
  +            event = xmlevents.getEndElement(SyncedXmlEventsBuffer.DISCARD_EV, event);
               // Get the end of document
               xmlevents.getEndDocument();
           } catch (Exception e) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org