code: public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
     {
        String resourceName = SYSTEM_IDS.get(systemId);
        if (resourceName != null)
        {
           InputStream in = getClass().getResourceAsStream(resourceName);
           if (in != null)
           {
              return new InputSource(in);
           }
        }
        return null;
     }
docs: {@inheritDoc}