code: public static String getEventTypeDescription(final XMLStreamReader reader) {
          final int eventType = reader.getEventType();
          if (eventType == XMLStreamConstants.START_ELEMENT) {
              final String namespace = reader.getNamespaceURI();
              return "<" + reader.getLocalName()
                      + (!StringUtils.isEmpty(namespace) ? "@" + namespace : StringUtils.EMPTY) + ">";
          }
          if (eventType == XMLStreamConstants.END_ELEMENT) {
              final String namespace = reader.getNamespaceURI();
              return "</" + reader.getLocalName()
                      + (!StringUtils.isEmpty(namespace) ? "@" + namespace : StringUtils.EMPTY) + ">";
          }
          return NAMES_OF_EVENTS[reader.getEventType()];
      }
docs: Returns string describing the current event.
  
  @param reader
  pull parser that contains event information
  @return string describing the current event.