org.apache.xml.resolver.apps

Class resolver


public class resolver
extends java.lang.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:
ResolvingParser

Method Summary

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

Method Details

main

public static void main(String[] args)
            throws FileNotFoundException,
                   IOException
The main entry point


usage

public static void usage()


Copyright B) 2001-2003 Apache Software Foundation. All Rights Reserved.