wt.visitor
Class EPMDocReqNodeExpander

java.lang.Object
  extended bywt.visitor.ConfigSpecNodeExpander
      extended bywt.visitor.EPMDocReqNodeExpander
All Implemented Interfaces:
NodeExpander

public class EPMDocReqNodeExpander
extends ConfigSpecNodeExpander

The EPMDocReqNodeExpander class uses the EPMStruct Service and a ConfigSpec to implement the expand operation. The node is assumed to be an Iteration and the "uses" link is navigated with non required links passed over.

Supported API: true

Extendable: true

See Also:
ConfigSpec, wt.strucure.EPMStructureService

Field Summary
private static String CLASSNAME
           
private  EPMWorkspace currentWorkspace
           
private static String RESOURCE
           
 
Fields inherited from class wt.visitor.ConfigSpecNodeExpander
 
Constructor Summary
EPMDocReqNodeExpander()
           
EPMDocReqNodeExpander(ConfigSpec a_ConfigSpec)
          Constructs an instance

Supported API: true
EPMDocReqNodeExpander(EPMWorkspace ws, ConfigSpec a_ConfigSpec)
           
 
Method Summary
private  Persistable checkForOriginal(Persistable doc)
           
 void expandNode(Persistable parentNode, Vector links, Vector nodes)
          

Supported API: true
 
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

currentWorkspace

private EPMWorkspace currentWorkspace
Constructor Detail

EPMDocReqNodeExpander

public EPMDocReqNodeExpander(ConfigSpec a_ConfigSpec)
                      throws WTPropertyVetoException
Constructs an instance

Supported API: true

Parameters:
a_ConfigSpec -
Throws:
WTPropertyVetoException

EPMDocReqNodeExpander

public EPMDocReqNodeExpander()

EPMDocReqNodeExpander

public EPMDocReqNodeExpander(EPMWorkspace ws,
                             ConfigSpec a_ConfigSpec)
                      throws WTPropertyVetoException
Method Detail

expandNode

public void expandNode(Persistable parentNode,
                       Vector links,
                       Vector nodes)
                throws WTException


Supported API: true

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

checkForOriginal

private Persistable checkForOriginal(Persistable doc)
                              throws WTException
Throws:
WTException