org.enhydra.apache.xerces.readers
Class XCatalog.Parser.Resolver

java.lang.Object
  |
  +--org.enhydra.apache.xerces.readers.XCatalog.Parser.Resolver
All Implemented Interfaces:
EntityResolver
Enclosing class:
XCatalog.Parser

class XCatalog.Parser.Resolver
extends java.lang.Object
implements EntityResolver

Resolver for locating the XCatalog DTD resource.


Constructor Summary
(package private) XCatalog.Parser.Resolver()
           
 
Method Summary
 InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Resolves the XCatalog DTD entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCatalog.Parser.Resolver

XCatalog.Parser.Resolver()
Method Detail

resolveEntity

public InputSource resolveEntity(java.lang.String publicId,
                                 java.lang.String systemId)
                          throws SAXException,
                                 java.io.IOException
Resolves the XCatalog DTD entity.

Specified by:
resolveEntity in interface EntityResolver
Parameters:
publicId - The public identifier of the external entity being referenced, or null if none was supplied.
systemId - The system identifier of the external entity being referenced.
Returns:
An InputSource object describing the new input source, or null to request that the parser open a regular URI connection to the system identifier.
Throws:
SAXException - Any SAX exception, possibly wrapping another exception.
java.io.IOException - A Java-specific IO exception, possibly the result of creating a new InputStream or Reader for the InputSource.
See Also:
InputSource


Copyright © 1999 The Apache Software Foundation. All Rights reserved.