Class StandardQueryTreeBuilder

  extended by
      extended by
All Implemented Interfaces:
QueryBuilder, StandardQueryBuilder

public class StandardQueryTreeBuilder
extends QueryTreeBuilder
implements StandardQueryBuilder

This query tree builder only defines the necessary map to build a Query tree object. It should be used to generate a Query tree object from a query node tree processed by a StandardQueryNodeProcessorPipeline.

See Also:
QueryTreeBuilder, StandardQueryNodeProcessorPipeline

Field Summary
Fields inherited from class
Constructor Summary
Method Summary
 Query build(QueryNode queryNode)
          Builds some kind of object from a query tree.
Methods inherited from class
setBuilder, setBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public StandardQueryTreeBuilder()
Method Detail


public Query build(QueryNode queryNode)
            throws QueryNodeException
Description copied from class: QueryTreeBuilder
Builds some kind of object from a query tree. Each node in the query tree is built using an specific builder associated to it.

Specified by:
build in interface QueryBuilder
Specified by:
build in interface StandardQueryBuilder
build in class QueryTreeBuilder
queryNode - the query tree root node
the built object
QueryNodeException - if some node builder throws a QueryNodeException or if there is a node which had no builder associated to it

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.