public static Element appendChild(Element parent, String name, String data) {
    """
	Creates a WebDAV element with the given name and appends it as a
	child of the given parent. In addition, a text node created from the
	given data is created and appended to the child. Returns the child
	element. The parent must not be <code>null</code> and must be a
	WebDAV element. The name of the child must not be <code>null</code>.
	The data must not be <code>null</code>.
	
	@param parent the parent element to which the child is added
	@param name   the name of the child element that is created and added
	as a child of the parent
	@param data   the data of the text node which is created and added to
	the child
	@return       the child element that is created
    """
        Assert.isTrue(isDAVElement(parent));
        Assert.isNotNull(name);
        Assert.isNotNull(data);
        Element child = appendChild(parent, name);
        child.appendChild(child.getOwnerDocument().createTextNode(data));
        return child;
    }
public static Element appendChild(Element parent, String name, String data) {
        Assert.isTrue(isDAVElement(parent));
        Assert.isNotNull(name);
        Assert.isNotNull(data);
        Element child = appendChild(parent, name);
        child.appendChild(child.getOwnerDocument().createTextNode(data));
        return child;
    }
public static Element appendChild ( Element parent , String name , String data ) { Assert . isTrue ( isDAVElement ( parent ) ) ; Assert . isNotNull ( name ) ; Assert . isNotNull ( data ) ; Element child = appendChild ( parent , name ) ; child . appendChild ( child . getOwnerDocument ( ) . createTextNode ( data ) ) ; return child ; }
Creates a WebDAV element with the given name and appends it as a
child of the given parent. In addition, a text node created from the
given data is created and appended to the child. Returns the child
element. The parent must not be <code>null</code> and must be a
WebDAV element. The name of the child must not be <code>null</code>.
The data must not be <code>null</code>.

@param parent the parent element to which the child is added
@param name   the name of the child element that is created and added
as a child of the parent
@param data   the data of the text node which is created and added to
the child
@return       the child element that is created
Creates a WebDAV element with the given name and appends it as a child of the given parent . In addition a text node created from the given data is created and appended to the child . Returns the child element . The parent must not be <code > null< / code > and must be a WebDAV element . The name of the child must not be <code > null< / code > . The data must not be <code > null< / code > .