public interface MatchRuleVisitor
Modifier and Type | Method and Description |
---|---|
void |
attribute(java.lang.String name,
MatchRuleCompareOperator compareOperator,
java.lang.String[] values,
boolean andOperator,
boolean notOperator)
This method will be called for each attribute.
|
void |
endGroup()
This method will be called for each group end occurence.
|
void |
startGroup(boolean andOperator,
boolean notOperator)
This method will be called for each start of a new group.
|
void |
walkThroughFinished()
This method will be called when the MatchRule has finished to walk
through its elements.
|
void |
walkThroughInit()
This method will be called right before the MatchRule walks
through its elements.
|
void walkThroughInit()
void walkThroughFinished()
void startGroup(boolean andOperator, boolean notOperator)
andOperator
- If true it is an AND combination otherwise it is ORnotOperator
- Is only true for a NOT operationvoid endGroup()
void attribute(java.lang.String name, MatchRuleCompareOperator compareOperator, java.lang.String[] values, boolean andOperator, boolean notOperator)
name
- The attribute's namecompareOperator
- The operator used to compare valuesvalues
- All values the attribute my match (implicit OR combination !)andOperator
- If true it is an AND combination otherwise it is ORnotOperator
- Is only true for a NOT operation