Interface ImageHandlerBase

All Known Subinterfaces:
ImageHandler, PSImageHandler
All Known Implementing Classes:
AbstractAFPImageHandlerRawStream, AbstractImageHandlerGraphics2D, AFPImageHandler, AFPImageHandlerGraphics2D, AFPImageHandlerRawCCITTFax, AFPImageHandlerRawJPEG, AFPImageHandlerRawStream, AFPImageHandlerRenderedImage, AFPImageHandlerSVG, Java2DImageHandlerGraphics2D, Java2DImageHandlerRenderedImage, PCLImageHandlerGraphics2D, PCLImageHandlerRenderedImage, PDFImageHandlerGraphics2D, PDFImageHandlerRawCCITTFax, PDFImageHandlerRawJPEG, PDFImageHandlerRawPNG, PDFImageHandlerRenderedImage, PDFImageHandlerSVG, PSImageHandlerEPS, PSImageHandlerGraphics2D, PSImageHandlerRawCCITTFax, PSImageHandlerRawJPEG, PSImageHandlerRawPNG, PSImageHandlerRenderedImage, PSImageHandlerSVG

public interface ImageHandlerBase
This interface is a service provider base interface for image handlers. It only contains methods necessary for registration and is extended by sub-interfaces with the actual image handling contract.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the priority for this image handler.
    Returns the Class subclass supported by this instance.
    org.apache.xmlgraphics.image.loader.ImageFlavor[]
    Returns the ImageFlavors supported by this instance
  • Method Details

    • getPriority

      int getPriority()
      Returns the priority for this image handler. A lower value means higher priority. This information is used to build the ordered/prioritized list of supported ImageFlavors. The built-in handlers use priorities between 100 and 999.
      Returns:
      a positive integer (>0) indicating the priority
    • getSupportedImageFlavors

      org.apache.xmlgraphics.image.loader.ImageFlavor[] getSupportedImageFlavors()
      Returns the ImageFlavors supported by this instance
      Returns:
      the supported image flavors
    • getSupportedImageClass

      Class getSupportedImageClass()
      Returns the Class subclass supported by this instance.
      Returns:
      the image Class type