base.tree
Class XMLTree

java.lang.Object
  extended by base.tree.XMLTree

public class XMLTree
extends java.lang.Object


Constructor Summary
XMLTree()
          Creates a new instance of the JDOMTree class
 
Method Summary
 javax.swing.JTree getTree()
          Returns the JTree with xml inside.
 void parseFile(java.io.File xmlFile)
          Read in an XML file to display in the tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTree

public XMLTree()
Creates a new instance of the JDOMTree class

Method Detail

getTree

public javax.swing.JTree getTree()
Returns the JTree with xml inside.

Returns:
JTree is present, or null.

parseFile

public void parseFile(java.io.File xmlFile)
               throws java.lang.Exception
Read in an XML file to display in the tree

Parameters:
xmlFile - Path to an XML file.
Throws:
java.lang.Exception