astcentric.structure.query
Interface NodeCollector

All Known Implementing Classes:
AncestorCollector, DescendantsCollector, DifferenceCollector, IntersectionCollector, NodeCollectionProvider, NodeCollectorTemplate, RecursiveNodeCollector, ReferableNodesCollector, ReferenceCollector, SiblingCollector, Union

public interface NodeCollector

A factory for a NodeCollection.


Method Summary
 NodeCollection collect(Node node, QueryContext queryContext)
          Creates a node collection for the specified node.
 

Method Detail

collect

NodeCollection collect(Node node,
                       QueryContext queryContext)
Creates a node collection for the specified node.

Parameters:
node - A non-null node which might be related to the collection to be created.
queryContext - A non-null query context.
Returns:
never null.