com.ibatis.dao.engine.builder.xml
Class DaoClasspathEntityResolver

java.lang.Object
  extended bycom.ibatis.dao.engine.builder.xml.DaoClasspathEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class DaoClasspathEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver


Constructor Summary
DaoClasspathEntityResolver()
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Converts a public DTD into a local one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaoClasspathEntityResolver

public DaoClasspathEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Converts a public DTD into a local one

Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Parameters:
publicId - Unused but required by EntityResolver interface
systemId - The DTD that is being requested
Returns:
The InputSource for the DTD
Throws:
org.xml.sax.SAXException - If anything goes wrong