This method of the MetaObject Interface retrieves an object instance that matches the specified Category and Class objects. Either one (but not both) of the parameters can be null.
public Object getObject(Category category, Class cls);
Returns an object that matches the specified Category and Class; returns null if no matching object is available.
category | The Category of the requested object. If a null Category object is specified, the Category is derived from the name of the specified class. |
cls | The Class of the requested object. If a null Class is specified, the request is for any object in the specified category. |