All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.javax.xml.stream.EventFilter Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
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.
 */
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy