Class IFInputHandler

java.lang.Object
org.apache.fop.cli.InputHandler
org.apache.fop.cli.IFInputHandler
All Implemented Interfaces:
ErrorListener, Renderable

public class IFInputHandler extends InputHandler
InputHandler for the intermediate format XML as input.
  • Constructor Details

    • IFInputHandler

      public IFInputHandler(File xmlfile, File xsltfile, Vector params)
      Constructor for XML->XSLT->intermediate XML input
      Parameters:
      xmlfile - XML file
      xsltfile - XSLT file
      params - Vector of command-line parameters (name, value, name, value, ...) for XSL stylesheet, null if none
    • IFInputHandler

      public IFInputHandler(File iffile)
      Constructor for intermediate input
      Parameters:
      iffile - the file to read the intermediate format document from.
  • Method Details

    • renderTo

      public void renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out) throws FOPException
      Generate a document, given an initialized Fop object
      Overrides:
      renderTo in class InputHandler
      Parameters:
      userAgent - the user agent
      outputFormat - the output format to generate (MIME type, see MimeConstants)
      out - the output stream to write the generated output to (may be null if not applicable)
      Throws:
      FOPException - in case of an error during processing