public class CatalogEnumerator extends Object implements Enumerator, Serviceable
Enumerator
for the ODF CatalogModifier and Type | Field and Description |
---|---|
private CatalogsManager |
_catalogsManager |
static String |
ROLE
Avalon Role
|
Constructor and Description |
---|
CatalogEnumerator() |
Modifier and Type | Method and Description |
---|---|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager manager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration
private CatalogsManager _catalogsManager
public CatalogEnumerator()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<Object,I18nizableText> getEntries()
Enumerator
getEntries
in interface Enumerator
public I18nizableText getEntry(String value) throws Exception
Enumerator
getEntry
in interface Enumerator
value
- the value.null
if not found.Exception
- if an error occurs.