Examples of ManagedList


Examples of org.springframework.beans.factory.support.ManagedList

   * Parse a list element.
   */
  public List parseListElement(Element collectionEle, BeanDefinition bd) {
    String defaultTypeClassName = collectionEle.getAttribute(VALUE_TYPE_ATTRIBUTE);
    NodeList nl = collectionEle.getChildNodes();
    ManagedList list = new ManagedList(nl.getLength());
    list.setSource(extractSource(collectionEle));
    list.setMergeEnabled(parseMergeAttribute(collectionEle));
    for (int i = 0; i < nl.getLength(); i++) {
      if (nl.item(i) instanceof Element) {
        Element ele = (Element) nl.item(i);
        list.add(parsePropertySubElement(ele, bd, defaultTypeClassName));
      }
    }
    return list;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.