API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.stream. EventFilter View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

font color='#880088'>
package javax.xml.stream;
import javax.xml.stream.events.XMLEvent;
/**
 * This interface declares a simple filter interface that one can
 * create to filter XMLEventReaders
 * @version 1.0
 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
 * @since 1.6
 */
public interface EventFilter {
  /**
   * Tests whether this event is part of this stream.  This method
   * will return true if this filter accepts this event and false
   * otherwise.
   *
   * @param event the event to test
   * @return true if this filter accepts this event, false otherwise
   */
  public boolean accept(XMLEvent event);
}

Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar