public String toXML(){
  StringBuilder sb=new StringBuilder();
  Iterator iter=resourceResults.iterator();
  while (iter.hasNext()) {
    ResourceResult rr=(ResourceResult)iter.next();
    sb.append(rr.toXML());
  }
  return sb.toString();
}

public String toXML ( ) { StringBuilder sb = new StringBuilder ( ) ; Iterator iter = resourceResults . iterator ( ) ; while ( iter . hasNext ( ) ) { ResourceResult rr = ( ResourceResult ) iter . next ( ) ; sb . append ( rr . toXML ( ) ) ; } return sb . toString ( ) ; }
returns xml representation of this object
