public KeyHandler(RootHandler rootHandler, ItemHandler itemHandler)
 {
   base.\u002Ector();
   KeyHandler keyHandler = this;
   this.rootHandler = rootHandler;
   this.itemHandler = itemHandler;
   this.currentText = new StringBuffer();
 }
 public virtual void startElement(string namespaceURI, string localName, string qName, Attributes atts)
 {
   DefaultHandler currentHandler = this.getCurrentHandler();
   if (currentHandler != this)
     currentHandler.startElement(namespaceURI, localName, qName, atts);
   else if (String.instancehelper_equals(qName, (object) "PieDataset"))
   {
     this.dataset = new DefaultPieDataset();
   }
   else
   {
     if (!String.instancehelper_equals(qName, (object) "Item"))
       return;
     ItemHandler itemHandler = new ItemHandler((RootHandler) this, (DefaultHandler) this);
     this.getSubHandlers().push((object) itemHandler);
     itemHandler.startElement(namespaceURI, localName, qName, atts);
   }
 }
 public virtual void startElement(string namespaceURI, string localName, string qName, Attributes atts)
 {
   if (String.instancehelper_equals(qName, (object) "Series"))
   {
     this.setSeriesKey((IComparable) atts.getValue("name"));
     this.root.pushSubHandler((DefaultHandler) new ItemHandler(this.root, (DefaultHandler) this));
   }
   else if (String.instancehelper_equals(qName, (object) "Item"))
   {
     ItemHandler itemHandler = new ItemHandler(this.root, (DefaultHandler) this);
     this.root.pushSubHandler((DefaultHandler) itemHandler);
     itemHandler.startElement(namespaceURI, localName, qName, atts);
   }
   else
   {
     string str = new StringBuffer().append("Expecting <Series> or <Item> tag...found ").append(qName).toString();
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new SAXException(str);
   }
 }