From: Joerg Pietschmann Date: Sun, 23 Feb 2003 20:27:41 +0000 (+0000) Subject: Added comments on what to use instead to deprecated methods. X-Git-Tag: fop-0_20_5rc3~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f4ee7ab3728a7d264f2a3c7e41491250a49c100;p=xmlgraphics-fop.git Added comments on what to use instead to deprecated methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195978 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/TraxInputHandler.java b/src/org/apache/fop/apps/TraxInputHandler.java index df6cd5d3f..9e2751f1a 100644 --- a/src/org/apache/fop/apps/TraxInputHandler.java +++ b/src/org/apache/fop/apps/TraxInputHandler.java @@ -73,7 +73,8 @@ public class TraxInputHandler extends InputHandler { } /** - * overwrites the method of the super class to return the xmlfile + * Overwrites the method of the super class to return the xmlfile. + * Use run(Driver driver) instead. * @deprecated */ public InputSource getInputSource() { @@ -84,9 +85,10 @@ public class TraxInputHandler extends InputHandler { } /** - * overwrites this method of the super class and returns an XMLFilter - instead of a - * simple XMLReader which allows chaining of transformations + * Overwrites this method of the super class and returns an + * XMLFilter instead of a simple XMLReader which allows chaining + * of transformations. + * Use run(Driver driver) instead. * @deprecated * */ diff --git a/src/org/apache/fop/apps/XSLTInputHandler.java b/src/org/apache/fop/apps/XSLTInputHandler.java index dcfa7eb8a..0beef1dee 100644 --- a/src/org/apache/fop/apps/XSLTInputHandler.java +++ b/src/org/apache/fop/apps/XSLTInputHandler.java @@ -19,6 +19,7 @@ import java.io.*; * XSLTInputHandler takes an XML input, transforms it with XSLT * and provides the resulting xsl:fo document as input for the * FOP driver. + * Use TraxInputHandler instead. */ public class XSLTInputHandler extends InputHandler { private TraxInputHandler traxInputHandler; @@ -40,6 +41,7 @@ public class XSLTInputHandler extends InputHandler { /** * Get the InputSource. + * Use TraxInputHandler run(Driver driver) instead. * @deprecated */ public InputSource getInputSource() { @@ -48,6 +50,7 @@ public class XSLTInputHandler extends InputHandler { /** * Get the parser, actually an XML filter. + * Use TraxInputHandler run(Driver driver) instead. * @deprecated */ public XMLReader getParser() throws FOPException {