jodd.lagarto.csselly.selector
Class PseudoFunctionExpression

java.lang.Object
  extended by jodd.lagarto.csselly.selector.PseudoFunctionExpression

public class PseudoFunctionExpression
extends java.lang.Object

Pseudo function expression, in form: an + b.


Field Summary
protected  int a
           
protected  int b
           
 
Constructor Summary
PseudoFunctionExpression(java.lang.String expression)
           
 
Method Summary
 int getValueA()
          Returns a value of the function expression.
 int getValueB()
          Returns b value of the function expression.
 boolean match(int value)
          Matches expression with the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected final int a

b

protected final int b
Constructor Detail

PseudoFunctionExpression

public PseudoFunctionExpression(java.lang.String expression)
Method Detail

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.



Copyright © 2003-2011 Jodd Team