public static interface ICUService.Factory
| Modifier and Type | Method and Description |
|---|---|
Object |
create(ICUService.Key key,
ICUService service)
Create a service object from the key, if this factory
supports the key.
|
String |
getDisplayName(String id,
ULocale locale)
Return the display name for this id in the provided locale.
|
void |
updateVisibleIDs(Map<String,ICUService.Factory> result)
Update the result IDs (not descriptors) to reflect the IDs
this factory handles.
|
Object create(ICUService.Key key, ICUService service)
If the factory supports the key, then it can call the service's getKey(Key, String[], Factory) method passing itself as the factory to get the object that the service would have created prior to the factory's registration with the service. This can change the key, so any information required from the key should be extracted before making such a callback.
void updateVisibleIDs(Map<String,ICUService.Factory> result)