Package jodd.csselly.selector
Class PseudoFunctionExpression
- java.lang.Object
-
- jodd.csselly.selector.PseudoFunctionExpression
-
public class PseudoFunctionExpression extends java.lang.ObjectPseudo-function expression, in form:an + b.
-
-
Constructor Summary
Constructors Constructor Description PseudoFunctionExpression(java.lang.String expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValueA()Returns a value of the function expression.intgetValueB()Returns b value of the function expression.booleanmatch(int value)Matches expression with the value.protected intparseInt(java.lang.String value)Parses int value or throwsCSSellyExceptionon failure.
-
-
-
Method Detail
-
parseInt
protected int parseInt(java.lang.String value)
Parses int value or throwsCSSellyExceptionon failure.
-
getValueA
public int getValueA()
Returns a value of the function expression.
-
getValueB
public int getValueB()
Returns b value of the function expression.
-
match
public boolean match(int value)
Matches expression with the value.
-
-