|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ucl.xpath.ast.XPathNode
org.ucl.xpath.ast.Expr
org.ucl.xpath.ast.BinExpr
org.ucl.xpath.ast.CmpExpr
The comparison of expression operator takes the value of its left operand and compares (dependant on type) against its right operand, according to the rules of the particular comparison rule
Field Summary | |
static int |
EQ
Set internal value for EQ operation. |
static int |
EQUALS
Set internal value for EQUALS operation. |
static int |
GE
Set internal value for GE operation. |
static int |
GREATER
Set internal value for GREATER operation. |
static int |
GREATER_GREATER
Set internal value for GREATER_GREATER operation. |
static int |
GREATEREQUAL
Set internal value for GREATEREQUAL operation. |
static int |
GT
Set internal value for GT operation. |
static int |
IS
Set internal value for IS operation. |
static int |
LE
Set internal value for LE operation. |
static int |
LESS_LESS
Set internal value for LESS_LESS operation. |
static int |
LESSEQUAL
Set internal value for LESSEQUAL operation. |
static int |
LESSTHAN
Set internal value for LESSTHAN operation. |
static int |
LT
Set internal value for LT operation. |
static int |
NE
Set internal value for NE operation. |
static int |
NOTEQUALS
Set internal value for NOTEQUALS operation. |
Constructor Summary | |
CmpExpr(Expr l,
Expr r,
int type)
Constructor for CmpExpr |
Method Summary | |
java.lang.Object |
accept(XPathVisitor v)
Support for Visitor interface. |
int |
type()
|
Methods inherited from class org.ucl.xpath.ast.BinExpr |
left, right, set_left, set_right |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int EQUALS
public static final int NOTEQUALS
public static final int LESSTHAN
public static final int LESSEQUAL
public static final int GREATER
public static final int GREATEREQUAL
public static final int EQ
public static final int NE
public static final int LT
public static final int LE
public static final int GT
public static final int GE
public static final int IS
public static final int LESS_LESS
public static final int GREATER_GREATER
Constructor Detail |
public CmpExpr(Expr l, Expr r, int type)
l
- input xpath left expression/variabler
- input xpath right expression/variabletype
- what comparison to use l against r.Method Detail |
public java.lang.Object accept(XPathVisitor v)
accept
in class XPathNode
public int type()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |