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

net.sf.jsptest.assertion.ElementChooser Maven / Gradle / Ivy

The newest version!
package net.sf.jsptest.assertion;

import org.w3c.dom.Element;

/**
 * An interface for building a variety of element selection rules.
 * 
 * @author Lasse Koskela
 */
public interface ElementChooser {

    /**
     * Indicates whether this particular ElementChooser accepts the given
     * Element.
     * 
     * @param element
     *            The candidate Element.
     * @return true if this ElementChooser accepts the given Element,
     *         false otherwise.
     */
    boolean accept(Element element);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy