wt.visitor
Interface NodeExpander

All Known Subinterfaces:
ObjectGraph, ObjectGraphNode, ObjectGraphNodeTemplate, ObjectGraphTemplate
All Known Implementing Classes:
AbstractObjectGraph, AbstractObjectGraphNode, AbstractObjectGraphNodeTemplate, AbstractObjectGraphTemplate, BasicNodeExpander, ConfigSpecNodeExpander, DocumentConfigSpecNodeExpander, NodeExpanderFactory, OccurrencedPartConfigSpecNodeExpander, PartConfigSpecNodeExpander

public interface NodeExpander

This interface defines how nodes will be expanded (i.e. follow links from a parent node to child nodes). A class that implements this interface must provide a mechanisn for expanding a node. This includes a particular method of expansion as well as which links/roles will be used.

The NodeExpander is used to customize how a structure is navigated independent of the navigation control and the operations performed during the navigation.

Supported API: true

Extendable: true


Method Summary
 void expandNode(Persistable parentNode, Vector links, Vector nodes)
          Expands the node returning all of the links and nodes associated with the parent node.
 

Method Detail

expandNode

public void expandNode(Persistable parentNode,
                       Vector links,
                       Vector nodes)
                throws WTException
Expands the node returning all of the links and nodes associated with the parent node.

Supported API: true

Parameters:
parentNode -
links -
nodes -
Throws:
WTException