public XNElement add(XNElement child) {
        child.parent = this;
        children.add(child);
        return child;
    }
public XNElement add ( XNElement child ) { child . parent = this ; children . add ( child ) ; return child ; }
Add the given existing child to this element.
@param child the child element
@return the child element