Class PseudoFunctions.HAS
java.lang.Object
jodd.csselly.selector.PseudoFunction<List<List<CssSelector>>>
jodd.csselly.selector.PseudoFunctions.HAS
- Enclosing interface:
PseudoFunctions
Selects elements which contain at least one element that matches the specified selector.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(Node node, List<List<CssSelector>> selectors) Matches node using provided parsed expression.parseExpression(String expression) Parses expression before usage.Methods inherited from class PseudoFunction
getPseudoFunctionName, matchInRange
-
Constructor Details
-
HAS
public HAS()
-
-
Method Details
-
parseExpression
Description copied from class:PseudoFunctionParses expression before usage.- Specified by:
parseExpressionin classPseudoFunction<List<List<CssSelector>>>
-
match
Description copied from class:PseudoFunctionMatches node using provided parsed expression.- Specified by:
matchin classPseudoFunction<List<List<CssSelector>>>
-