com.jeantessier.dependency
Class DecoratorTraversalStrategy

java.lang.Object
  |
  +--com.jeantessier.dependency.DecoratorTraversalStrategy
All Implemented Interfaces:
TraversalStrategy
Direct Known Subclasses:
SortedTraversalStrategy

public abstract class DecoratorTraversalStrategy
extends java.lang.Object
implements TraversalStrategy


Constructor Summary
DecoratorTraversalStrategy(TraversalStrategy strategy)
           
 
Method Summary
 boolean InFilter(ClassNode node)
           
 boolean InFilter(FeatureNode node)
           
 boolean InFilter(PackageNode node)
           
 boolean InScope(ClassNode node)
           
 boolean InScope(FeatureNode node)
           
 boolean InScope(PackageNode node)
           
 java.util.Collection Order(java.util.Collection collection)
           
 boolean PostInboundTraversal()
           
 void PostInboundTraversal(boolean post_inbound_traversal)
           
 boolean PostOutboundTraversal()
           
 void PostOutboundTraversal(boolean post_outbound_traversal)
           
 boolean PreInboundTraversal()
           
 void PreInboundTraversal(boolean pre_inbound_traversal)
           
 boolean PreOutboundTraversal()
           
 void PreOutboundTraversal(boolean pre_outbound_traversal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratorTraversalStrategy

public DecoratorTraversalStrategy(TraversalStrategy strategy)
Method Detail

PreOutboundTraversal

public boolean PreOutboundTraversal()
Specified by:
PreOutboundTraversal in interface TraversalStrategy

PreOutboundTraversal

public void PreOutboundTraversal(boolean pre_outbound_traversal)
Specified by:
PreOutboundTraversal in interface TraversalStrategy

PreInboundTraversal

public boolean PreInboundTraversal()
Specified by:
PreInboundTraversal in interface TraversalStrategy

PreInboundTraversal

public void PreInboundTraversal(boolean pre_inbound_traversal)
Specified by:
PreInboundTraversal in interface TraversalStrategy

PostOutboundTraversal

public boolean PostOutboundTraversal()
Specified by:
PostOutboundTraversal in interface TraversalStrategy

PostOutboundTraversal

public void PostOutboundTraversal(boolean post_outbound_traversal)
Specified by:
PostOutboundTraversal in interface TraversalStrategy

PostInboundTraversal

public boolean PostInboundTraversal()
Specified by:
PostInboundTraversal in interface TraversalStrategy

PostInboundTraversal

public void PostInboundTraversal(boolean post_inbound_traversal)
Specified by:
PostInboundTraversal in interface TraversalStrategy

InScope

public boolean InScope(PackageNode node)
Specified by:
InScope in interface TraversalStrategy

InScope

public boolean InScope(ClassNode node)
Specified by:
InScope in interface TraversalStrategy

InScope

public boolean InScope(FeatureNode node)
Specified by:
InScope in interface TraversalStrategy

InFilter

public boolean InFilter(PackageNode node)
Specified by:
InFilter in interface TraversalStrategy

InFilter

public boolean InFilter(ClassNode node)
Specified by:
InFilter in interface TraversalStrategy

InFilter

public boolean InFilter(FeatureNode node)
Specified by:
InFilter in interface TraversalStrategy

Order

public java.util.Collection Order(java.util.Collection collection)
Specified by:
Order in interface TraversalStrategy