Class AbstractIFDocumentHandlerMaker
java.lang.Object
org.apache.fop.render.intermediate.AbstractIFDocumentHandlerMaker
- Direct Known Subclasses:
AFPDocumentHandlerMaker,IFSerializerMaker,PCLDocumentHandlerMaker,PDFDocumentHandlerMaker,PNGDocumentHandlerMaker,PSDocumentHandlerMaker,TIFFDocumentHandlerMaker
Base class for factory classes which instantiate
IFDocumentHandlers and provide
information about them.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String[]booleanisMimeTypeSupported(String mimeType) Indicates whether a specific MIME type is supported by this document handler.abstract IFDocumentHandlermakeIFDocumentHandler(IFContext ifContext) Instantiates a newIFDocumentHandler.abstract boolean
-
Constructor Details
-
AbstractIFDocumentHandlerMaker
public AbstractIFDocumentHandlerMaker()
-
-
Method Details
-
makeIFDocumentHandler
Instantiates a newIFDocumentHandler.- Parameters:
ifContext- the user agent- Returns:
- the newly instantiated document handler
-
needsOutputStream
public abstract boolean needsOutputStream()- Returns:
- Indicates whether this document handler requires an OutputStream to work with.
-
getSupportedMimeTypes
- Returns:
- an array of MIME types the document handler supports.
-
isMimeTypeSupported
Indicates whether a specific MIME type is supported by this document handler.- Parameters:
mimeType- the MIME type (ex. "application/pdf")- Returns:
- true if the MIME type is supported
-