public void endDocument() {
	   if (t.findCriteria == C_FIND_TOTAL){
		   t.totalEntity = t.entityIndex;
	   }else if (t.findCriteria == C_FIND_SORTED){
		   t.sortShopListValues();//execute the sorting method
	   }


		  String selectedShopList_length = "0"; 
		  if(t.selectedShopList != null){
			  selectedShopList_length =  "" + t.selectedShopList.length;
	      }
	}