Uses of Interface
org.apache.batik.svggen.ImageHandler
-
Packages that use ImageHandler Package Description org.apache.batik.svggen Provides an API on top of theAbstractGraphics2Dto translate Java 2D primitives into the SVG format. -
-
Uses of ImageHandler in org.apache.batik.svggen
Classes in org.apache.batik.svggen that implement ImageHandler Modifier and Type Class Description classAbstractImageHandlerEncoderThis abstract implementation of the ImageHandler interface is intended to be the base class for ImageHandlers that generate image files for all the images they handle.classDefaultImageHandlerThis class provides a default implementation of the ImageHandler interface simply puts a place holder in the xlink:href attribute and sets the width and height of the element.classImageHandlerBase64EncoderThis implementation of ImageHandler encodes the input image as a PNG image first, then encodes the PNG image using Base64 encoding and uses the result to encoder the image url using the data protocol.classImageHandlerJPEGEncoderThis implementation of the abstract AbstractImageHandlerEncoder class creates JPEG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.classImageHandlerPNGEncoderThis implementation of the abstract AbstractImageHandlerEncoder class creates PNG images in the image directory and sets the url pointing to that file in the xlink:href attributes of the image elements it handles.Fields in org.apache.batik.svggen declared as ImageHandler Modifier and Type Field Description protected ImageHandlerSimpleImageHandler. imageHandlerImageHandlerwhich handles xlink:href attribute setting(package private) ImageHandlerSVGGeneratorContext. imageHandlerHandler that defines how images are referenced in the generated SVG fragment.Methods in org.apache.batik.svggen that return ImageHandler Modifier and Type Method Description ImageHandlerSVGGeneratorContext. getImageHandler()Returns theImageHandlerthat has been set.ImageHandlerSVGGraphics2D. getImageHandler()Methods in org.apache.batik.svggen with parameters of type ImageHandler Modifier and Type Method Description static SVGGeneratorContextSVGGraphics2D. buildSVGGeneratorContext(org.w3c.dom.Document domFactory, ImageHandler imageHandler, ExtensionHandler extensionHandler)Helper method to create anSVGGeneratorContextfrom the constructor parameters.voidSVGGeneratorContext. setImageHandler(ImageHandler imageHandler)Sets theImageHandlerto be used.Constructors in org.apache.batik.svggen with parameters of type ImageHandler Constructor Description SimpleImageHandler(ImageHandler imageHandler)SVGGraphics2D(org.w3c.dom.Document domFactory, ImageHandler imageHandler, ExtensionHandler extensionHandler, boolean textAsShapes)
-