public interface EventFilter
This interface declares a simple filter interface that one can create to filter XMLEventReaders
Modifier and Type Method Description
XMLEvent event)(Tests whether this event is part of this stream.
acceptboolean accept(XMLEvent event)Tests whether this event is part of this stream. This method will return true if this filter accepts this event and false otherwise.
event- the event to test
- true if this filter accepts this event, false otherwise