Class SVGRenderingAccuracyTest.InternalPNGTranscoder

  • All Implemented Interfaces:
    Transcoder
    Enclosing class:
    SVGRenderingAccuracyTest

    protected class SVGRenderingAccuracyTest.InternalPNGTranscoder
    extends PNGTranscoder
    Inner class which derives from the PNGTranscoder and calls the manipulateSVGDocument just before encoding happens.
    • Constructor Detail

      • InternalPNGTranscoder

        protected InternalPNGTranscoder()
    • Method Detail

      • transcode

        protected void transcode​(org.w3c.dom.Document document,
                                 java.lang.String uri,
                                 TranscoderOutput output)
                          throws TranscoderException
        Transcodes the specified Document as an image in the specified output.
        Overrides:
        transcode in class ImageTranscoder
        Parameters:
        document - the document to transcode
        uri - the uri of the document or null if any
        output - the ouput where to transcode
        Throws:
        TranscoderException - if an error occured while transcoding