Uses of Class
org.apache.xmlgraphics.image.loader.ImageFlavor
Packages that use ImageFlavor
Package
Description
Contains image loading and conversion infrastructure for various image
sources and an image cache.
Contains image caching infrastructure.
Contains implementations of image loaders and converters.
Contains an implementation of an image loader which uses ImageIO.
Provides an image loading and processing pipeline.
Defines service provider interfaces for the image infrastructure.
-
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader
Subclasses of ImageFlavor in org.apache.xmlgraphics.image.loaderModifier and TypeClassDescriptionclassSpecial image flavor subclass which enables the restriction to a particular MIME type.classSpecial image flavor subclass which enables the refinement to specific (sub-)flavors but maintaining compatibility to a parent (i.e.classSimple refined image flavor implementation that just differs flavors by name but allows to specify a parent flavor.classSpecial image flavor subclass which enables the restriction to a particular XML namespace.Fields in org.apache.xmlgraphics.image.loader declared as ImageFlavorModifier and TypeFieldDescriptionstatic final ImageFlavorImageFlavor.BUFFERED_IMAGEAn image in form of a BufferedImage instanceprivate static final ImageFlavorImageFlavor.DOMAn image in form of a W3C DOM instancestatic final ImageFlavorImageFlavor.GRAPHICS2DAn image in form of a Graphics2DImage (can be painted on a Graphics2D interface)private ImageFlavorRefinedImageFlavor.parentFlavorstatic final ImageFlavorImageFlavor.RAWAn image in form of a raw PNG file/streamstatic final ImageFlavorImageFlavor.RAW_CCITTFAXAn image in form of a raw CCITTFax streamstatic final ImageFlavorImageFlavor.RAW_EMFAn image in form of a raw EMF (Windows Enhanced Metafile) file/streamstatic final ImageFlavorImageFlavor.RAW_EPSAn image in form of a raw EPS (Encapsulated PostScript) file/streamstatic final ImageFlavorImageFlavor.RAW_JPEGAn image in form of a raw JPEG/JFIF file/streamstatic final ImageFlavorImageFlavor.RAW_LZWAn image in form of a raw LZW file/streamstatic final ImageFlavorImageFlavor.RAW_PDFstatic final ImageFlavorImageFlavor.RAW_PNGAn image in form of a raw PNG file/streamstatic final ImageFlavorImageFlavor.RAW_TIFFAn image in form of a raw TIFF file/streamstatic final ImageFlavorImageFlavor.RENDERED_IMAGEAn image in form of a RenderedImage instancestatic final ImageFlavorXMLNamespaceEnabledImageFlavor.SVG_DOMAn XML-based SVG image in form of a W3C DOM instancestatic final ImageFlavorImageFlavor.XML_DOMAn XML-based image in form of a W3C DOM instanceMethods in org.apache.xmlgraphics.image.loader that return ImageFlavorModifier and TypeMethodDescriptionImage.getFlavor()Returns the flavor of the image.RefinedImageFlavor.getParentFlavor()Returns the associated parent image flavor.Methods in org.apache.xmlgraphics.image.loader with parameters of type ImageFlavorModifier and TypeMethodDescriptionImageManager.convertImage(Image image, ImageFlavor[] flavors) Converts an image with no hints.ImageManager.convertImage(Image image, ImageFlavor[] flavors, Map<String, Object> hints) Converts an image.ImageManager.getImage(ImageInfo info, ImageFlavor[] flavors, Map<String, Object> hints, ImageSessionContext session) Loads an image.ImageManager.getImage(ImageInfo info, ImageFlavor[] flavors, ImageSessionContext session) Loads an image with no hints.ImageManager.getImage(ImageInfo info, ImageFlavor flavor, Map<String, Object> hints, ImageSessionContext session) Loads an image.ImageManager.getImage(ImageInfo info, ImageFlavor flavor, ImageSessionContext session) Loads an image with no hints.booleanImageFlavor.isCompatible(ImageFlavor flavor) Indicates whether a particular image flavor is compatible with this one.booleanRefinedImageFlavor.isCompatible(ImageFlavor flavor) Indicates whether a particular image flavor is compatible with this one.Constructors in org.apache.xmlgraphics.image.loader with parameters of type ImageFlavorModifierConstructorDescriptionMimeEnabledImageFlavor(ImageFlavor parentFlavor, String mime) Constructs a new image flavor.protectedRefinedImageFlavor(String name, ImageFlavor parentFlavor) Constructs a new image flavor.protectedRefinedImageFlavor(ImageFlavor parentFlavor) Constructs a new image flavor.SimpleRefinedImageFlavor(ImageFlavor parentFlavor, String name) Main constructor.XMLNamespaceEnabledImageFlavor(ImageFlavor parentFlavor, String namespace) Constructs a new image flavor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.cache
Fields in org.apache.xmlgraphics.image.loader.cache declared as ImageFlavorMethods in org.apache.xmlgraphics.image.loader.cache with parameters of type ImageFlavorModifier and TypeMethodDescriptionImageCache.getImage(String uri, ImageFlavor flavor) Returns an image from the cache or null if it wasn't found.ImageCache.getImage(ImageInfo info, ImageFlavor flavor) Returns an image from the cache or null if it wasn't found.Constructors in org.apache.xmlgraphics.image.loader.cache with parameters of type ImageFlavor -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.impl
Fields in org.apache.xmlgraphics.image.loader.impl declared as ImageFlavorModifier and TypeFieldDescriptionprivate ImageFlavorImageRawStream.flavorprivate ImageFlavorImageXMLDOM.flavorprivate static final ImageFlavor[]ImageLoaderFactoryEPS.FLAVORSprivate static final ImageFlavor[]ImageLoaderFactoryInternalTIFF.FLAVORSprivate static final ImageFlavor[]ImageLoaderFactoryPNG.FLAVORSprivate static final ImageFlavor[][]ImageLoaderFactoryRaw.FLAVORSprivate static final ImageFlavor[][]ImageLoaderFactoryRawCCITTFax.FLAVORSprivate ImageFlavorImageLoaderRaw.targetFlavorMethods in org.apache.xmlgraphics.image.loader.impl that return ImageFlavorModifier and TypeMethodDescriptionImageBuffered.getFlavor()Returns the flavor of the image.ImageGraphics2D.getFlavor()Returns the flavor of the image.ImageRawStream.getFlavor()Returns the flavor of the image.ImageRendered.getFlavor()Returns the flavor of the image.ImageXMLDOM.getFlavor()Returns the flavor of the image.ImageConverterBitmap2G2D.getSourceFlavor()Returns the flavor that this converter expects.ImageConverterBuffered2Rendered.getSourceFlavor()Returns the flavor that this converter expects.ImageConverterG2D2Bitmap.getSourceFlavor()Returns the flavor that this converter expects.ImageConverterRendered2PNG.getSourceFlavor()Returns the flavor that this converter expects.ImageLoaderFactoryEPS.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageLoaderFactoryInternalTIFF.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageLoaderFactoryPNG.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageLoaderFactoryRaw.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageLoaderFactoryRawCCITTFax.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.CompositeImageLoader.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageConverterBitmap2G2D.getTargetFlavor()Returns the flavor that this converter converts images into.ImageConverterBuffered2Rendered.getTargetFlavor()Returns the flavor that this converter converts images into.ImageConverterG2D2Bitmap.getTargetFlavor()Returns the flavor that this converter converts images into.ImageConverterRendered2PNG.getTargetFlavor()Returns the flavor that this converter converts images into.ImageLoaderEPS.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderInternalTIFF.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderPNG.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderRaw.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderRawCCITTFax.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderRawJPEG.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.ImageLoaderRawPNG.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageFlavorModifier and TypeMethodDescriptionstatic StringImageLoaderFactoryRaw.getMimeForRawFlavor(ImageFlavor flavor) Returns the MIME type for a given ImageFlavor if it is from a format that is consumed without being undecoded.static StringImageLoaderFactoryRawCCITTFax.getMimeForRawFlavor(ImageFlavor flavor) Returns the MIME type for a given ImageFlavor if it is from a format that is consumed without being undecoded.intAbstractImageLoaderFactory.getUsagePenalty(String mime, ImageFlavor flavor) Deprecated.ImageLoaderFactoryEPS.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.ImageLoaderFactoryInternalTIFF.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.ImageLoaderFactoryPNG.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.ImageLoaderFactoryRaw.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.ImageLoaderFactoryRawCCITTFax.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.Constructors in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageFlavorModifierConstructorDescriptionImageLoaderRaw(ImageFlavor targetFlavor) Main constructor.ImageRawStream(ImageInfo info, ImageFlavor flavor, InputStream in) Constructor for a simple InputStream as parameter.ImageRawStream(ImageInfo info, ImageFlavor flavor, ImageRawStream.InputStreamFactory streamFactory) Main constructor. -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.impl.imageio
Fields in org.apache.xmlgraphics.image.loader.impl.imageio declared as ImageFlavorModifier and TypeFieldDescriptionprivate static final ImageFlavor[]ImageLoaderFactoryImageIO.FLAVORSprivate ImageFlavorImageLoaderImageIO.targetFlavorMethods in org.apache.xmlgraphics.image.loader.impl.imageio that return ImageFlavorModifier and TypeMethodDescriptionImageLoaderFactoryImageIO.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageLoaderImageIO.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.impl.imageio with parameters of type ImageFlavorModifier and TypeMethodDescriptionImageLoaderFactoryImageIO.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.Constructors in org.apache.xmlgraphics.image.loader.impl.imageio with parameters of type ImageFlavor -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.pipeline
Fields in org.apache.xmlgraphics.image.loader.pipeline declared as ImageFlavorMethods in org.apache.xmlgraphics.image.loader.pipeline that return ImageFlavorModifier and TypeMethodDescriptionImageRepresentation.getFlavor()Returns the image flavor.ImageProviderPipeline.getTargetFlavor()Returns the target flavor generated by this pipeline.Methods in org.apache.xmlgraphics.image.loader.pipeline with parameters of type ImageFlavorModifier and TypeMethodDescriptionPipelineFactory.determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor targetFlavor) Determines all possible pipelines for the given image that can produce the requested target flavor.PipelineFactory.determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor[] flavors) Finds and returns an array ofImageProviderPipelineinstances which can handle the given MIME type and return one of the givenImageFlavors.PipelineFactory.determineCandidatePipelines(Image sourceImage, ImageFlavor[] flavors) Finds and returns an array ofImageProviderPipelineinstances which can handle the convert the givenImageand return one of the givenImageFlavors.private ImageProviderPipelinePipelineFactory.findPipeline(DefaultEdgeDirectory dir, ImageFlavor originFlavor, ImageRepresentation destination) PipelineFactory.newImageConverterPipeline(ImageInfo imageInfo, ImageFlavor targetFlavor) Creates and returns anImageProviderPipelinethat allows to load an image of the given MIME type and present it in the requested image flavor.PipelineFactory.newImageConverterPipeline(Image originalImage, ImageFlavor targetFlavor) Creates and returns anImageProviderPipelinethat allows to load an image of the given MIME type and present it in the requested image flavor.Constructors in org.apache.xmlgraphics.image.loader.pipeline with parameters of type ImageFlavor -
Uses of ImageFlavor in org.apache.xmlgraphics.image.loader.spi
Fields in org.apache.xmlgraphics.image.loader.spi declared as ImageFlavorModifier and TypeFieldDescriptionprivate ImageFlavorImageImplRegistry.ImageLoaderFactoryComparator.targetFlavorMethods in org.apache.xmlgraphics.image.loader.spi that return ImageFlavorModifier and TypeMethodDescriptionImageConverter.getSourceFlavor()Returns the flavor that this converter expects.ImageLoaderFactory.getSupportedFlavors(String mime) Returns an array of ImageFlavors that are supported by this implementation for a given MIME type.ImageConverter.getTargetFlavor()Returns the flavor that this converter converts images into.ImageLoader.getTargetFlavor()Returns the image flavor that is returned by this ImageLoader implementation.Methods in org.apache.xmlgraphics.image.loader.spi with parameters of type ImageFlavorModifier and TypeMethodDescriptionImageImplRegistry.getImageLoaderFactories(ImageInfo imageInfo, ImageFlavor flavor) Returns an array ofImageLoaderFactoryinstances that support the MIME type indicated by anImageInfoobject and can generate the given image flavor.ImageImplRegistry.getImageLoaderFactory(ImageInfo imageInfo, ImageFlavor flavor) Returns the best ImageLoaderFactory supporting theImageInfoand image flavor.intImageLoaderFactory.getUsagePenalty(String mime, ImageFlavor flavor) Deprecated.Redundancy withImageLoader.getUsagePenalty()ImageLoaderFactory.newImageLoader(ImageFlavor targetFlavor) Creates and returns a new ImageLoader instance.Constructors in org.apache.xmlgraphics.image.loader.spi with parameters of type ImageFlavor
ImageLoader.getUsagePenalty()