code: public void add(Iterable<XElement> elements) {
          for (XElement e : elements) {
              e.parent = this;
              children.add(e);
          }
      }
docs: Add the iterable of elements as children.
  @param elements the elements to add