String ref = property.getAttribute(REF_ATTRIBUTE);
if (!StringUtils.hasText(ref)) {
error(name + " contains empty 'ref' attribute");
}
xmlBeanDefinition.getProperties().put(name,
new ManagedRef(ref));
} else if (subElement != null) {
// 处理子元素
Object subEle = XmlNodeStateMachine.stateProcessor(subElement, dom);
xmlBeanDefinition.getProperties().put(name, subEle);
} else {