public class Disjunction extends Junction
Constructor and Description |
---|
Disjunction()
Ctor - for use to create an expression tree, without child expression.
|
Disjunction(Expression first,
Expression second,
Expression... expressions)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
void |
toPrecedenceFreeEPL(StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in
language syntax.
|
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
public Disjunction()
Use add methods to add child expressions to acts upon.
public Disjunction(Expression first, Expression second, Expression... expressions)
first
- an expression to add to the OR-testsecond
- an expression to add to the OR-testexpressions
- is the expression to put in the OR-relationship.public ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use