<p>
<code>setParent</code> sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported.
</p>
<p>
This method should only be called from inside an <code>Element</code>
implementation method and is not intended for general use.
</p>
<p> <code>setParent</code> sets the parent relationship of this node if the parent relationship is supported or does nothing if the parent relationship is not supported. </p>
<p> This method should only be called from inside an <code>Element</code> implementation method and is not intended for general use. </p>
@param parent is the new parent of this node.