public class MethodClassDescriptor extends AbstractClassDescriptor
Methods on a type. Leverages the Introspector class for reading descriptors.AbstractClassDescriptor.SimpleAttributeValueMutator, AbstractClassDescriptor.SimpleDnValueMutatorlogger| Constructor and Description |
|---|
MethodClassDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributeValueMutator |
createAttributeValueMutator(PropertyDescriptor desc,
Attribute attribute)
Returns an attribute value mutator for the supplied property descriptor.
|
protected DnValueMutator |
createDnValueMutator(PropertyDescriptor desc)
Returns a dn value mutator for the supplied property descriptor.
|
protected Map<String,PropertyDescriptor> |
getPropertyDescriptors(Class<?> type)
Returns a map of property descriptor names to property descriptor.
|
void |
initialize(Class<?> type)
Prepare this class descriptor for use.
|
addAttributeValueMutator, addAttributeValueMutator, getAttributeValueMutator, getAttributeValueMutators, getDnValueMutator, setDnValueMutator, toStringpublic void initialize(Class<?> type)
ClassDescriptortype - of object to describeprotected Map<String,PropertyDescriptor> getPropertyDescriptors(Class<?> type)
type - of class to inspectprotected DnValueMutator createDnValueMutator(PropertyDescriptor desc)
desc - to create dn value mutator forprotected AttributeValueMutator createAttributeValueMutator(PropertyDescriptor desc, Attribute attribute)
desc - to create attribute value mutator forattribute - attribute containing metadataCopyright © 2003-2019 Virginia Tech. All Rights Reserved.