org.apache.fop.cli

Class ImageInputHandler

Implemented Interfaces:
ErrorListener, Renderable

public class ImageInputHandler
extends InputHandler

InputHandler for the images (for example TIFF) as input.

Field Summary

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

log, sourcefile

Constructor Summary

ImageInputHandler(File imagefile, File xsltfile, Vector params)
Main constructor.

Method Summary

protected Source
createMainSource()
protected Source
createXSLTSource()

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

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

Constructor Details

ImageInputHandler

public ImageInputHandler(File imagefile,
                         File xsltfile,
                         Vector params)
Main constructor.
Parameters:
imagefile - the image file
xsltfile - XSLT file (may be null in which case the default stylesheet is used)
params - Vector of command-line parameters (name, value, name, value, ...) for XSL stylesheet, null if none

Method Details

createMainSource

protected Source createMainSource()
Overrides:
createMainSource in interface InputHandler

createXSLTSource

protected Source createXSLTSource()
Overrides:
createXSLTSource in interface InputHandler

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