This method of the ObjectBag Class enumerates the categories in the ObjectBag.
public Enumeration objectCategories();
Returns an Enumeration of the categories in the ObjectBag.