code: private void fillNodesInScope(SiteNode rootNode, List<SiteNode> nodesList) {
  		@SuppressWarnings("unchecked")
  		Enumeration<TreeNode> en = rootNode.children();
  		while (en.hasMoreElements()) {
  			SiteNode sn = (SiteNode) en.nextElement();
  			if (isInScope(sn))
  				nodesList.add(sn);
  			fillNodesInScope(sn, nodesList);
  		}
  	}
docs: Fills a given list with nodes in scope, searching recursively.
  
  @param rootNode the root node
  @param nodesList the nodes list