FileDocCategorySizeDatePackage
SAXLister.javaAPI DocExample1696Sun Mar 14 11:19:18 GMT 2004None

SAXLister

public class SAXLister extends Object
Simple lister - extract name and children tags from a user file. Version for SAX 2.0
author
Ian Darwin
version
$Id: SAXLister.java,v 1.12 2004/03/14 17:19:18 ian Exp $

Fields Summary
Constructors Summary
public SAXLister(String[] args)

		XMLReader parser = XMLReaderFactory
				.createXMLReader();
		// should load properties rather than hardcoding class name
		parser.setContentHandler(new PeopleHandler());
		parser.parse(args.length == 1 ? args[0] : "people.xml");
	
Methods Summary
public static voidmain(java.lang.String[] args)

		new SAXLister(args);