Package org.jaxen.saxpath
Interface Operator
-
public interface OperatorConstants used to represent XPath operators.
-
-
Field Summary
Fields Modifier and Type Field Description static intADDThe addition operator+static intDIVThe floating point division operatordiv.static intEQUALSThe equal to operator=.static intGREATER_THANThe greater-than operator>static intGREATER_THAN_EQUALSThe greater-than or equals operator>=static intLESS_THANThe less-than operator<static intLESS_THAN_EQUALSThe less-than-or-equal-to operator<=static intMODThe remainder operatormod.static intMULTIPLYThe multiplication operator*static intNEGATIVEUnary-static intNO_OPIndicates that we're passing through a grammar production without actually activating it.static intNOT_EQUALSThe not equal to operator!=static intSUBTRACTThe subtraction operator-
-
-
-
Field Detail
-
NO_OP
static final int NO_OP
Indicates that we're passing through a grammar production without actually activating it. For example in the expression1is matches AdditiveExpr and MultiplicativeExpr in the XPath grammar, even though it has neither a plus, minus, multiplication, or other sign.- See Also:
- Constant Field Values
-
EQUALS
static final int EQUALS
The equal to operator=. This is equivalent to==in Java. This is a comparison operator, not an assignment operator.- See Also:
- Constant Field Values
-
NOT_EQUALS
static final int NOT_EQUALS
The not equal to operator!=- See Also:
- Constant Field Values
-
LESS_THAN
static final int LESS_THAN
The less-than operator<- See Also:
- Constant Field Values
-
LESS_THAN_EQUALS
static final int LESS_THAN_EQUALS
The less-than-or-equal-to operator<=- See Also:
- Constant Field Values
-
GREATER_THAN
static final int GREATER_THAN
The greater-than operator>- See Also:
- Constant Field Values
-
GREATER_THAN_EQUALS
static final int GREATER_THAN_EQUALS
The greater-than or equals operator>=- See Also:
- Constant Field Values
-
ADD
static final int ADD
The addition operator+- See Also:
- Constant Field Values
-
SUBTRACT
static final int SUBTRACT
The subtraction operator-- See Also:
- Constant Field Values
-
MULTIPLY
static final int MULTIPLY
The multiplication operator*- See Also:
- Constant Field Values
-
MOD
static final int MOD
The remainder operatormod. This is equivalent to%in Java.- See Also:
- Constant Field Values
-
DIV
static final int DIV
The floating point division operatordiv. This is equivalent to/in Java.- See Also:
- Constant Field Values
-
NEGATIVE
static final int NEGATIVE
Unary-- See Also:
- Constant Field Values
-
-