Class DefaultImageHandler

    • Constructor Detail

      • DefaultImageHandler

        public DefaultImageHandler()
        Build a DefaultImageHandler.
    • Method Detail

      • handleImage

        public void handleImage​(java.awt.Image image,
                                org.w3c.dom.Element imageElement,
                                SVGGeneratorContext generatorContext)
        The handler should set the xlink:href tag and the width and height attributes.
        Specified by:
        handleImage in interface ImageHandler
      • handleImage

        public void handleImage​(java.awt.image.RenderedImage image,
                                org.w3c.dom.Element imageElement,
                                SVGGeneratorContext generatorContext)
        The handler should set the xlink:href tag and the width and height attributes.
        Specified by:
        handleImage in interface ImageHandler
      • handleImage

        public void handleImage​(java.awt.image.renderable.RenderableImage image,
                                org.w3c.dom.Element imageElement,
                                SVGGeneratorContext generatorContext)
        The handler should set the xlink:href tag and the width and height attributes.
        Specified by:
        handleImage in interface ImageHandler