public class StandardCategoryRegistry extends Object implements ICategoryRegistry
| Modifier and Type | Field and Description |
|---|---|
static GenericCategory |
OTHER |
static GenericCategory |
UNKNOWN |
| Constructor and Description |
|---|
StandardCategoryRegistry() |
| Modifier and Type | Method and Description |
|---|---|
ICategory[] |
getCategories()
The collection of all registered
ICategory instances. |
ICategory |
lookupCategory(String id)
|
void |
registerCategory(ICategory category)
Register
category. |
int |
size() |
public static final GenericCategory OTHER
public static final GenericCategory UNKNOWN
public ICategory[] getCategories()
ICategoryRegistryICategory instances.getCategories in interface ICategoryRegistryICategory instances.public ICategory lookupCategory(String id)
ICategoryRegistrylookupCategory in interface ICategoryRegistryid - The id of the ICategory to lookup.ICategory registered with id or
null.public void registerCategory(ICategory category)
ICategoryRegistrycategory.registerCategory in interface ICategoryRegistrycategory - The ICategory to be registered.public int size()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.