|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.path.ConditionExpression
public abstract class ConditionExpression
A condition object represents a condition expression. Conditions uses a grammar similar to SQL conditions, and is defined in details in the programming guide.
| Field Summary | |
|---|---|
static int |
ALL
'All' constant in the comparison condition. |
static int |
ANY
'Any' constant in the comparison condition. |
static int |
SOME
'Some' constant in the comparison condition. |
| Constructor Summary | |
|---|---|
ConditionExpression()
|
|
| Method Summary | |
|---|---|
abstract Object |
execute(XNode tree,
VariableTable vars)
Execute the condition. |
abstract String[] |
getVariables()
Get names of all variables used in the condition. |
static ConditionExpression |
parse(String cond)
Parse a condition string and create a condition object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALL
public static final int ANY
public static final int SOME
| Constructor Detail |
|---|
public ConditionExpression()
| Method Detail |
|---|
public abstract Object execute(XNode tree,
VariableTable vars)
throws Exception
tree - input data tree.vars - condition variables.
Exceptionpublic abstract String[] getVariables()
public static ConditionExpression parse(String cond)
throws ParseException
ParseException
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||