Package org.apache.fop.cli
Class AreaTreeInputHandler
java.lang.Object
org.apache.fop.cli.InputHandler
org.apache.fop.cli.AreaTreeInputHandler
- All Implemented Interfaces:
ErrorListener,Renderable
InputHandler for the area tree XML (the old intermediate format) as input.
-
Field Summary
Fields inherited from class org.apache.fop.cli.InputHandler
log, sourcefile -
Constructor Summary
ConstructorsConstructorDescriptionAreaTreeInputHandler(File atfile) Constructor for area tree XML inputAreaTreeInputHandler(File xmlfile, File xsltfile, Vector params) Constructor for XML->XSLT->area tree XML input -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderTo(FOUserAgent userAgent, String outputFormat, OutputStream out) Generate a document, given an initialized Fop objectMethods inherited from class org.apache.fop.cli.InputHandler
createCatalogResolver, createMainSource, createXSLTSource, error, fatalError, renderTo, transformTo, transformTo, warning
-
Constructor Details
-
AreaTreeInputHandler
Constructor for XML->XSLT->area tree XML input- Parameters:
xmlfile- XML filexsltfile- XSLT fileparams- Vector of command-line parameters (name, value, name, value, ...) for XSL stylesheet, null if none
-
AreaTreeInputHandler
Constructor for area tree XML input- Parameters:
atfile- the file to read the area tree document.
-
-
Method Details
-
renderTo
public void renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out) throws FOPException Generate a document, given an initialized Fop object- Overrides:
renderToin classInputHandler- Parameters:
userAgent- the user agentoutputFormat- 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
-