nu.xom.samples
Class TreeViewer

java.lang.Object
  extended by nu.xom.samples.TreeViewer

public class TreeViewer
extends java.lang.Object

Demonstrates using Swing to present a graphical display of the tree structure of an XML document.

Version:
1.0
Author:
Elliotte Rusty Harold

Constructor Summary
TreeViewer()
           
 
Method Summary
static void display(nu.xom.Document doc)
           
static void main(java.lang.String[] args)
           
static javax.swing.tree.MutableTreeNode processElement(nu.xom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeViewer

public TreeViewer()
Method Detail

processElement

public static javax.swing.tree.MutableTreeNode processElement(nu.xom.Element element)

display

public static void display(nu.xom.Document doc)

main

public static void main(java.lang.String[] args)


Copyright 2002-2005 Elliotte Rusty Harold
elharo@metalab.unc.edu