|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.fzi.XPath.Expr
|
+--de.fzi.XPath.NaryExpr
|
+--de.fzi.XPath.AndExpr
AndExpr class represents conjunction over several expresion.
| Fields inherited from class de.fzi.XPath.Expr |
ADD_OP, AND_OP, DIV_OP, EQ_OP, GT_OP, GTE_OP, LT_OP, LTE_OP, MOD_OP, MUL_OP, NEQ_OP, NOP_OP, OR_OP, SUB_OP, U_OP |
| Constructor Summary | |
AndExpr()
|
|
| Method Summary | |
void |
addExpr(Expr expr)
Adds expression to and-expression. |
void |
addExpr(Expr expr,
int operator)
Adds expression to and-expression. |
| Methods inherited from class de.fzi.XPath.NaryExpr |
getExpr, getExprsCount, toString |
| Methods inherited from class de.fzi.XPath.Expr |
getNegative, getOperator, getOperatorAsString, getOperatorName, getPositive, setOperator, setPositive |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AndExpr()
| Method Detail |
public void addExpr(Expr expr,
int operator)
expr - expression to be added.operator - operator code.
If the expression is another conjunction, the function does not add
it as a subexpression. Instead, its subexpressions are added.a and (b and c) will be a and b and c.public void addExpr(Expr expr)
expr - expression to be added.addExpr(expr, Expr.AND_OP);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||