nu.xom.samples
Class ElementLister

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

public class ElementLister
extends java.lang.Object

Demonstrates walking the element hierarchy of an XML document.

Version:
1.0
Author:
Elliotte Rusty Harold

Constructor Summary
ElementLister()
           
 
Method Summary
static void listChildren(nu.xom.Element current, int depth)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementLister

public ElementLister()
Method Detail

main

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

listChildren

public static void listChildren(nu.xom.Element current,
                                int depth)


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