Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xml.resolver.tools
Class ResolvingXMLReader  view ResolvingXMLReader download ResolvingXMLReader.java

java.lang.Object
  extended byorg.xml.sax.helpers.XMLFilterImpl
      extended byorg.apache.xml.resolver.tools.ResolvingXMLFilter
          extended byorg.apache.xml.resolver.tools.ResolvingXMLReader
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.

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

Field Summary
 
Fields inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter
suppressExplanation
 
Fields inherited from class org.xml.sax.helpers.XMLFilterImpl
 
Constructor Summary
ResolvingXMLReader()
          Construct a new reader from the JAXP factory.
ResolvingXMLReader(org.apache.xml.resolver.CatalogManager manager)
          Construct a new reader from the JAXP factory.
 
Methods inherited from class org.apache.xml.resolver.tools.ResolvingXMLFilter
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

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(org.apache.xml.resolver.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.