Class ResolvingXMLReader

  extended byorg.xml.sax.helpers.XMLFilterImpl
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class ResolvingXMLReader
extends ResolvingXMLFilter

A SAX XMLReader that performs catalog-based entity resolution.

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 class implements a SAX XMLReader that performs entity resolution using the CatalogResolver. The actual, underlying parser is obtained from a SAXParserFactory.

Norman Walsh Norman.Walsh@Sun.COM
See Also:
CatalogResolver, XMLReader

Field Summary
Fields inherited from class
Constructor Summary
          Construct a new reader from the JAXP factory In order to do its job, a ResolvingXMLReader must in fact be a filter.
Methods inherited from class
getCatalog, notationDecl, parse, parse, processingInstruction, resolveEntity, startElement, unparsedEntityDecl
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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 a zero-argument constructor builds a new reader.