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