returns a vector with 0 or more objects of all the capabilities
matching the passed in capability OID. If the OID passed is null the
entire set is returned.
return an Attribute object from the given object.
Parameters: o - the object we want converted. exception: IllegalArgumentException - if the object cannot be converted.