NewsML Toolkit (1.0): Demos

Document Revision: $Revision: 1.3 $
Date: $Date: 2001/05/23 01:56:17 $

NewsML Explorer

The NewsML Toolkit currently contains one demo application, the NewsML Explorer. The NewsML Explorer provides a simple, interactive graphical view of a NewsML package, allowing the user to expand or collapse subtrees to see different levels of detail. The application has the following prerequisites:

The application classes are included in the main toolkit distribution; most of the implementation appears in the org.newsml.toolkit.explorer package, but the top-level application class, NewsMLExplorer, does not belong to any package.

The simplest way to use the NewsML Explorer is with the prebundled newsml-explorer.jar file: this includes all of the required libraries (including an XML parser), and allows you to start the application simply by executing the JAR file:

java -jar newsml-explorer.jar

If you are not using the prebundled JAR file, you start the application like this (after ensuring that all required libraries are installed and listed in your class path):

java NewsMLExplorer

In both cases, you can provide a URL or file name as a command-line argument, and it will be opened automatically when the application starts.