ca.quine.jcommons.transform.graph.test
Class LinearizeAndPruneApplicator

java.lang.Object
  |
  +--ca.quine.jcommons.transform.appl.LinearizeApplicator
        |
        +--ca.quine.jcommons.transform.graph.test.LinearizeAndPruneApplicator
All Implemented Interfaces:
IDFSNodeApplicator

public class LinearizeAndPruneApplicator
extends LinearizeApplicator


Field Summary
 
Fields inherited from interface ca.quine.jcommons.transform.graph.IDFSNodeApplicator
SEARCH_CONTINUE, SEARCH_STOP, SEARCH_TRIM
 
Constructor Summary
LinearizeAndPruneApplicator(String nodeType)
           
 
Method Summary
 int applyPreOrder(TransformNode parentNode, TransformNode node)
          Apply the parent node and child node of every edge in pre-order DFS order.
 
Methods inherited from class ca.quine.jcommons.transform.appl.LinearizeApplicator
applyForwardEdge, applyPostOrder, getNodeList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearizeAndPruneApplicator

public LinearizeAndPruneApplicator(String nodeType)
Method Detail

applyPreOrder

public int applyPreOrder(TransformNode parentNode,
                         TransformNode node)
Description copied from interface: IDFSNodeApplicator
Apply the parent node and child node of every edge in pre-order DFS order.

Specified by:
applyPreOrder in interface IDFSNodeApplicator
Overrides:
applyPreOrder in class LinearizeApplicator
Parameters:
parentNode -
node -
Returns:
IDFSNodeApplicator.SEARCH_CONTINUE, IDFSNodeApplicator.SEARCH_STOP, or IDFSNodeApplicator.SEARCH_TRIM