JavaScript is disabled on your browser.
This specification is not final and is subject to change. Use is subject to
license terms
.
Skip navigation links
Overview
Module
Package
Class
Use
Tree
Deprecated
Index
Help
Java SE 12
DRAFT 12-ea+32
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH:
Module
java.xml
Package
javax.xml.stream
Interface EventFilter
public interface
EventFilter
This interface declares a simple filter interface that one can create to filter XMLEventReaders
Since:
1.6
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
boolean
accept
(
XMLEvent
event)
Tests whether this event is part of this stream.
Method Detail
accept
boolean 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.
Parameters:
event
- the event to test
Returns:
true if this filter accepts this event, false otherwise