Package no.acntech.kollectiveq
Class FilterPrintVisitor
-
- All Implemented Interfaces:
-
no.acntech.kollectiveq.FilterVisitor
public final class FilterPrintVisitor extends FilterBaseVisitor
The FilterPrintVisitor class is responsible for visiting filter conditions and generating a formatted string representation of the conditions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
FilterPrintVisitor.PrintFormat
-
Constructor Summary
Constructors Constructor Description FilterPrintVisitor(FilterPrintVisitor.PrintFormat format, Integer indentSize)
-
Method Summary
Modifier and Type Method Description Unit
visitSimpleCondition(Filter.Condition.SimpleCondition condition)
Unit
visitInListCondition(Filter.Condition.InListCondition condition)
Unit
visitNotInListCondition(Filter.Condition.NotInListCondition condition)
Unit
visitConditionGroup(Filter.Condition.ConditionGroup conditionGroup)
Default implementation visits all conditions in the group. final String
print()
String
toString()
-
-
Constructor Detail
-
FilterPrintVisitor
FilterPrintVisitor(FilterPrintVisitor.PrintFormat format, Integer indentSize)
-
-
Method Detail
-
visitSimpleCondition
Unit visitSimpleCondition(Filter.Condition.SimpleCondition condition)
-
visitInListCondition
Unit visitInListCondition(Filter.Condition.InListCondition condition)
-
visitNotInListCondition
Unit visitNotInListCondition(Filter.Condition.NotInListCondition condition)
-
visitConditionGroup
Unit visitConditionGroup(Filter.Condition.ConditionGroup conditionGroup)
Default implementation visits all conditions in the group.
-
-
-
-