public void appendChild(NodeImpl child) throws DOMException {
public Node appendChild(Node child) throws DOMException { System.out.println("append Child called"); if(!(child instanceof NodeImpl)) throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, "wrong implementation");
	public void appendChild(NodeImpl child) throws DOMException {		NodeImpl last = (NodeImpl) getLastChild();		++children;		int level = ownerDocument.getTreeLevel(gid);		if (ownerDocument.getTreeLevelOrder(level + 1) < children)			ownerDocument.setTreeLevelOrder(level + 1, children);		child.setGID(lastChildID());		ownerDocument.broker.insertAfter(last, child);	}