Treeviz 0.37 2010-10-17

ch.randelshofer.tree.demo
Class XMLTree

java.lang.Object
  extended by ch.randelshofer.tree.demo.XMLTree
All Implemented Interfaces:
DemoTree

public class XMLTree
extends java.lang.Object
implements DemoTree

XMLTree produces a general purpose tree over a XML file. See XMLNodeInfo on how the XML data structure is being interpreted.

Version:
1.0 23. Juni 2008 Created.
Author:
Werner Randelshofer

Constructor Summary
XMLTree(java.io.File xmlFile)
          Creates a new instance.
 
Method Summary
 XMLNodeInfo getInfo()
           
 XMLNode getRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTree

public XMLTree(java.io.File xmlFile)
        throws java.io.IOException
Creates a new instance.

Throws:
java.io.IOException
Method Detail

getRoot

public XMLNode getRoot()
Specified by:
getRoot in interface DemoTree

getInfo

public XMLNodeInfo getInfo()
Specified by:
getInfo in interface DemoTree

Copyright 2007-2008 (c) Werner Randelshofer.
All rights reserved.