transcode(transInput, transOutput); } catch (TranscoderException e) { throw new SAXException(e); } }
transcoder.addTranscodingHint(JPEGTranscoder.KEY_HEIGHT, new Float(this.height)); }  transcode(transInput, transOutput); } catch (TranscoderException e) { throw new SAXException(e); } }
    public void endDocument() throws SAXException {        try {            super.endDocument();            TranscoderInput transInput = new TranscoderInput(super.document);            // Buffering is done by the pipeline (See shouldSetContentLength)            TranscoderOutput transOutput = new TranscoderOutput(this.out);            if ((this.width > 0.0) && (this.height > 0.0)) {                transcoder.addTranscodingHint(JPEGTranscoder.KEY_WIDTH,                    new Float(this.width));                transcoder.addTranscodingHint(JPEGTranscoder.KEY_HEIGHT,                    new Float(this.height));            }            transcode(transInput, transOutput);        } catch (TranscoderException e) {            throw new SAXException(e);        }    }