wt.visitor
Class ReverseConfigSpecNodeExpander

java.lang.Object
  extended by wt.visitor.ConfigSpecNodeExpander
      extended by wt.visitor.ReverseConfigSpecNodeExpander
All Implemented Interfaces:
Serializable, NodeExpander

public class ReverseConfigSpecNodeExpander
extends ConfigSpecNodeExpander
implements Serializable

The ConfigSpecNodeExpander class uses the Struct Service and a ConfigSpec to implement the expand operation. The node is assumed to be an Iteration and the "used by" link is navigated.

Supported API: true

Extendable: false

See Also:
ConfigSpec, StructService, Serialized Form

Constructor Summary
ReverseConfigSpecNodeExpander(ConfigSpec a_configSpec)
          Constructs an instance.
 
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.
 
Methods inherited from class wt.visitor.ConfigSpecNodeExpander
getConfigSpec, setConfigSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseConfigSpecNodeExpander

public ReverseConfigSpecNodeExpander(ConfigSpec a_configSpec)
                              throws WTPropertyVetoException
Constructs an instance.

Supported API: true

Parameters:
a_configSpec -
Throws:
WTPropertyVetoException
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

Specified by:
expandNode in interface NodeExpander
Overrides:
expandNode in class ConfigSpecNodeExpander
Parameters:
parentNode -
links -
nodes -
Throws:
WTException