Package com.ibm.icu.text
Class NumberFormatServiceShim.NFFactory
- java.lang.Object
-
- com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
-
- com.ibm.icu.text.NumberFormatServiceShim.NFFactory
-
- All Implemented Interfaces:
ICUService.Factory
- Enclosing class:
- NumberFormatServiceShim
private static final class NumberFormatServiceShim.NFFactory extends ICULocaleService.LocaleKeyFactory
-
-
Field Summary
Fields Modifier and Type Field Description private NumberFormat.NumberFormatFactory
delegate
-
Fields inherited from class com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
INVISIBLE, name, visible, VISIBLE
-
-
Constructor Summary
Constructors Constructor Description NFFactory(NumberFormat.NumberFormatFactory delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
create(ICUService.Key key, ICUService srvc)
Implement superclass abstract method.protected java.util.Set<java.lang.String>
getSupportedIDs()
Return the set of ids that this factory supports (visible or otherwise).-
Methods inherited from class com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
getDisplayName, handleCreate, handlesKey, isSupportedID, toString, updateVisibleIDs
-
-
-
-
Field Detail
-
delegate
private NumberFormat.NumberFormatFactory delegate
-
-
Constructor Detail
-
NFFactory
NFFactory(NumberFormat.NumberFormatFactory delegate)
-
-
Method Detail
-
create
public java.lang.Object create(ICUService.Key key, ICUService srvc)
Description copied from class:ICULocaleService.LocaleKeyFactory
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).- Specified by:
create
in interfaceICUService.Factory
- Overrides:
create
in classICULocaleService.LocaleKeyFactory
-
getSupportedIDs
protected java.util.Set<java.lang.String> getSupportedIDs()
Description copied from class:ICULocaleService.LocaleKeyFactory
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.- Overrides:
getSupportedIDs
in classICULocaleService.LocaleKeyFactory
-
-