org.apache.fop.cli

Class AreaTreeInputHandler

Implemented Interfaces:
ErrorListener, Renderable

public class AreaTreeInputHandler
extends InputHandler

InputHandler for the area tree XML (intermediate format) as input.

Field Summary

Fields inherited from class org.apache.fop.cli.InputHandler

log, sourcefile

Constructor Summary

AreaTreeInputHandler(File atfile)
Constructor for area tree XML input
AreaTreeInputHandler(File xmlfile, File xsltfile, Vector params)
Constructor for XML->XSLT->area tree XML input

Method Summary

void
renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out)

Methods inherited from class org.apache.fop.cli.InputHandler

createMainSource, createXSLTSource, error, fatalError, renderTo, renderTo, transformTo, transformTo, warning

Constructor Details

AreaTreeInputHandler

public AreaTreeInputHandler(File atfile)
Constructor for area tree XML input
Parameters:
atfile - the file to read the area tree document.

AreaTreeInputHandler

public AreaTreeInputHandler(File xmlfile,
                            File xsltfile,
                            Vector params)
Constructor for XML->XSLT->area tree 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

Method Details

renderTo

public void renderTo(FOUserAgent userAgent,
                     String outputFormat,
                     OutputStream out)
            throws FOPException
Overrides:
renderTo in interface InputHandler

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.