From: William Victor Mote Date: Wed, 17 Sep 2003 16:48:02 +0000 (+0000) Subject: add accessor methods for currentDocument X-Git-Tag: Root_Temp_KnuthStylePageBreaking~1086 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61c06c40922ead3eabb28cd3c6b7c13beada2906;p=xmlgraphics-fop.git add accessor methods for currentDocument git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196920 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/apps/Driver.java b/src/java/org/apache/fop/apps/Driver.java index 108b054e5..add324ed5 100644 --- a/src/java/org/apache/fop/apps/Driver.java +++ b/src/java/org/apache/fop/apps/Driver.java @@ -686,5 +686,20 @@ public class Driver implements LogEnabled { } } -} + /** + * 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; + } + +}