code: public GatewayConfigTranslator getTranslator(GatewayConfigNamespace namespace) throws Exception {
          GatewayConfigTranslator result;
          for (GatewayConfigTranslatorFactorySpi factory : services) {
              result = factory.getTranslator(namespace);
              if (result != null) {
                  return result;
              }
          }
          throw new Exception("Unrecognized gateway configuration namespace " + namespace);
      }
docs: Given an incoming namespace, return the translator pipeline
  to translate a document with that namespace up to the 'current' format.
  
  @param ns
  @return
  @throws Exception