org.eclipse.actf.model.traverse.filters
Class NodeNameFilter

java.lang.Object
  extended by org.eclipse.actf.model.traverse.filters.NodeNameFilter
All Implemented Interfaces:
INodeFilter

public class NodeNameFilter
extends Object
implements INodeFilter


Field Summary
protected  List ignoreNames
           
protected  IModel model
           
 
Constructor Summary
NodeNameFilter(IModel model, String names)
           
 
Method Summary
 boolean pass(Object node)
          whether or not to admit this object through the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected IModel model

ignoreNames

protected List ignoreNames
Constructor Detail

NodeNameFilter

public NodeNameFilter(IModel model,
                      String names)
Method Detail

pass

public boolean pass(Object node)
Description copied from interface: INodeFilter
whether or not to admit this object through the filter

Specified by:
pass in interface INodeFilter
Returns:
true if this object should be included in successor node collections, false if it should be filtered