org.apache.fop.render
Class AbstractFOEventHandlerMaker
java.lang.Object
org.apache.fop.render.AbstractFOEventHandlerMaker
public abstract class AbstractFOEventHandlerMaker
extends java.lang.Object
Base class for factory classes which instantiate FOEventHandlers and provide information
about them.
getSupportedMimeTypes
public abstract String[] getSupportedMimeTypes()
- an array of MIME types the renderer supports.
isMimeTypeSupported
public boolean isMimeTypeSupported(String mimeType)
Indicates whether a specific MIME type is supported by this renderer.
mimeType
- the MIME type (ex. "application/rtf")
- true if the MIME type is supported
makeFOEventHandler
public abstract FOEventHandler makeFOEventHandler(FOUserAgent ua,
OutputStream out)
throws FOPException
Instantiates a new FOEventHandler.
ua
- the user agentout
- OutputStream for the FOEventHandler to use
- the newly instantiated FOEventHandler
FOPException
- if a problem occurs while creating the event handler
needsOutputStream
public abstract boolean needsOutputStream()
- Indicates whether this renderer requires an OutputStream to work with.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.