Code example for AttributeList

Methods: getValue

0
		this.running = false;
	} 
	 
	 
	private void processRefinementTag(AttributeList attributes) {		
		final String refinementId = attributes.getValue("id");
		final String displayName = attributes.getValue("display-name");
		final String refinedUrl = attributes.getValue("refined-url");
		 
		int refinementCount = 0;
		final String refinementCountString = attributes.getValue("count");
		try { 
			refinementCount = Integer.parseInt(refinementCountString);
		} catch (NumberFormatException e) {
			Log.i(TAG, "NumberFormatException while parsing refinement count: " + refinementCount);
		} 
		 
		Log.d(TAG, "Adding refinement: type='" + currentRefinementGroupType + "', id='" + refinementId + "'");	
		getRefinementGroup().add(new Refinement(currentRefinementGroupType, refinementId, displayName, refinedUrl, refinementCount));		
	} 
Connect your IDE to all the code out there  Get Codota for Java