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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 © 2004-2013 The Apache Software Foundation. All Rights Reserved.