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 TypeMethodDescriptionvoid
DefaultErrorHandler.handleError
(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException
.void
ErrorHandler.handleError
(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException
.Methods in org.apache.batik.svggen that throw SVGGraphics2DIOExceptionModifier and TypeMethodDescriptionprotected void
DefaultCachedImageHandler.cacheBufferedImage
(Element imageElement, BufferedImage buf, SVGGeneratorContext generatorContext) abstract void
AbstractImageHandlerEncoder.encodeImage
(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoid
ImageHandlerBase64Encoder.encodeImage
(RenderedImage buf, OutputStream os) void
ImageHandlerJPEGEncoder.encodeImage
(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoid
ImageHandlerPNGEncoder.encodeImage
(BufferedImage buf, File imageFile) Derived classes should implement this method and encode the input BufferedImage as neededvoid
DefaultErrorHandler.handleError
(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException
.void
ErrorHandler.handleError
(SVGGraphics2DIOException ex) This method handles theSVGGraphics2DIOException
.protected void
AbstractImageHandlerEncoder.handleHREF
(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected void
AbstractImageHandlerEncoder.handleHREF
(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected void
AbstractImageHandlerEncoder.handleHREF
(Image image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected void
DefaultCachedImageHandler.handleHREF
(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This method will delegate to thehandleHREF
which uses aRenderedImage
protected void
DefaultCachedImageHandler.handleHREF
(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parametervoid
DefaultCachedImageHandler.handleHREF
(Image image, Element imageElement, SVGGeneratorContext generatorContext) The handler should set the xlink:href tag and the width and height attributes.protected void
DefaultImageHandler.handleHREF
(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected void
DefaultImageHandler.handleHREF
(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parameterprotected void
DefaultImageHandler.handleHREF
(Image image, Element imageElement, SVGGeneratorContext generatorContext) This template method should set the xlink:href attribute on the input Element parametervoid
ImageHandlerBase64Encoder.handleHREF
(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext) The handler should set the xlink:href tag and the width and height attributes.void
ImageHandlerBase64Encoder.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.void
ImageHandlerBase64Encoder.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.void
void
void
void
void
void
void
Constructors 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)