Code example for Node

Methods: appendChildgetOwnerDocument

0
 
	public static Element appendChildElement(Node node, String childName)
	{ 
		if (node == null)
			throw new NullPointerException("Received null node");
	    return (Element) node.appendChild(createElement(node.getOwnerDocument(), childName));
	} 
 
} 
 
Experience pair programming with AI  Get Codota for Java