drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ElementHelper.java
public Element newDAVElementSet(QualifiedName setName, QualifiedName memberName, Enumeration memberEnum) {
        Element setElement = newDAVElement(setName);
        while (memberEnum.hasMoreElements()) {
            String member = (String) memberEnum.nextElement();
            Element memberElement = newDAVTextElement(memberName, member);
            setElement.appendChild(memberElement);
        }
        return setElement;
    }
public Element newDAVElementSet(QualifiedName setName, QualifiedName memberName, Enumeration memberEnum) {
        Element setElement = newDAVElement(setName);
        while (memberEnum.hasMoreElements()) {
            String member = (String) memberEnum.nextElement();
            Element memberElement = newDAVTextElement(memberName, member);
            setElement.appendChild(memberElement);
        }
        return setElement;
    }
public Element newDAVElementSet ( QualifiedName setName , QualifiedName memberName , Enumeration memberEnum ) { Element setElement = newDAVElement ( setName ) ; while ( memberEnum . hasMoreElements ( ) ) { String member = ( String ) memberEnum . nextElement ( ) ; Element memberElement = newDAVTextElement ( memberName , member ) ; setElement . appendChild ( memberElement ) ; } return setElement ; }
Answer a DOM <code>Element</code> that represents a set of <code>String</code>.
<p>
The set is represented by a single <code>Element</code> whose name is
given as the <code>setName</code> argument.  Each member of the set is
a child <code>Element</code> named <code>memberName</code> that has
text taken from the <code>memberEnum</code> an <code>Enumeration</code>
of <code>String</code>.
Answer a DOM <code > Element< / code > that represents a set of <code > String< / code > . <p > The set is represented by a single <code > Element< / code > whose name is given as the <code > setName< / code > argument . Each member of the set is a child <code > Element< / code > named <code > memberName< / code > that has text taken from the <code > memberEnum< / code > an <code > Enumeration< / code > of <code > String< / code > .