public class AreaTreeInputHandler extends InputHandler
log, sourcefile
Constructor and Description |
---|
AreaTreeInputHandler(java.io.File atfile)
Constructor for area tree XML input
|
AreaTreeInputHandler(java.io.File xmlfile,
java.io.File xsltfile,
java.util.Vector params)
Constructor for XML->XSLT->area tree XML input
|
Modifier and Type | Method and Description |
---|---|
void |
renderTo(FOUserAgent userAgent,
java.lang.String outputFormat,
java.io.OutputStream out)
Generate a document, given an initialized Fop object
|
createCatalogResolver, createMainSource, createXSLTSource, error, fatalError, renderTo, transformTo, transformTo, warning
public AreaTreeInputHandler(java.io.File xmlfile, java.io.File xsltfile, java.util.Vector params)
xmlfile
- XML filexsltfile
- XSLT fileparams
- Vector of command-line parameters (name, value,
name, value, ...) for XSL stylesheet, null if nonepublic AreaTreeInputHandler(java.io.File atfile)
atfile
- the file to read the area tree document.public void renderTo(FOUserAgent userAgent, java.lang.String outputFormat, java.io.OutputStream out) throws FOPException
renderTo
in class InputHandler
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)FOPException
- in case of an error during processingCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.