public interface StreamFilter
This interface declares a simple filter interface that one can
create to filter XMLStreamReaders
Since:
1.6
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method
Description
boolean
accept (XMLStreamReader reader)
Tests whether the current state is part of this stream.
Method Details
Tests whether the current state is part of this stream. This method
will return true if this filter accepts this event and false otherwise.
The method should not change the state of the reader when accepting
a state.
Parameters:
reader
- the event to test
Returns:
true if this filter accepts this event, false otherwise
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2020, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .