|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SAXParserDemo
SAXParserDemo
will take an XML file and parse it
using SAX, displaying the callbacks in the parsing lifecycle.
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 |
public SAXParserDemo()
Method Detail |
public void performDemo(java.lang.String uri)
This parses the file, using registered SAX handlers, and outputs the events in the parsing process cycle.
uri
- String
URI of file to parse.public static void main(java.lang.String[] args)
This provides a command-line entry point for this demo.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |