|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConditionNode | |
---|---|
org.shiwa.fgi.iwir | Provides simple java classes to generate an IWIR workflow. |
org.shiwa.fgi.iwir.condition | Provides the necessary tools for evaluating a condition according to the IWIR specification. |
Uses of ConditionNode in org.shiwa.fgi.iwir |
---|
Methods in org.shiwa.fgi.iwir that return ConditionNode | |
---|---|
ConditionNode |
ConditionExpression.getConditionAsNode()
Gets the condition as ConditionNode representation. |
Constructors in org.shiwa.fgi.iwir with parameters of type ConditionNode | |
---|---|
ConditionExpression(ConditionNode node)
Instantiates a new condition expression. |
Uses of ConditionNode in org.shiwa.fgi.iwir.condition |
---|
Methods in org.shiwa.fgi.iwir.condition that return ConditionNode | |
---|---|
static ConditionNode |
ConditionAST.createAndOp(ConditionNode left,
ConditionNode right)
Creates an a AND (and) operation. |
static ConditionNode |
ConditionAST.createAST(java.lang.String condition)
Creates the AST from the given condition. |
static ConditionNode |
ConditionNode.createAST(java.lang.String condition)
Creates the AST from the given condition string. |
static ConditionNode |
ConditionAST.createBoolOp(boolean b)
Creates a bool op. |
static ConditionNode |
ConditionAST.createDoubleNode(double d)
Creates a double node. |
static ConditionNode |
ConditionAST.createEqOp(ConditionNode left,
ConditionNode right)
Creates an a EQ (=) operation. |
static ConditionNode |
ConditionAST.createGteOp(ConditionNode left,
ConditionNode right)
Creates an a GTE (>=) operation. |
static ConditionNode |
ConditionAST.createGtOp(ConditionNode left,
ConditionNode right)
Creates an a GT (>) operation. |
static ConditionNode |
ConditionAST.createIntNode(int n)
Creates a int node. |
static ConditionNode |
ConditionAST.createLteOp(ConditionNode left,
ConditionNode right)
Creates an a LTE (<=) operation. |
static ConditionNode |
ConditionAST.createLtOp(ConditionNode left,
ConditionNode right)
Creates an a LT (<) operation. |
static ConditionNode |
ConditionAST.createNeqOp(ConditionNode left,
ConditionNode right)
Creates an a NEQ (!=) operation. |
static ConditionNode |
ConditionAST.createNotOp(ConditionNode left)
Creates an a NOT (not) operation. |
static ConditionNode |
ConditionAST.createOrOp(ConditionNode left,
ConditionNode right)
Creates an a OR (or) operation. |
static ConditionNode |
ConditionAST.createParenOp(ConditionNode left)
Parenthesizes a condition (cond) operation. |
static ConditionNode |
ConditionAST.createPortNode(java.lang.String s)
Creates a port node. |
static ConditionNode |
ConditionAST.createStringNode(java.lang.String s)
Creates a string node. |
ConditionNode |
ConditionNode.getLeft()
Gets the left subtree of the node or null if the value is not set. |
ConditionNode |
ConditionNode.getRight()
Gets the right subtree of the node or null if the value is not set. |
Methods in org.shiwa.fgi.iwir.condition that return types with arguments of type ConditionNode | |
---|---|
static java.util.List<ConditionNode> |
ConditionNode.flatten(ConditionNode node)
Flattens the AST and returning a list of nodes. |
static java.util.List<ConditionNode> |
ConditionNode.split(ConditionNode node,
ConditionToken token)
Split. |
Methods in org.shiwa.fgi.iwir.condition with parameters of type ConditionNode | |
---|---|
static ConditionNode |
ConditionAST.createAndOp(ConditionNode left,
ConditionNode right)
Creates an a AND (and) operation. |
static ConditionNode |
ConditionAST.createEqOp(ConditionNode left,
ConditionNode right)
Creates an a EQ (=) operation. |
static ConditionNode |
ConditionAST.createGteOp(ConditionNode left,
ConditionNode right)
Creates an a GTE (>=) operation. |
static ConditionNode |
ConditionAST.createGtOp(ConditionNode left,
ConditionNode right)
Creates an a GT (>) operation. |
static ConditionNode |
ConditionAST.createLteOp(ConditionNode left,
ConditionNode right)
Creates an a LTE (<=) operation. |
static ConditionNode |
ConditionAST.createLtOp(ConditionNode left,
ConditionNode right)
Creates an a LT (<) operation. |
static ConditionNode |
ConditionAST.createNeqOp(ConditionNode left,
ConditionNode right)
Creates an a NEQ (!=) operation. |
static ConditionNode |
ConditionAST.createNotOp(ConditionNode left)
Creates an a NOT (not) operation. |
static ConditionNode |
ConditionAST.createOrOp(ConditionNode left,
ConditionNode right)
Creates an a OR (or) operation. |
static ConditionNode |
ConditionAST.createParenOp(ConditionNode left)
Parenthesizes a condition (cond) operation. |
static boolean |
ConditionAST.evalAST(ConditionNode root)
Evaluates an AST. |
static boolean |
ConditionNode.evalNode(ConditionNode n)
Evaluates an AST and returns a boolean value. |
static java.util.List<ConditionNode> |
ConditionNode.flatten(ConditionNode node)
Flattens the AST and returning a list of nodes. |
static java.lang.String |
ConditionNode.getCondition(ConditionNode n)
Gets the string representation of a condition AST. |
static java.lang.String |
ConditionAST.getConditionString(ConditionNode root)
Gets the condition string from a given AST. |
static boolean |
ConditionAST.isLeaf(ConditionNode n)
Checks if a given node is a leaf. |
static boolean |
ConditionNode.isLeaf(ConditionNode n)
Checks if the node is a leaf node. |
static boolean |
ConditionAST.isOperator(ConditionNode n)
Checks if a given node is an operator. |
static void |
ConditionNode.printCondition(ConditionNode n)
Prints the condition string from an AST. |
static void |
ConditionAST.printInOrder(ConditionNode root)
Prints the AST in order. |
static void |
ConditionNode.printInOrder(ConditionNode n)
Prints the AST in order. |
static void |
ConditionNode.printPreOrder(ConditionNode n)
Prints the AST pre order. |
void |
ConditionNode.setLeft(ConditionNode left)
Sets the left subtree of a node. |
void |
ConditionNode.setRight(ConditionNode right)
Sets the right subtree of a node. |
static java.util.List<ConditionNode> |
ConditionNode.split(ConditionNode node,
ConditionToken token)
Split. |
Constructors in org.shiwa.fgi.iwir.condition with parameters of type ConditionNode | |
---|---|
ConditionNode(ConditionNode node)
Returns a copy. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |