|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Constants used to represent XPath operators.
Field Summary | |
static int |
ADD
The addition operator + |
static int |
DIV
The floating point division operator div . |
static int |
EQUALS
The equal to operator = . |
static int |
GREATER_THAN
The greater-than operator > |
static int |
GREATER_THAN_EQUALS
The greater-than or equals operator >= |
static int |
LESS_THAN
The less-than operator < |
static int |
LESS_THAN_EQUALS
The less-than-or-equal-to operator <= |
static int |
MOD
The remainder operator mod . |
static int |
MULTIPLY
The multiplication operator * |
static int |
NEGATIVE
Unary - |
static int |
NO_OP
Indicates that we're passing through a grammar production without actually activating it. |
static int |
NOT_EQUALS
The not equal to operator != |
static int |
SUBTRACT
The subtraction operator - |
Field Detail |
public static final int NO_OP
1
is matches AdditiveExpr and MultiplicativeExpr in
the XPath grammar, even though it has neither a plus,
minus, multiplication, or other sign.
public static final int EQUALS
=
. This is equivalent to ==
in Java. This is a comparison operator, not an assignment operator.
public static final int NOT_EQUALS
!=
public static final int LESS_THAN
<
public static final int LESS_THAN_EQUALS
<=
public static final int GREATER_THAN
>
public static final int GREATER_THAN_EQUALS
>=
public static final int ADD
+
public static final int SUBTRACT
-
public static final int MULTIPLY
*
public static final int MOD
mod
. This is equivalent to
%
in Java.
public static final int DIV
div
. This is equivalent to
/
in Java.
public static final int NEGATIVE
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |