info.aduna.clustermap.export
Class XmlImageMapExporter

java.lang.Object
  extended by info.aduna.clustermap.export.XmlImageMapExporter

public class XmlImageMapExporter
extends Object

An XmlImageMapExporter is capable of saving an XML document containing an image map of the Graph to a Writer, similar to an HTML image map. In can be used in combination with an ImageExporter in order to create the corresponding image.


Constructor Summary
XmlImageMapExporter(GraphRenderer renderer)
          Create a new XmlImageMapExporter that will use the specified GraphRenderer for retrieving information about clickable regions.
 
Method Summary
 void export()
          Exports the XML document to the installed Writer.
 void setWriter(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlImageMapExporter

public XmlImageMapExporter(GraphRenderer renderer)
Create a new XmlImageMapExporter that will use the specified GraphRenderer for retrieving information about clickable regions.

Method Detail

setWriter

public void setWriter(Writer writer)

export

public void export()
            throws IOException
Exports the XML document to the installed Writer. Note that the Writer is not closed by this method.

Throws:
IOException


Copyright © 1997-2008 Aduna. All Rights Reserved.