Code example for ContentHandler

Methods: setDocumentLocator

0
        // This can cause a hang.  -sb 
        // co_yield(true); 
        eventcounter=frequency;
      } 
    if(clientContentHandler!=null)
      clientContentHandler.setDocumentLocator(locator);
  } 
  public void skippedEntity(java.lang.String name) 
       throws org.xml.sax.SAXException 
  { 
    if(--eventcounter<=0)
      { 
        co_yield(true); 
        eventcounter=frequency;
      } 
    if(clientContentHandler!=null)
      clientContentHandler.skippedEntity(name);
  } 
  public void startDocument()  
       throws org.xml.sax.SAXException 
  {