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