public BooleanQueryNodeBuilder() {
// empty constructor
}
public Query build(final QueryNode queryNode) throws QueryNodeException {
final BooleanQueryNode booleanNode = (BooleanQueryNode) queryNode;
final BooleanQuery bQuery = new BooleanQuery();
final List<QueryNode> children = booleanNode.getChildren();
if (children != null) {
for (final QueryNode child : children) {
final Object obj = child.getTag(QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID);