wt.visitor
Class ReverseConfigSpecNodeExpander

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

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

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.visitor.ConfigSpecNodeExpander
 
Constructor Summary
ReverseConfigSpecNodeExpander()
           
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ReverseConfigSpecNodeExpander

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

Supported API: true

Parameters:
a_configSpec -
Throws:
WTPropertyVetoException

ReverseConfigSpecNodeExpander

public ReverseConfigSpecNodeExpander()
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