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