Top Inners Fields Constructors Methods
com.ibm.icu.text

pack-priv Class NumberFormatServiceShim

extends NumberFormatShim
Class Inheritance
Imports
java.util.Locale, .MissingResourceException, .Set, com.ibm.icu.impl.ICULocaleService, .ICULocaleService.LocaleKey, .ICULocaleService.LocaleKeyFactory, .ICUResourceBundle, .ICUService, .ICUService.Factory, .ICUService.Key, com.ibm.icu.text.NumberFormat.NumberFormatFactory, com.ibm.icu.util.Currency, .ULocale

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static ICULocaleService

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv NumberFormat
pack-priv Locale[]
pack-priv ULocale[]
pack-priv Object
pack-priv boolean

Field Detail

serviceback to summary
private static ICULocaleService service

Constructor Detail

NumberFormatServiceShimback to summary
pack-priv NumberFormatServiceShim()

Method Detail

createInstanceback to summary
pack-priv NumberFormat createInstance(ULocale desiredLocale, int choice)

Implements abstract com.ibm.icu.text.NumberFormat.NumberFormatShim.createInstance.

getAvailableLocalesback to summary
pack-priv Locale[] getAvailableLocales()

Implements abstract com.ibm.icu.text.NumberFormat.NumberFormatShim.getAvailableLocales.

getAvailableULocalesback to summary
pack-priv ULocale[] getAvailableULocales()

Implements abstract com.ibm.icu.text.NumberFormat.NumberFormatShim.getAvailableULocales.

registerFactoryback to summary
pack-priv Object registerFactory(NumberFormat.NumberFormatFactory factory)

Implements abstract com.ibm.icu.text.NumberFormat.NumberFormatShim.registerFactory.

unregisterback to summary
pack-priv boolean unregister(Object registryKey)

Implements abstract com.ibm.icu.text.NumberFormat.NumberFormatShim.unregister.

com.ibm.icu.text back to summary

private final Class NumberFormatServiceShim.NFFactory

extends LocaleKeyFactory
Class Inheritance

Field Summary

Modifier and TypeField and Description
private NumberFormat.NumberFormatFactory
Inherited from com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory:
INVISIBLEnamevisibleVISIBLE

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
protected Set<String>
getSupportedIDs()

Overrides com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory.getSupportedIDs.

Return the set of ids that this factory supports (visible or otherwise).
Inherited from com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory:
getDisplayNamehandleCreatehandlesKeyisSupportedIDtoStringupdateVisibleIDs

Field Detail

delegateback to summary
private NumberFormat.NumberFormatFactory delegate

Constructor Detail

NFFactoryback to summary
pack-priv NFFactory(NumberFormat.NumberFormatFactory delegate)

Method Detail

createback to summary
public Object create(ICUService.Key key, ICUService srvc)

Overrides com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory.create.

Implements com.ibm.icu.impl.ICUService.Factory.create.

Doc from com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory.create.

Implement superclass abstract method. This checks the currentID of the key against the supported IDs, and passes the canonicalLocale and kind off to handleCreate (which subclasses must implement).

getSupportedIDsback to summary
protected Set<String> getSupportedIDs()

Overrides com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory.getSupportedIDs.

Doc from com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory.getSupportedIDs.

Return the set of ids that this factory supports (visible or otherwise). This can be called often and might need to be cached if it is expensive to create.

com.ibm.icu.text back to summary

private Class NumberFormatServiceShim.NFService

extends ICULocaleService
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from com.ibm.icu.impl.ICULocaleService:
createKeycreateKeycreateKeygetgetgetgetgetAvailableLocalesgetAvailableULocalesregisterObjectregisterObjectregisterObjectregisterObjectvalidateFallbackLocale

Constructor Detail

NFServiceback to summary
pack-priv NFService()