code: public void addChildElement(Node element) {
          element.setParent(this);
          emptyElementTag = false; // can't be an empty element tag if you attach child elements
          childElements.add(element);
      }
docs: Add a new child {@code Node} element
  @param element element