Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public void addOneBoxResponse(OneBoxResponse oneboxResponse)
 {
     this.oneboxResponses.Add(oneboxResponse);
 }
Exemplo n.º 3
0
 private void doOneBoxResponse(int tag)
 {
     switch (tag)
     {
         case XMLTags.OBRES:
             response.addOneBoxResponse(currOneBoxResponse);
             currOneBoxResponse = new OneBoxResponse();
             inOneBoxResponse = false;
             break;
     }
 }
Exemplo n.º 4
0
 public void addOneBoxResponse(OneBoxResponse oneboxResponse)
 {
     this.oneboxResponses.Add(oneboxResponse);
 }