code: public void setDocumentLocator(Locator locator)
    {
  
      if (DEBUG)
        System.out.println("TransformerHandlerImpl#setDocumentLocator: "
                           + locator.getSystemId());
  
      this.m_locator = locator;
      
      if(null == m_baseSystemID)
      {
        setSystemId(locator.getSystemId());
      }
  
      if (m_contentHandler != null)
      {
        m_contentHandler.setDocumentLocator(locator);
      }
    }
docs: Filter a new document locator event.
  
  @param locator The document locator.
  @see org.xml.sax.ContentHandler#setDocumentLocator