code: @Override
      public void writeEndElement(QName name)
          throws XMLStreamException
      {
          doWriteEndTag(mCheckStructure ? name : null, mCfgAutomaticEmptyElems);
      }
docs: Method called by {@link javax.xml.stream.XMLEventWriter} implementation
  (instead of the version
  that takes no argument), so that we can verify it does match the
  start element, if necessary