Class ResolvingXMLReader

All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader

public class ResolvingXMLReader extends ResolvingXMLFilter
An implementation of XMLReader that performs catalog resolution.

This class implements the oasis-xml-catalog processing instruction if the underlying resolver allows it.

Author:
ndw
  • Constructor Details

    • ResolvingXMLReader

      public ResolvingXMLReader()
      Construct an XML Reader with the default SAXParserFactory and resolver.

      If the reader is obtained with an XMLREADER_SUPPLIER, it is the users responsibility to configure the reader. If the parser is instantiated through ResolverFeature.SAXPARSERFACTORY_CLASS, it will be configured to be namespace aware and non-validating.

    • ResolvingXMLReader

      public ResolvingXMLReader(SAXParserFactory factory)
      Construct an XML Reader with the specified SAXParserFactory and default resolver.
      Parameters:
      factory - The factory
    • ResolvingXMLReader

      public ResolvingXMLReader(Resolver resolver)
      Construct an XML Reader with the default SAXParserFactory and the specified resolver. The default parser is configured to be namespace aware and non-validating.
      Parameters:
      resolver - The resolver
    • ResolvingXMLReader

      public ResolvingXMLReader(SAXParserFactory factory, Resolver resolver)
      Construct an XML Reader with the specified SAXParserFactory and resolver.
      Parameters:
      factory - The factory
      resolver - The resolver