Subversion Repositories SmartDukaan

Rev

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

Rev 5522 Rev 5564
Line 4... Line 4...
4
import java.util.ArrayList;
4
import java.util.ArrayList;
5
import java.util.HashMap;
5
import java.util.HashMap;
6
import java.util.List;
6
import java.util.List;
7
import java.util.Map;
7
import java.util.Map;
8
 
8
 
-
 
9
import org.apache.commons.lang.StringEscapeUtils;
9
import org.apache.commons.lang.StringUtils;
10
import org.apache.commons.lang.StringUtils;
10
 
11
 
11
import in.shop2020.metamodel.core.Bullet;
12
import in.shop2020.metamodel.core.Bullet;
12
import in.shop2020.metamodel.core.Entity;
13
import in.shop2020.metamodel.core.Entity;
13
import in.shop2020.metamodel.core.Feature;
14
import in.shop2020.metamodel.core.Feature;
Line 115... Line 116...
115
			productXMLSnippets.add(this.xmlIndentation[2] + "<Brand>" + item.getBrand() + "</Brand>");
116
			productXMLSnippets.add(this.xmlIndentation[2] + "<Brand>" + item.getBrand() + "</Brand>");
116
			productXMLSnippets.add(this.xmlIndentation[2] + "<ModelName>" + item.getModelName() + "</ModelName>");
117
			productXMLSnippets.add(this.xmlIndentation[2] + "<ModelName>" + item.getModelName() + "</ModelName>");
117
			productXMLSnippets.add(this.xmlIndentation[2] + "<ModelNumber>" + item.getModelNumber() + "</ModelNumber>");
118
			productXMLSnippets.add(this.xmlIndentation[2] + "<ModelNumber>" + item.getModelNumber() + "</ModelNumber>");
118
			productXMLSnippets.add(this.xmlIndentation[2] + "<URL>" + url + "</URL>");
119
			productXMLSnippets.add(this.xmlIndentation[2] + "<URL>" + url + "</URL>");
119
			productXMLSnippets.add(this.xmlIndentation[2] + "<ImageURL>" + imageUrl + "</ImageURL>");
120
			productXMLSnippets.add(this.xmlIndentation[2] + "<ImageURL>" + imageUrl + "</ImageURL>");
120
			productXMLSnippets.add(this.xmlIndentation[2] + "<ShortDesc>" + description + "</ShortDesc>");
121
			productXMLSnippets.add(this.xmlIndentation[2] + "<ShortDesc>" + StringEscapeUtils.escapeXml(description) + "</ShortDesc>");
121
			productXMLSnippets.add(this.xmlIndentation[2] + "<MRP>" + item.getMrp() + "</MRP>");
122
			productXMLSnippets.add(this.xmlIndentation[2] + "<MRP>" + item.getMrp() + "</MRP>");
122
			productXMLSnippets.add(this.xmlIndentation[2] + "<SellingPrice>" + (int)item.getSellingPrice() + "</SellingPrice>");
123
			productXMLSnippets.add(this.xmlIndentation[2] + "<SellingPrice>" + (int)item.getSellingPrice() + "</SellingPrice>");
123
			
124
			
124
			productXMLSnippets.add(this.xmlIndentation[1] + "</Product>");
125
			productXMLSnippets.add(this.xmlIndentation[1] + "</Product>");
125
		}
126
		}