vmote 2003/08/11 10:44:15
Modified: src/java/org/apache/fop/apps Driver.java
Log:
some javadoc changes
Revision Changes Path
1.18 +7 -7 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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Driver.java 5 Aug 2003 22:39:51 -0000 1.17
+++ Driver.java 11 Aug 2003 17:44:15 -0000 1.18
@@ -197,7 +197,7 @@
private Renderer renderer;
/**
- * the structure handler
+ * the SAX ContentHandler
*/
private FOInputHandler foInputHandler;
@@ -510,12 +510,12 @@
}
/**
- * Returns the tree builder (a SAX ContentHandler).
- *
- * Used in situations where SAX is used but not via a FOP-invoked
- * SAX parser. A good example is an XSLT engine that fires SAX
- * events but isn't a SAX Parser itself.
- * @return a content handler for handling the SAX events.
+ * Determines which SAX ContentHandler is appropriate for the rendererType.
+ * Structure renderers (e.g. MIF & RTF) each have a specialized
+ * ContentHandler that directly place data into the output stream. Layout
+ * renderers (e.g. PDF & PostScript) use a ContentHandler that builds an FO
+ * Tree.
+ * @return a SAX ContentHandler for handling the SAX events.
*/
public ContentHandler getContentHandler() {
if (!isInitialized()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]