code: public void entityReference(String name) throws org.xml.sax.SAXException
      {
          if (m_elemContext.m_startTagOpen)
          {
              closeStartTag();
              m_elemContext.m_startTagOpen = false;
          }
  
          try
          {
              if (shouldIndent())
                  indent();
  
              final java.io.Writer writer = m_writer;
              writer.write('&');
              writer.write(name);
              writer.write(';');
          }
          catch(IOException e)
          {
              throw new SAXException(e);
          }
          
          if (m_tracer != null)
              super.fireEntityReference(name);            
      }
docs: Receive notivication of a entityReference.
  
  @param name The name of the entity.
  
  @throws org.xml.sax.SAXException