org.apache.xml.resolver.apps

Class resolver

public class resolver extends Object

A simple command-line resolver.

This class implements a simple command-line resolver. It takes some parameters and passes them through the resolver, printing the result.

Usage: resolver [options] keyword

Where options are:

-c catalogfile
Load a particular catalog file.
-n name
Sets the name.
-p publicId
Sets the public identifier.
-s systemId
Sets the system identifier.
-a
Absolute system URI.
-u uri
Sets the URI.
-d integer
Set the debug level.

And keyword is one of: doctype, document, entity, notation, public, system, or uri.

The process ends with error-level 1, if there errors.

Version: 1.0

Author: Norman Walsh Norman.Walsh@Sun.COM

See Also:

Method Summary
static voidmain(String[] args)
The main entry point
static voidusage()

Method Detail

main

public static void main(String[] args)
The main entry point

usage

public static void usage()
Copyright B) 2001 Apache. All Rights Reserved.