Class SAXParserDemo

java.lang.Object
  |
  +--SAXParserDemo

public class SAXParserDemo
extends java.lang.Object

SAXParserDemo will take an XML file and parse it using SAX, displaying the callbacks in the parsing lifecycle.

Version:
1.0
Author:
Brett McLaughlin

Constructor Summary
SAXParserDemo()
           
 
Method Summary
static void main(java.lang.String[] args)
           This provides a command-line entry point for this demo.
 void performDemo(java.lang.String uri)
           This parses the file, using registered SAX handlers, and outputs the events in the parsing process cycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXParserDemo

public SAXParserDemo()
Method Detail

performDemo

public void performDemo(java.lang.String uri)

This parses the file, using registered SAX handlers, and outputs the events in the parsing process cycle.

Parameters:
uri - String URI of file to parse.

main

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

This provides a command-line entry point for this demo.