Uses of Class
org.apache.batik.svggen.SVGGraphics2DIOException
Packages that use SVGGraphics2DIOException
Package
Description
Provides an API on top of the
AbstractGraphics2D to translate
Java 2D primitives into the SVG format.-
Uses of SVGGraphics2DIOException in org.apache.batik.svggen
Methods in org.apache.batik.svggen with parameters of type SVGGraphics2DIOExceptionModifier and TypeMethodDescriptionvoidDefaultErrorHandler.handleError(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException.voidErrorHandler.handleError(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException.Methods in org.apache.batik.svggen that throw SVGGraphics2DIOExceptionModifier and TypeMethodDescriptionprotected voidDefaultCachedImageHandler.cacheBufferedImage(Element imageElement, BufferedImage buf, SVGGeneratorContext generatorContext) abstract voidAbstractImageHandlerEncoder.encodeImage(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoidImageHandlerBase64Encoder.encodeImage(RenderedImage buf, OutputStream os) voidImageHandlerJPEGEncoder.encodeImage(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoidImageHandlerPNGEncoder.encodeImage(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoidDefaultErrorHandler.handleError(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException.voidErrorHandler.handleError(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException.protected voidAbstractImageHandlerEncoder.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected voidAbstractImageHandlerEncoder.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected voidAbstractImageHandlerEncoder.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected voidDefaultCachedImageHandler.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This method will delegate to thehandleHREFwhich uses aRenderedImageprotected voidDefaultCachedImageHandler.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parametervoidDefaultCachedImageHandler.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext) The handler should set the xlink:href tag and the width and height attributes.protected voidDefaultImageHandler.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected voidDefaultImageHandler.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected voidDefaultImageHandler.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parametervoidImageHandlerBase64Encoder.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) The handler should set the xlink:href tag and the width and height attributes.voidImageHandlerBase64Encoder.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This version of handleHREF encodes the input image into a PNG image whose bytes are then encoded with Base64.voidImageHandlerBase64Encoder.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext) The handler should set the xlink:href tag and the width and height attributes.ImageCacher.lookup(ByteArrayOutputStream os, int width, int height, SVGGeneratorContext ctx) Checks if the image is already in the cache, and adds it if not.voidvoidvoidvoidvoidvoidvoidConstructors in org.apache.batik.svggen that throw SVGGraphics2DIOExceptionModifierConstructorDescriptionAbstractImageHandlerEncoder(String imageDir, String urlRoot) CachedImageHandlerJPEGEncoder(String imageDir, String urlRoot) CachedImageHandlerPNGEncoder(String imageDir, String urlRoot) ImageHandlerJPEGEncoder(String imageDir, String urlRoot) ImageHandlerPNGEncoder(String imageDir, String urlRoot)