public class ERXQualifierTraversal extends Object
Constructor and Description |
---|
ERXQualifierTraversal() |
Modifier and Type | Method and Description |
---|---|
void |
traverse(EOQualifierEvaluation q)
Visit every descendent qualifier in the given qualifier tree in a preorder traversal.
|
void |
traverse(EOQualifierEvaluation q,
boolean postOrder)
Visit every descendent qualifier in the given qualifier tree.
|
protected boolean |
traverseAndQualifier(EOAndQualifier q)
Should traverse and qualifier?
|
protected boolean |
traverseExistsQualifier(ERXExistsQualifier q)
Should traverse exists qualifier?
|
protected boolean |
traverseFalseQualifier(ERXFalseQualifier q)
Should traverse false qualifier?
|
protected boolean |
traverseKeyComparisonQualifier(EOKeyComparisonQualifier q)
Should traverse key comparison qualifier?
|
protected boolean |
traverseKeyValueQualifier(EOKeyValueQualifier q)
Should traverse a key value qualifier?
|
protected boolean |
traverseNotQualifier(EONotQualifier q)
Should traverse not qualifier?
|
protected boolean |
traverseOrQualifier(EOOrQualifier q)
Should traverse or qualifier?
|
protected boolean |
traverseTrueQualifier(ERXTrueQualifier q)
Should traverse true qualifier?
|
protected boolean |
traverseUnknownQualifier(EOQualifierEvaluation q)
Should traverse unknown qualifier? Logs an error.
|
protected void |
visit(EOQualifierEvaluation q)
Catch-all visitor, will get called for each qualifier.
|
protected void visit(EOQualifierEvaluation q)
q
- the qualifier to processprotected boolean traverseUnknownQualifier(EOQualifierEvaluation q)
q
- the qualifier to processprotected boolean traverseNotQualifier(EONotQualifier q)
q
- the qualifier to processprotected boolean traverseOrQualifier(EOOrQualifier q)
q
- the qualifier to processprotected boolean traverseAndQualifier(EOAndQualifier q)
q
- the qualifier to processprotected boolean traverseKeyValueQualifier(EOKeyValueQualifier q)
q
- the qualifier to processprotected boolean traverseKeyComparisonQualifier(EOKeyComparisonQualifier q)
q
- the qualifier to processprotected boolean traverseTrueQualifier(ERXTrueQualifier q)
q
- the qualifier to processprotected boolean traverseFalseQualifier(ERXFalseQualifier q)
q
- the qualifier to processprotected boolean traverseExistsQualifier(ERXExistsQualifier q)
q
- the qualifier to processpublic void traverse(EOQualifierEvaluation q)
q
- the root qualifier to traversepublic void traverse(EOQualifierEvaluation q, boolean postOrder)
q
- the root qualifier to traversepostOrder
- if true, the qualifier is traversed from the bottom to the topCopyright © 2002 – 2024 Project Wonder.