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