Modifier and Type | Field and Description |
---|---|
pack-priv EventFilter |
Access | Constructor and Description |
---|---|
public | EventFilterSupport(XMLEventReader eventReader, EventFilter eventFilter)
Creates a new instance of EventFilterSupport |
Modifier and Type | Method and Description |
---|---|
public boolean | hasNext()
Overrides javax. Implements javax. |
public Object | next()
Overrides javax. Implements java. |
public XMLEvent | nextEvent()
Overrides javax. Implements javax. |
public XMLEvent | nextTag()
Overrides javax. Implements javax. |
public XMLEvent | peek()
Overrides javax. Implements javax. |
fEventFilter | back to summary |
---|---|
pack-priv EventFilter fEventFilter |
EventFilterSupport | back to summary |
---|---|
public EventFilterSupport(XMLEventReader eventReader, EventFilter eventFilter) Creates a new instance of EventFilterSupport |
hasNext | back to summary |
---|---|
public boolean hasNext() Overrides javax. Implements javax. Doc from javax. Check if there are more events. Returns true if there are more events and false otherwise.
|
next | back to summary |
---|---|
public Object next() Overrides javax. Implements java. Doc from java. Returns the next element in the iteration.
|
nextEvent | back to summary |
---|---|
public XMLEvent nextEvent() throws XMLStreamException Overrides javax. Implements javax. Doc from javax. Gets the next XMLEvent. The initial event is
|
nextTag | back to summary |
---|---|
public XMLEvent nextTag() throws XMLStreamException Overrides javax. Implements javax. Doc from javax. Skips any insignificant space events until a START_ELEMENT or END_ELEMENT is reached. If anything other than space characters are encountered, an exception is thrown. This method should be used when processing element-only content because the parser is not able to recognize ignorable whitespace if the DTD is missing or not interpreted.
|
peek | back to summary |
---|---|
public XMLEvent peek() throws XMLStreamException Overrides javax. Implements javax. Doc from javax. Check the next XMLEvent without reading it from the stream. Returns null if the stream is at EOF or has no more XMLEvents. A call to peek() will be equal to the next return of next().
|