|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Unparser
An implementation of this interface is required to call the unparse method
in CaseSubset. The unparsing is performed recursively on subexpressions, and it is the responsibility
of the unparser to generate the actual text.
CaseSubset.unparse(Unparser)| Method Summary | |
|---|---|
String |
unparseConjunction(String... subExpressions)
Binds together subexpressions in a conjunction, e.g. "( ID('V5') = 0 ) AND ( (...) |
String |
unparseDisjunction(String... subExpressions)
Binds together subexpressions in a conjunction, e.g. "( ID('V5') = 0 ) OR ( (...) |
String |
unparseNegation(String expession)
Negates an expression, e.g. |
String |
unparseSimpleTerm(Variable var,
Object value,
Expression.Operator op)
Generate a string representation of a simple term, for example |
| Method Detail |
|---|
String unparseSimpleTerm(Variable var,
Object value,
Expression.Operator op)
var - The "V22" partvalue - The "5.23452" partop - The "=" part
String representing the termString unparseConjunction(String... subExpressions)
subExpressions -
String representing the conjunctionString unparseDisjunction(String... subExpressions)
subExpressions -
String representing the disjunctionString unparseNegation(String expession)
expession -
String representing the negation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||