org.apache.axiom.util.stax
Class XMLEventUtils

java.lang.Object
  extended by org.apache.axiom.util.stax.XMLEventUtils

public final class XMLEventUtils
extends java.lang.Object

Contains utility methods related to StAX events.


Method Summary
static java.lang.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 java.lang.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 © 2004-2011 The Apache Software Foundation. All Rights Reserved.