Package org.apache.ibatis.builder.xml
Class XMLMapperEntityResolver
- java.lang.Object
-
- org.apache.ibatis.builder.xml.XMLMapperEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class XMLMapperEntityResolver extends java.lang.Object implements org.xml.sax.EntityResolver
Offline entity resolver for the MyBatis DTDs.- Author:
- Clinton Begin, Eduardo Macarron
-
-
Constructor Summary
Constructors Constructor Description XMLMapperEntityResolver()
-
Method Summary
Modifier and Type Method Description org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
Converts a public DTD into a local one.
-
-
-
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 interfaceorg.xml.sax.EntityResolver
- 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:
org.xml.sax.SAXException
- If anything goes wrong
-
-