private void addParameterChildren(Element node, Document root) { for (Enumeration enum1 = this.getParameterNames(); enum1.hasMoreElements(); ) { Element pElement = root.createElement("parameter"); String pName = (String) enum1.nextElement(); pElement.setAttribute("name", pName); pElement.setAttribute("value", getParameterValue(pName)); node.appendChild(pElement); } }