org.apache.cocoon.formatter.pdf
Class FOPFormatter

java.lang.Object
  |
  +--org.apache.cocoon.formatter.pdf.FOPFormatter

public class FOPFormatter
extends java.lang.Object
implements Formatter, Status

This class wraps around FOP classes to perform XSL:FO to PDF formatting.

Version:
$Revision: 1.2 $ $Date: 1999/10/22 22:17:53 $
Author:
Stefano Mazzocchi

Constructor Summary
FOPFormatter()
           
 
Method Summary
 void format(org.w3c.dom.Document document, java.io.Writer writer, java.util.Dictionary parameters)
          Prints the give document into a page.
 java.lang.String getMIMEType()
          Returns the MIME type used by this formatter for output.
 java.lang.String getStatus()
          Returns information about the status of the implementing class.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FOPFormatter

public FOPFormatter()
Method Detail

format

public void format(org.w3c.dom.Document document,
                   java.io.Writer writer,
                   java.util.Dictionary parameters)
            throws java.lang.Exception
Description copied from interface: Formatter
Prints the give document into a page.
Specified by:
format in interface Formatter

getMIMEType

public java.lang.String getMIMEType()
Description copied from interface: Formatter
Returns the MIME type used by this formatter for output.
Specified by:
getMIMEType in interface Formatter

getStatus

public java.lang.String getStatus()
Description copied from interface: Status
Returns information about the status of the implementing class. Note: this is use instead of the usual toString() method because some of these methods are declared final in some classes in JDK 1.1.
Specified by:
getStatus in interface Status


Copyright 1999 Java Apache Project. All Rights Reserved.