prefuse.data.io
Class TreeMLReader

java.lang.Object
  extended by prefuse.data.io.AbstractGraphReader
      extended by prefuse.data.io.TreeMLReader
All Implemented Interfaces:
GraphReader

public class TreeMLReader
extends AbstractGraphReader

GraphReader instance that reads in tree-structured data in the XML-based TreeML format. TreeML is an XML format originally created for the 2003 InfoVis conference contest. A DTD (Document Type Definition) for TreeML is available online.

Author:
jeffrey heer

Nested Class Summary
static interface TreeMLReader.Tokens
          String tokens used in the TreeML format.
 class TreeMLReader.TreeMLHandler
          A SAX Parser for TreeML data files.
 
Constructor Summary
TreeMLReader()
           
 
Method Summary
 Graph readGraph(java.io.InputStream is)
          Read in a graph from the given InputStream.
 
Methods inherited from class prefuse.data.io.AbstractGraphReader
readGraph, readGraph, readGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeMLReader

public TreeMLReader()
Method Detail

readGraph

public Graph readGraph(java.io.InputStream is)
                throws DataIOException
Description copied from interface: GraphReader
Read in a graph from the given InputStream.

Specified by:
readGraph in interface GraphReader
Specified by:
readGraph in class AbstractGraphReader
Parameters:
is - the InputStream to read the graph from
Returns:
the loaded Graph
Throws:
DataIOException
See Also:
GraphReader.readGraph(java.io.InputStream)


Copyright © 2007 Regents of the University of California