public @Nullable String resolve(String uri) {
    try {
      Catalog catalog = myManager.getCatalog();
      if (catalog == null) return null;
      String byUri = catalog.resolveURI(uri);
      if (byUri != null) return byUri;
      String resolved = catalog.resolveSystem(uri);
      return resolved == null ? catalog.resolvePublic(uri, null) : resolved;
    }
    catch (IOException e) {
      LOG.warn(e);
      return null;
    }
  }
public @Nullable String resolve(String uri)