Class BaseFinder<S,T>

java.lang.Object
org.openqa.selenium.lift.find.BaseFinder<S,T>
All Implemented Interfaces:
org.hamcrest.SelfDescribing, Finder<S,T>
Direct Known Subclasses:
HtmlTagFinder, XPathFinder

@Deprecated public abstract class BaseFinder<S,T> extends Object implements Finder<S,T>
Deprecated.
Base class for Finders. These allow the creation of a specification to be applied to objects of type T, to identify and return a Collection of any contained objects of type S.
  • Field Details

    • matchers

      protected final List<org.hamcrest.Matcher<S>> matchers
      Deprecated.
  • Constructor Details

    • BaseFinder

      public BaseFinder()
      Deprecated.
  • Method Details

    • findFrom

      public Collection<S> findFrom(T context)
      Deprecated.
      Specified by:
      findFrom in interface Finder<S,T>
    • with

      public Finder<S,T> with(org.hamcrest.Matcher<S> matcher)
      Deprecated.
      Specified by:
      with in interface Finder<S,T>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
      Deprecated.
      Specified by:
      describeTo in interface org.hamcrest.SelfDescribing
    • extractFrom

      protected abstract Collection<S> extractFrom(T context)
      Deprecated.
    • describeTargetTo

      protected abstract void describeTargetTo(org.hamcrest.Description description)
      Deprecated.
    • allMatching

      protected Collection<S> allMatching(List<org.hamcrest.Matcher<S>> matchers, Collection<S> items)
      Deprecated.