code: public static void setURIResolver(URIResolver resolver) {
          if (uriResolver != resolver) {
              uriResolver = resolver;
              transformerFactory = null;
              getTransformerFactory();
          }
      }
docs: Sets the URIResolver to use during transformations.