public static class PseudoFunction.HAS extends PseudoFunction<java.util.List<java.util.List<CssSelector>>>
PseudoFunction.CONTAINS, PseudoFunction.EQ, PseudoFunction.GT, PseudoFunction.HAS, PseudoFunction.LT, PseudoFunction.NOT, PseudoFunction.NTH_CHILD, PseudoFunction.NTH_LAST_CHILD, PseudoFunction.NTH_LAST_OF_TYPE, PseudoFunction.NTH_OF_TYPE
Constructor and Description |
---|
HAS() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Node node,
java.util.List<java.util.List<CssSelector>> selectors)
Matches node using provided parsed expression.
|
java.util.List<java.util.List<CssSelector>> |
parseExpression(java.lang.String expression)
Parses expression before usage.
|
getPseudoFunctionName, match
public java.util.List<java.util.List<CssSelector>> parseExpression(java.lang.String expression)
PseudoFunction
parseExpression
in class PseudoFunction<java.util.List<java.util.List<CssSelector>>>
public boolean match(Node node, java.util.List<java.util.List<CssSelector>> selectors)
PseudoFunction
match
in class PseudoFunction<java.util.List<java.util.List<CssSelector>>>
Copyright © 2003-present Jodd Team