code: public static ComponentFactory create(InputStream configuration) {
      ComponentFactory factory = null;
      factory = new ComponentFactory(LanguageConfigurationUtil.get(configuration));
      return factory;
    }
docs: Creates a {@link ComponentFactory} from a configuration file. The stream
  remains open after execution.
  
  @param configuration
  the configuration XML, that conforms with
  languageConfiguration.xsd
  @return a {@link ComponentFactory}