@Override
  public InputSource resolveEntity(final String name, final String publicId, final String baseURI,
      final String systemId) throws SAXException, IOException {
    if (null == systemId) {
      return null;
    }

    Matcher matcher = SYSTEM_ID_ROOT.matcher(systemId);
    if (matcher.find()) {
      return getClassPathInputSource(publicId, systemId, matcher.replaceFirst(CLASSPATH_ROOT));
    }

    return null;
  }
Resolves entities for XSDs or DTDs with SYSTEM IDs rooted at http(s)://schema.pivotal.io/ from
the classpath at /META-INF/schemas/schema.pivotal.io/.

Loaded by {@link ServiceLoader} on {@link EntityResolver2} class. See file
<code>META-INF/services/org.xml.sax.ext.EntityResolver2</code>


@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/PivotalEntityResolver.java