public XmlStringBuilder append(Collection<? extends Element> elements) { for (Element element : elements) { append(element.toXML()); } return this; }
public XmlStringBuilder element(Element element) { assert element != null; return append(element.toXML()); }
public XmlStringBuilder optAppend(Element element) { if (element != null) { append(element.toXML()); } return this; }