code: public Set<Object> parseSetElement(Element collectionEle, BeanDefinition bd) {
      String defaultElementType = collectionEle.getAttribute(VALUE_TYPE_ATTRIBUTE);
      NodeList nl = collectionEle.getChildNodes();
      ManagedSet<Object> target = new ManagedSet<Object>(nl.getLength());
      target.setSource(extractSource(collectionEle));
      target.setElementTypeName(defaultElementType);
      target.setMergeEnabled(parseMergeAttribute(collectionEle));
      parseCollectionElements(nl, target, bd, defaultElementType);
      return target;
    }
docs: Parse a set element.
  
  @param collectionEle a {@link org.w3c.dom.Element} object.
  @param bd a {@link org.springframework.beans.factory.config.BeanDefinition} object.
  @return a {@link java.util.Set} object.