Package com.sun.resolver.tools

Sun Resolver Tools package Description

Class Summary
CatalogResolver A SAX EntityResolver/JAXP URIResolver that uses catalogs.
ResolvingParser Deprecated. This interface has been replaced by the ResolvingXMLReader for SAX2.
ResolvingXMLFilter A SAX XMLFilter that performs catalog-based entity resolution.
ResolvingXMLReader A SAX XMLReader that performs catalog-based entity resolution.
 

Package com.sun.resolver.tools Description

Sun Resolver Tools package

Copyright © 2000, 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms.

This package implements several tool classes for catalog-based entity resolution:

com.sun.resolver.tools.CatalogResolver
This class provides a SAX EntityResolver and a JAXP URIResolver.
com.sun.resolver.tools.ResolvingXMLReader
This class provides a SAX2 XMLReader with catalog support. The parser uses a CatalogResolver to provide entity resolution.
com.sun.resolver.tools.ResolvingParser
This class provides a SAX1 Parser with catalog support. The parser uses a CatalogResolver to provide entity resolution.

Typically, these classes can be used in other applications. For example, running the Saxon XSLT processor with the arguments:

    -x com.sun.resolver.tools.ResolvingXMLReader
    -y com.sun.resolver.tools.ResolvingXMLReader
    -r com.sun.resolver.tools.CatalogResolver

will provide catalog-based entity resolution for all of the entities and stylesheets that you use. (The CatalogResolver can only be used with Saxon 6.1 or later.)

Requirements

In order to use these classes, you must have the JAXP 1.1 jar files in your CLASSPATH.