com.aurigalogic.aurigadoc.core
Class FOConverter

java.lang.Object
  |
  +--com.aurigalogic.aurigadoc.core.BaseConverter
        |
        +--com.aurigalogic.aurigadoc.core.FOConverter
All Implemented Interfaces:
ADConverter
Direct Known Subclasses:
PDFConverter

public class FOConverter
extends BaseConverter

This class is used for converting AurigaDoc document to xsl-fo.

Version:
$Revision: 1.7 $ $Date: 2003/09/10 09:01:11 $
Author:
Khurshidali Shaikh

Field Summary
 
Fields inherited from class com.aurigalogic.aurigadoc.core.BaseConverter
AURIGADOC_HOME, inputFile, logger, OUTPUT_HTML, OUTPUT_TEXT, OUTPUT_XML, outputFile, parameters, props, XML2AWT, XML2CHMHHC, XML2CHMHHP, XML2DHTMLFRAMESET, XML2DHTMLNAV, XML2FO, XML2HTML, XML2JHELPHS, XML2JHELPMAP, XML2JHELPTOC, XML2MAN, XML2MHTML, XML2OHJHS, XML2OHJMAP, XML2OHJTOC, XML2PDF, XML2PS, XML2RTF, XSL
 
Constructor Summary
FOConverter()
           
 
Method Summary
 void convert()
          Main method which does the conversion.
protected  void createFO(java.lang.String xslFile, java.io.InputStream in, java.io.OutputStream out)
          Generates the fo document
 
Methods inherited from class com.aurigalogic.aurigadoc.core.BaseConverter
convert, copyFiles, doTransform, getDefaultXSLUrl, getParameter, getProperty, getXSLForKey, logDebug, logError, logInfo, logWarning, setHome, setInputFile, setLogger, setOutputFile, setParameters, setTransformerParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOConverter

public FOConverter()
Method Detail

convert

public void convert()
             throws java.lang.Exception
Main method which does the conversion.

Specified by:
convert in interface ADConverter
Overrides:
convert in class BaseConverter
Throws:
java.lang.Exception - in case of an error.

createFO

protected void createFO(java.lang.String xslFile,
                        java.io.InputStream in,
                        java.io.OutputStream out)
                 throws java.lang.Exception
Generates the fo document

Parameters:
xslFile - the xsl file
in - the xml stream
out - the fo output stream
Throws:
java.lang.Exception - in case of an error.


Copyright © 2000, 2003 Auriga Logic Pvt. Ltd. All Rights Reserved.