it.eng.spagobi.engines.geo.map.utils
Class SVGMapSaver

java.lang.Object
  extended by it.eng.spagobi.engines.geo.map.utils.SVGMapSaver

public class SVGMapSaver
extends java.lang.Object

The Class SVGMapSaver.

Author:
Andrea Gioia

Constructor Summary
SVGMapSaver()
           
 
Method Summary
static void saveMap(org.w3c.dom.svg.SVGDocument doc, java.io.File ouputFile)
          Save map.
static void saveMap(org.w3c.dom.svg.SVGDocument doc, java.io.OutputStream outputStream)
          Save map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGMapSaver

public SVGMapSaver()
Method Detail

saveMap

public static void saveMap(org.w3c.dom.svg.SVGDocument doc,
                           java.io.File ouputFile)
                    throws java.io.FileNotFoundException,
                           javax.xml.transform.TransformerException
Save map.

Parameters:
doc - the doc
ouputFile - the ouput file
Throws:
java.io.FileNotFoundException - the file not found exception
javax.xml.transform.TransformerException - the transformer exception

saveMap

public static void saveMap(org.w3c.dom.svg.SVGDocument doc,
                           java.io.OutputStream outputStream)
                    throws javax.xml.transform.TransformerException
Save map.

Parameters:
doc - the doc
outputStream - the output stream
Throws:
javax.xml.transform.TransformerException - the transformer exception