Subversion Repositories SmartDukaan

Rev

Rev 2606 | Rev 2949 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2606 Rev 2946
Line 203... Line 203...
203
		if(nodes.getLength() == 0) {
203
		if(nodes.getLength() == 0) {
204
			return null;
204
			return null;
205
		}
205
		}
206
		
206
		
207
		NodeList subNodes = null;
207
		NodeList subNodes = null;
208
		String facetName = new String();
-
 
209
		
208
		
210
		for(int i=0; i<nodes.getLength(); i++) {
209
		for(int i=0; i<nodes.getLength(); i++) {
211
			Node node = nodes.item(i);
210
			Node node = nodes.item(i);
212
			facetName = node.getAttributes().getNamedItem("name").getNodeValue();
211
			String facetName = node.getAttributes().getNamedItem("name").getNodeValue();
213
			subNodes = node.getChildNodes();
212
			subNodes = node.getChildNodes();
214
			HashMap<String,Integer> facetValueCountMap = new HashMap<String,Integer>();
213
			HashMap<String,Integer> facetValueCountMap = new HashMap<String,Integer>();
215
			for(int j=0; j<subNodes.getLength(); j++) {
214
			for(int j=0; j<subNodes.getLength(); j++) {
216
				Node subNode = subNodes.item(j);
215
				Node subNode = subNodes.item(j);
217
				if(Integer.parseInt(subNode.getTextContent())==0)
216
				if(Integer.parseInt(subNode.getTextContent())==0)