This method of the Element interface sets the parent of this element.
public void setParent(Element parent);