use of jmri.util.docbook.Revision in project JMRI by JMRI.
the class RevHistoryXml method historyElement.
static Element historyElement(RevHistory r) {
ArrayList<Revision> list = r.getList();
Element e = new Element("revhistory", NAMESPACE);
for (int i = 0; i < list.size(); i++) {
Element revision = revisionElement(list.get(i));
e.addContent(revision);
}
return e;
}