org.apache.xml.resolver.tools

Class ResolvingXMLReader


public class ResolvingXMLReader
extends ResolvingXMLFilter

A SAX XMLReader that performs catalog-based entity resolution.

This class implements a SAX XMLReader that performs entity resolution using the CatalogResolver. The actual, underlying parser is obtained from a SAXParserFactory.

Version:
1.0

Author:
Norman Walsh Norman.Walsh@Sun.COM

See Also:
CatalogResolver, org.xml.sax.XMLReader

Field Summary

Fields inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter

suppressExplanation

Constructor Summary

ResolvingXMLReader()
Construct a new reader from the JAXP factory.
ResolvingXMLReader(CatalogManager manager)
Construct a new reader from the JAXP factory.

Method Summary

Methods inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter

getCatalog, notationDecl, parse, parse, processingInstruction, resolveEntity, startElement, unparsedEntityDecl

Constructor Details

ResolvingXMLReader

public ResolvingXMLReader()
Construct a new reader from the JAXP factory.

In order to do its job, a ResolvingXMLReader must in fact be a filter. So the only difference between this code and the filter code is that the constructor builds a new reader.


ResolvingXMLReader

public ResolvingXMLReader(CatalogManager manager)
Construct a new reader from the JAXP factory.

In order to do its job, a ResolvingXMLReader must in fact be a filter. So the only difference between this code and the filter code is that the constructor builds a new reader.


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