public void setGeneratorRegistry ( GeneratorRegistry generatorRegistry ) { this . generatorRegistry = generatorRegistry ; this . generatorRegistry . setConfig ( this ) ; localeResolver = null ; if ( configProperties . getProperty ( JAWR_LOCALE_RESOLVER ) == null ) { localeResolver = new DefaultLocaleResolver ( ) ; } else { localeResolver = ( LocaleResolver ) ClassLoaderResourceUtils . buildObjectInstance ( configProperties . getProperty ( JAWR_LOCALE_RESOLVER ) ) ; } this . generatorRegistry . registerVariantResolver ( new LocaleVariantResolverWrapper ( localeResolver ) ) ; registerResolver ( new BrowserResolver ( ) , JAWR_BROWSER_RESOLVER ) ; registerResolver ( new ConnectionTypeResolver ( ) , JAWR_CONNECTION_TYPE_SCHEME_RESOLVER ) ; registerResolver ( new CssSkinVariantResolver ( ) , JAWR_CSS_SKIN_RESOLVER ) ; }
Set the generator registry