org.apache.cocoon.formatter
Class FO2PDFFormatter

java.lang.Object
  |
  +--org.apache.cocoon.formatter.FO2PDFFormatter

public class FO2PDFFormatter
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: 2000/02/13 18:29:20 $
Author:
Stefano Mazzocchi

Constructor Summary
FO2PDFFormatter()
           
 
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, toString, wait, wait, wait
 

Constructor Detail

FO2PDFFormatter

public FO2PDFFormatter()
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-2000 Apache Software Foundation. All Rights Reserved.