Code example for ContentHandler

Methods: startElement

0
      { 
        co_yield(true); 
        eventcounter=frequency;
      } 
    if(clientContentHandler!=null)
      clientContentHandler.startElement(namespaceURI, localName, qName, atts);
  } 
  public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) 
       throws org.xml.sax.SAXException 
  { 
    if(--eventcounter<=0)
      { 
        co_yield(true); 
        eventcounter=frequency;
      } 
    if(clientContentHandler!=null)
      clientContentHandler.startPrefixMapping(prefix,uri);
  } 
 
  // 
  // LexicalHandler support. Not all SAX2 filters support these events