Code example for Node

Methods: appendChild

0
	} 
 
	@Kroll.method 
	public NodeProxy appendChild(NodeProxy newChild) throws DOMException
	{ 
		return getProxy(node.appendChild(newChild.node));
	} 
 
	@Kroll.method 
	public NodeProxy cloneNode(boolean deep)
	{ 
		if (Build.VERSION.SDK_INT < 11) {
			// TIMOB-4771, android harmony implementation bug fixed in Honeycomb. 
			Log.w(TAG, "cloneNode will often throw exception in versions prior to Honeycomb.");
		} 
		return getProxy(node.cloneNode(deep));
	} 
 
	@Kroll.getProperty @Kroll.method 
	public NamedNodeMapProxy getAttributes() 
	{