Subversion Repositories SmartDukaan

Rev

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

Rev 5074 Rev 5078
Line 56... Line 56...
56
	private String[] xmlIndentation = {"", "    ", "        ", "            ","                "};
56
	private String[] xmlIndentation = {"", "    ", "        ", "            ","                "};
57
 
57
 
58
	private String[] xmlTabIndentation = {"", "\t", "\t\t", "\t\t\t", "\t\t\t\t", "\t\t\t\t\t", "\t\t\t\t\t\t"};
58
	private String[] xmlTabIndentation = {"", "\t", "\t\t", "\t\t\t", "\t\t\t\t", "\t\t\t\t\t", "\t\t\t\t\t\t"};
59
 
59
 
60
	private Map<Long, List<String>> facetIDFacetValues = new HashMap<Long, List<String>>();
60
	private Map<Long, List<String>> facetIDFacetValues = new HashMap<Long, List<String>>();
-
 
61
	private static Map<String, Map<String, String>> synonymMap = null;
-
 
62
	
-
 
63
	static {
-
 
64
		try {
-
 
65
			synonymMap = CreationUtils.getSynonyms();
-
 
66
		}catch(Exception e){
-
 
67
			e.printStackTrace();
-
 
68
		}
-
 
69
	}
61
	
70
	
62
	List<Entity> entities;
71
	List<Entity> entities;
63
 
72
 
64
	/**
73
	/**
65
	 * @param args
74
	 * @param args
Line 582... Line 591...
582
		subCategoryFeature.setBullets(subCategoryBullets);
591
		subCategoryFeature.setBullets(subCategoryBullets);
583
		zeroSlideFeatures.add(subCategoryFeature);
592
		zeroSlideFeatures.add(subCategoryFeature);
584
		
593
		
585
		
594
		
586
		try {
595
		try {
587
			Map<String, Map<String, String>> synonymMap = CreationUtils.getSynonyms();
-
 
-
 
596
			
588
			String brandSynonyms = synonymMap.get("brand").get(brand);
597
			String brandSynonyms = synonymMap.get("brand").get(brand);
589
			String subCategorySynonyms = synonymMap.get("subcategory").get(subCategory);
598
			String subCategorySynonyms = synonymMap.get("subcategory").get(subCategory);
590
			
599
			
591
			if(brandSynonyms != null){
600
			if(brandSynonyms != null){
592
				Feature brandSynonymFeature = new Feature(Utils.BRAND_SYNONYMS_FEATURE_DEFINITION_ID);
601
				Feature brandSynonymFeature = new Feature(Utils.BRAND_SYNONYMS_FEATURE_DEFINITION_ID);