net.sourceforge.jeuclid.converter
Class BatikConverter

java.lang.Object
  extended by net.sourceforge.jeuclid.converter.BatikConverter
All Implemented Interfaces:
ConverterPlugin

public class BatikConverter
extends Object
implements ConverterPlugin

supports conversion to SVG output through Batik.

Version:
$Revision: 310 $
Author:
Max Berger

Method Summary
 Dimension convert(MathBase base, OutputStream outStream)
          Write the given MathBase object with its rendering parameters into the given output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convert

public Dimension convert(MathBase base,
                         OutputStream outStream)
                  throws IOException
Write the given MathBase object with its rendering parameters into the given output stream.

Specified by:
convert in interface ConverterPlugin
Parameters:
base - MathBase containing the MathML tree and the rendering parameters.
outStream - Target output stream.
Returns:
Rendering's dimension based on the spefic plugin's Graphics2D implementation.
Throws:
IOException - if an I/O error occurred during write.


Copyright © 2002-2008 The JEuclid project. All Rights Reserved.