This collects together various constraints/rewrites that can be applied to attributes. It
was extracted from AbstractMuleBeanDefinitionParser and should be used as a delegate
(see that class for an example).
Ignored, reference and collection flags are all keyed off the "old" name (before any alias
or mapping), with any "-ref" dropped. No normalisation of mapping or aliases is attempted.
isReference(String attributeName) A property can be explicitly registered as a bean reference via registerBeanReference()
or it can simply use the "-ref" suffix.
This will automatically generate a list and accumulate values.
If the value is a map then instead of generating a list of maps we combine map entries together.
A property can be explicitly registered as a bean reference via registerBeanReference()
or it can simply use the "-ref" suffix.
Parameters: attributeName - true if the name appears to correspond to a reference
Extract a JavaBean property name from the supplied attribute name.
The default implementation uses the
org.springframework.core.Conventions.attributeNameToPropertyName(String) method to perform the extraction.
The name returned must obey the standard JavaBean property name
conventions. For example for a class with a setter method
'setBingoHallFavourite(String)', the name returned had
better be 'bingoHallFavourite' (with that exact casing).
Parameters: oldName - the attribute name taken straight from the XML element being parsed; will never be null the extracted JavaBean property name; must never be null