org.apache.fop.render.pdf
public class PDFImageHandlerRegistry extends java.lang.Object
| Constructor and Description |
|---|
PDFImageHandlerRegistry()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(PDFImageHandler handler)
Add an image handler.
|
void |
addHandler(java.lang.String classname)
Add an PDFImageHandler.
|
protected PDFImageHandler |
getHandler(java.lang.Class imageClass)
Returns an PDFImageHandler which handles an specific image type given the MIME type
of the image.
|
PDFImageHandler |
getHandler(org.apache.xmlgraphics.image.loader.Image img)
Returns an PDFImageHandler which handles an specific image type given the MIME type
of the image.
|
org.apache.xmlgraphics.image.loader.ImageFlavor[] |
getSupportedFlavors()
Returns the ordered array of supported image flavors.
|
public void addHandler(java.lang.String classname)
classname - the fully qualified class namepublic void addHandler(PDFImageHandler handler)
handler - the PDFImageHandler instancepublic PDFImageHandler getHandler(org.apache.xmlgraphics.image.loader.Image img)
img - the Image to be handledprotected PDFImageHandler getHandler(java.lang.Class imageClass)
imageClass - the Image subclass for which to get a handlerpublic org.apache.xmlgraphics.image.loader.ImageFlavor[] getSupportedFlavors()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.