public abstract class ContextualNodeVisitor<T,S> extends Object
| Constructor and Description |
|---|
ContextualNodeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
protected T |
condition(ComparisonNode node,
S context)
Build a comparison node value into a visited value so that
it can be composed into the larger query being built.
|
protected Object |
single(Collection<?> values) |
protected abstract T |
visit(AndNode node,
S context) |
protected abstract T |
visit(ComparisonNode node,
S context) |
protected abstract T |
visit(OrNode node,
S context) |
T |
visitAny(AbstractNode node,
S context) |
protected abstract T visit(ComparisonNode node, S context)
protected T condition(ComparisonNode node, S context)
node - The node with a condition argument to build into a visited value.protected Object single(Collection<?> values)
public final T visitAny(AbstractNode node, S context)
Copyright © 2017. All rights reserved.