public class XMLStreamEvent extends StreamEvent
| Constructor and Description |
|---|
XMLStreamEvent(int event, int pos, XMLStreamReader xmlReader)Constructs a new event |
| Modifier and Type | Method and Description |
|---|---|
int | getEvent() |
XMLStreamReader | getXMLReader() |
getPospublic XMLStreamEvent(int event,
int pos,
XMLStreamReader xmlReader)event - the actual XML event typepos - the position in the XML stream where the event has occurredxmlReader - the XML reader that produced the eventpublic int getEvent()
XMLStreamConstantspublic XMLStreamReader getXMLReader()