Code example for ContentHandler

Methods: startPrefixMapping

0
      { 
        co_yield(true); 
        eventcounter=frequency;
      } 
    if(clientContentHandler!=null)
      clientContentHandler.startPrefixMapping(prefix,uri);
  } 
 
  // 
  // LexicalHandler support. Not all SAX2 filters support these events 
  // but we may want to pass them through when they exist... 
  // 
  // %REVIEW% These do NOT currently affect the eventcounter; I'm asserting 
  // that they're rare enough that it makes little or no sense to 
  // pause after them. As such, it may make more sense for folks who 
  // actually want to use them to register directly with the filter. 
  // But I want 'em here for now, to remind us to recheck this assertion! 
  // 
  public void comment(char[] ch, int start, int length) 
       throws org.xml.sax.SAXException 
  {