paramboards an iterator of BoardSummary objects. Element homeElem = new Element("home"); while (boards.hasNext()) { BoardSummary curBoard = (BoardSummary) boards.next(); homeElem.addContent(BoardSummaryJDOM.produceElement(curBoard)); } return homeElem;
BoardSummary
Element homeElem = new Element("home"); while (boards.hasNext()) { BoardSummary curBoard = (BoardSummary) boards.next(); homeElem.addContent(BoardSummaryJDOM.produceElement(curBoard)); } return homeElem;