Package org.apache.ibatis.builder.xml
Class XMLMapperEntityResolver
- java.lang.Object
 - 
- org.apache.ibatis.builder.xml.XMLMapperEntityResolver
 
 
- 
- All Implemented Interfaces:
 EntityResolver
public class XMLMapperEntityResolver extends Object implements EntityResolver
Offline entity resolver for the MyBatis DTDs.- Author:
 - Clinton Begin, Eduardo Macarron
 
 
- 
- 
Constructor Summary
Constructors Constructor Description XMLMapperEntityResolver() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSourceresolveEntity(String publicId, String systemId)Converts a public DTD into a local one. 
 - 
 
- 
- 
Method Detail
- 
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException
Converts a public DTD into a local one.- Specified by:
 resolveEntityin interfaceEntityResolver- Parameters:
 publicId- The public id that is what comes after "PUBLIC"systemId- The system id that is what comes after the public id.- Returns:
 - The InputSource for the DTD
 - Throws:
 SAXException- If anything goes wrong
 
 - 
 
 -