addConstuctorValueIfAttributeDefined(BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
boolean trueFalse)
Adds a constructor-arg to the provided bean definition builder
with the value of the attribute whose name is provided if that
attribute is defined in the given element.
Adds a constructor-arg to the provided bean definition builder
with the value of the attribute whose name is provided if that
attribute is defined in the given element.
Parameters:
builder - the bean definition builder to be configured
element - the XML element where the attribute should be defined
attributeName - the name of the attribute whose value will be
used to populate the property