org.apache.axiom.util.stax

## Class XMLEventUtils

- java.lang.Object
- - org.apache.axiom.util.stax.XMLEventUtils

-     public final class XMLEventUtils
      extends Object

  Contains utility methods related to StAX events.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getEventTypeString(int event)` Get the string representation of a given StAX event type.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getEventTypeString

          public static String getEventTypeString(int event)

      Get the string representation of a given StAX event type. The returned value is the name of the constant in `XMLStreamConstants` corresponding to the event type.
      Parameters:
        `event` - the event type as returned by `XMLEvent.getEventType()`, `XMLStreamReader.getEventType()` or `XMLStreamReader.next()`
      Returns:
        a string representation of the event type

Copyright © The Apache Software Foundation. All Rights Reserved.