|
fop 0.95 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.pdf.PDFImageHandlerRegistry
This class holds references to various image handlers used by the PDF renderer. It also supports automatic discovery of additional handlers available through the class path.
Constructor Summary | |
PDFImageHandlerRegistry()
Default constructor. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFImageHandlerRegistry()
Method Detail |
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 handled
protected PDFImageHandler getHandler(java.lang.Class imageClass)
imageClass
- the Image subclass for which to get a handler
public org.apache.xmlgraphics.image.loader.ImageFlavor[] getSupportedFlavors()
|
fop 0.95 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |