com.ibatis.sqlmap.engine.builder.xml
Class SqlMapClasspathEntityResolver

java.lang.Object
  extended by com.ibatis.sqlmap.engine.builder.xml.SqlMapClasspathEntityResolver
All Implemented Interfaces:
EntityResolver

public class SqlMapClasspathEntityResolver
extends Object
implements EntityResolver

Offline entity resolver for the iBATIS DTDs


Constructor Summary
SqlMapClasspathEntityResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, 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

SqlMapClasspathEntityResolver

public SqlMapClasspathEntityResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException
Converts a public DTD into a local one

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


Copyright © 2010. All Rights Reserved.