Class XMLEventUtils

  extended by org.apache.axiom.util.stax.XMLEventUtils

public final class XMLEventUtils
extends Object

Contains utility methods related to StAX events.

Method Summary
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


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.

event - the event type as returned by XMLEvent.getEventType(), XMLStreamReader.getEventType() or
a string representation of the event type

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.