vmote       2003/09/17 09:48:02

  Modified:    src/java/org/apache/fop/apps Driver.java
  Log:
  add accessor methods for currentDocument
  
  Revision  Changes    Path
  1.41      +16 -1     xml-fop/src/java/org/apache/fop/apps/Driver.java
  
  Index: Driver.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Driver.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- Driver.java       17 Sep 2003 16:25:47 -0000      1.40
  +++ Driver.java       17 Sep 2003 16:48:02 -0000      1.41
  @@ -686,5 +686,20 @@
           }
       }
   
  -}
  +    /**
  +     * Public accessor for setting the currentDocument to process.
  +     * @param document the Document object that should be processed.
  +     */
  +    public void setCurrentDocument(Document document) {
  +        currentDocument = document;
  +    }
  +
  +    /**
  +     * Public accessor for getting the currentDocument
  +     * @return the currentDocument
  +     */
  +    public Document getCurrentDocument() {
  +       return currentDocument;
  +    }
   
  +}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to