code: public void endEntity(String name) throws org.xml.sax.SAXException
      {
          if (name.equals("[dtd]"))
              m_inExternalDTD = false;
          m_inEntityRef = false;
  
          if (m_tracer != null)
              this.fireEndEntity(name);        
      }
docs: Report the end of an entity.
  
  @param name The name of the entity that is ending.
  @throws org.xml.sax.SAXException The application may raise an exception.
  @see #startEntity