Interface Operator
public interface Operator
Constants used to represent XPath operators.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe addition operator+static final intThe floating point division operatordiv.static final intThe equal to operator=.static final intThe greater-than operator>static final intThe greater-than or equals operator>=static final intThe less-than operator<static final intThe less-than-or-equal-to operator<=static final intThe remainder operatormod.static final intThe multiplication operator*static final intUnary-static final intIndicates that we're passing through a grammar production without actually activating it.static final intThe not equal to operator!=static final intThe subtraction operator-
-
Field Details
-
NO_OP
static final int NO_OPIndicates 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:
-
EQUALS
static final int EQUALSThe equal to operator=. This is equivalent to==in Java. This is a comparison operator, not an assignment operator.- See Also:
-
NOT_EQUALS
static final int NOT_EQUALSThe not equal to operator!=- See Also:
-
LESS_THAN
static final int LESS_THANThe less-than operator<- See Also:
-
LESS_THAN_EQUALS
static final int LESS_THAN_EQUALSThe less-than-or-equal-to operator<=- See Also:
-
GREATER_THAN
static final int GREATER_THANThe greater-than operator>- See Also:
-
GREATER_THAN_EQUALS
static final int GREATER_THAN_EQUALSThe greater-than or equals operator>=- See Also:
-
ADD
static final int ADDThe addition operator+- See Also:
-
SUBTRACT
static final int SUBTRACTThe subtraction operator-- See Also:
-
MULTIPLY
static final int MULTIPLYThe multiplication operator*- See Also:
-
MOD
static final int MODThe remainder operatormod. This is equivalent to%in Java.- See Also:
-
DIV
static final int DIVThe floating point division operatordiv. This is equivalent to/in Java.- See Also:
-
NEGATIVE
static final int NEGATIVEUnary-- See Also:
-