simtools.images.svg.test
Class TestSVGImageFactory.TestFactoryTranscoder

java.lang.Object
  extended by SVGAbstractTranscoder
      extended by simtools.images.svg.FactoryTranscoder
          extended by simtools.images.svg.test.TestSVGImageFactory.TestFactoryTranscoder
Enclosing class:
TestSVGImageFactory

public class TestSVGImageFactory.TestFactoryTranscoder
extends FactoryTranscoder


Field Summary
 
Fields inherited from class simtools.images.svg.FactoryTranscoder
imageHolder, originalHeight, originalWidth, requestedHeight, requestedWidth
 
Constructor Summary
TestSVGImageFactory.TestFactoryTranscoder(ImageHolder ie)
           
 
Method Summary
protected  void sendImage(java.awt.image.BufferedImage arg0)
          Send the image to all the users
protected  void transcode(org.w3c.dom.Document document, java.lang.String uri, TranscoderOutput output)
          Transcodes the specified Document as an image in the specified output.
 
Methods inherited from class simtools.images.svg.FactoryTranscoder
createImage, getHeight, getWidth, rasterize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSVGImageFactory.TestFactoryTranscoder

public TestSVGImageFactory.TestFactoryTranscoder(ImageHolder ie)
Parameters:
ie - the image holder
Method Detail

transcode

protected void transcode(org.w3c.dom.Document document,
                         java.lang.String uri,
                         TranscoderOutput output)
                  throws TranscoderException
Description copied from class: FactoryTranscoder
Transcodes the specified Document as an image in the specified output.

Overrides:
transcode in class FactoryTranscoder
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

sendImage

protected void sendImage(java.awt.image.BufferedImage arg0)
Description copied from class: FactoryTranscoder
Send the image to all the users

Overrides:
sendImage in class FactoryTranscoder
Parameters:
arg0 - the painted image