/** * Parse constructor-arg sub-elements of the given bean element. */ protected ConstructorArgumentValues parseConstructorArgElements(Element beanEle, String beanName) throws BeanDefinitionStoreException { NodeList nl = beanEle.getChildNodes(); ConstructorArgumentValues cargs = new ConstructorArgumentValues(); for (int i = 0; i < nl.getLength(); i++) { Node node = nl.item(i); if (node instanceof Element && CONSTRUCTOR_ARG_ELEMENT.equals(node.getNodeName())) { parseConstructorArgElement((Element) node, beanName, cargs); } } return cargs; }