Package jodd.csselly.selector
Class PseudoFunction<E>
java.lang.Object
jodd.csselly.selector.PseudoFunction<E>
- Direct Known Subclasses:
PseudoFunctions.CONTAINS,PseudoFunctions.EQ,PseudoFunctions.GT,PseudoFunctions.HAS,PseudoFunctions.LT,PseudoFunctions.NOT,PseudoFunctions.NTH_CHILD,PseudoFunctions.NTH_LAST_CHILD,PseudoFunctions.NTH_LAST_OF_TYPE,PseudoFunctions.NTH_OF_TYPE
Pseudo functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns pseudo-function name.abstract booleanMatches node using provided parsed expression.booleanmatchInRange(List<Node> matchedResults, Node node, int index, E expression) Returnstrueif node matches the pseudo-class within currently matched results.abstract EparseExpression(String expression) Parses expression before usage.
-
Constructor Details
-
PseudoFunction
public PseudoFunction()
-
-
Method Details
-
parseExpression
Parses expression before usage. -
match
Matches node using provided parsed expression. -
matchInRange
Returnstrueif node matches the pseudo-class within currently matched results. -
getPseudoFunctionName
Returns pseudo-function name.
-