Code example for ContentHandler

Methods: setDocumentLocator

0
 
    if (m_contentHandler != null)
    { 
      m_contentHandler.setDocumentLocator(locator);
    } 
  } 
 
  /** 
   * Filter a start document event. 
   * 
   * @throws SAXException The client may throw 
   *            an exception during processing. 
   * @see org.xml.sax.ContentHandler#startDocument 
   */ 
  public void startDocument() throws SAXException 
  { 
 
    if (DEBUG)
      System.out.println("TransformerHandlerImpl#startDocument");
       
    m_insideParse = true;