code: public Factory registerObject(Object obj, ULocale locale, int kind, boolean visible) {
          Factory factory = new SimpleLocaleKeyFactory(obj, locale, kind, visible);
          return registerFactory(factory);
      }
docs: Convenience function for callers using locales.  This  instantiates
  a SimpleLocaleKeyFactory, and registers the factory.