public static class ICULocaleService.SimpleLocaleKeyFactory extends ICULocaleService.LocaleKeyFactory
INVISIBLE, name, visible, VISIBLE| Constructor and Description |
|---|
SimpleLocaleKeyFactory(Object obj,
ULocale locale,
int kind,
boolean visible) |
SimpleLocaleKeyFactory(Object obj,
ULocale locale,
int kind,
boolean visible,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(ICUService.Key key,
ICUService service)
Returns the service object if kind/locale match.
|
protected boolean |
isSupportedID(String idToCheck)
Return true if this id is one the factory supports (visible or
otherwise).
|
String |
toString()
For debugging.
|
void |
updateVisibleIDs(Map<String,ICUService.Factory> result)
Override of superclass method.
|
getDisplayName, getSupportedIDs, handleCreate, handlesKeypublic SimpleLocaleKeyFactory(Object obj, ULocale locale, int kind, boolean visible)
public Object create(ICUService.Key key, ICUService service)
create in interface ICUService.Factorycreate in class ICULocaleService.LocaleKeyFactoryprotected boolean isSupportedID(String idToCheck)
ICULocaleService.LocaleKeyFactoryisSupportedID in class ICULocaleService.LocaleKeyFactorypublic void updateVisibleIDs(Map<String,ICUService.Factory> result)
ICULocaleService.LocaleKeyFactoryupdateVisibleIDs in interface ICUService.FactoryupdateVisibleIDs in class ICULocaleService.LocaleKeyFactorypublic String toString()
ICULocaleService.LocaleKeyFactorytoString in class ICULocaleService.LocaleKeyFactory