git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196920 13f79535-47bb-0310-9956-ffa450edef68pull/30/head
@@ -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; | |||
} | |||
} |