internal XMLParser() { response = new Response(); contentBuff = new StringBuilder(); resultsList = new ArrayList(); keyMatchasList = new ArrayList(); currResult = new Result(); currKeyMatch = new KeyMatches(); currOneBoxResponse = new OneBoxResponse(); currOneBoxResult = new OneBoxResult(); xmlTags = new XMLTags(); }
public void addOneBoxResponse(OneBoxResponse oneboxResponse) { this.oneboxResponses.Add(oneboxResponse); }
private void doOneBoxResponse(int tag) { switch (tag) { case XMLTags.OBRES: response.addOneBoxResponse(currOneBoxResponse); currOneBoxResponse = new OneBoxResponse(); inOneBoxResponse = false; break; } }