org.jfor.jfor.cocoon1
Class Cocoon1Formatter

java.lang.Object
  extended by AbstractFormatter
      extended by org.jfor.jfor.cocoon1.Cocoon1Formatter
Direct Known Subclasses:
Cocoon18FoToRtfFormatter

public class Cocoon1Formatter
extends AbstractFormatter

Formatter for Cocoon 1.8 that takes an XSL:FO document as input and converts it to RTF using the jfor Converter.

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Field Summary
static java.lang.String RTF_MIME_TYPE
          TODO is this correct, or use text/richtext or something?
 
Constructor Summary
Cocoon1Formatter()
           
 
Method Summary
 void format(org.w3c.dom.Document document, java.io.Writer writer, java.util.Dictionary p)
          format the given Document and write results to given Writer
 void init(Configurations conf)
          called by cocoon before format()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RTF_MIME_TYPE

public static final java.lang.String RTF_MIME_TYPE
TODO is this correct, or use text/richtext or something?

See Also:
Constant Field Values
Constructor Detail

Cocoon1Formatter

public Cocoon1Formatter()
Method Detail

init

public void init(Configurations conf)
called by cocoon before format()


format

public void format(org.w3c.dom.Document document,
                   java.io.Writer writer,
                   java.util.Dictionary p)
            throws java.lang.Exception
format the given Document and write results to given Writer

Throws:
java.lang.Exception