code: private Node getParentNode(Node node) {
  
  		if (node == null || node == root)
  			return null;
  
  		Node newNode = node.getParentNode();
  		if (newNode == null)
  			return null;
  
  		int accept = acceptNode(newNode);
  
  		if (accept == NodeFilter.FILTER_ACCEPT)
  			return newNode;
  		else
  			// if (accept == NodeFilter.SKIP_NODE)
  			// and REJECT too.
  			return getParentNode(newNode);
  
  	}
docs: Internal function. Return the parent Node, from the input node after
  applying filter, whatToshow. The current node is not consulted or set.