Package org.apache.axiom.util.xml.stream
Class XMLEventUtils
- java.lang.Object
-
- org.apache.axiom.util.xml.stream.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 Description static StringgetEventTypeString(int event)Get the string representation of a given StAX event type.
-
-
-
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 inXMLStreamConstantscorresponding to the event type.- Parameters:
event- the event type as returned byXMLEvent.getEventType(),XMLStreamReader.getEventType()orXMLStreamReader.next()- Returns:
- a string representation of the event type
-
-