org.hibernate.hql.ast.util

Interface ASTUtil.FilterPredicate

Known Implementing Classes:
ASTUtil.IncludePredicate

public static interface ASTUtil.FilterPredicate

Filters nodes out of a tree.

Method Summary

boolean
exclude(AST n)
Returns true if the node should be filtered out.

Method Details

exclude

public boolean exclude(AST n)
Returns true if the node should be filtered out.
Parameters:
n - The node.
Returns:
true if the node should be filtered out, false to keep the node.