public class Selecting
extends org.hamcrest.TypeSafeDiagnosingMatcher<org.jsoup.nodes.Element>
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.jsoup.nodes.Element item,
org.hamcrest.Description mismatchDescription) |
static org.hamcrest.Matcher<org.jsoup.nodes.Element> |
selecting(String cssExpression,
org.hamcrest.Matcher<Iterable<org.jsoup.nodes.Element>> elementsMatcher)
Creates a
Matcher for a JSoup Element that has a list of child nodes
matching the specified cssExpression that are matched by the specified elementsMatcher. |
public static org.hamcrest.Matcher<org.jsoup.nodes.Element> selecting(String cssExpression, org.hamcrest.Matcher<Iterable<org.jsoup.nodes.Element>> elementsMatcher)
Matcher for a JSoup Element that has a list of child nodes
matching the specified cssExpression that are matched by the specified elementsMatcher.cssExpression - The Jsoup CSS expression used to selected a list of child nodeselementsMatcher - the matcher that the selected child nodes will be matched againstMatcher for a JSoup Elementprotected boolean matchesSafely(org.jsoup.nodes.Element item,
org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<org.jsoup.nodes.Element>public void describeTo(org.hamcrest.Description description)
Copyright © 2015 FD Mediagroep. All rights reserved.