ini.trakem2.tree
Class TrakEM2MLParser

java.lang.Object
  extended by ini.trakem2.tree.TrakEM2MLParser

public class TrakEM2MLParser
extends java.lang.Object

A class to parse a file in TrakEM2 XML format.


Constructor Summary
TrakEM2MLParser(java.io.InputStream xml_stream)
          Note: will close the xml_stream.
TrakEM2MLParser(java.lang.String file_path)
           
 
Method Summary
 TemplateThing getTemplateRoot()
          Get the root node of the parsed XML template tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrakEM2MLParser

public TrakEM2MLParser(java.lang.String file_path)

TrakEM2MLParser

public TrakEM2MLParser(java.io.InputStream xml_stream)
Note: will close the xml_stream.

Method Detail

getTemplateRoot

public TemplateThing getTemplateRoot()
Get the root node of the parsed XML template tree.