public Object formatSubPoolStatistics(Collection subPoolStatistics)
{
final Document doc = createDocument();
final Element root = doc.createElement("subpool-statistics");
doc.appendChild(root);
for(Iterator iter = subPoolStatistics.iterator(); iter.hasNext();){
JBossSubPoolStatistics stat = (JBossSubPoolStatistics)iter.next();
createChildNode(doc, root, stat);