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

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

public class NodeTypeFilter
extends Object
implements INodeFilter


Field Summary
protected  List<Pattern> ignoreTypes
           
protected  IModel model
           
 
Constructor Summary
NodeTypeFilter(IModel model, String types)
           
 
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

ignoreTypes

protected List<Pattern> ignoreTypes
Constructor Detail

NodeTypeFilter

public NodeTypeFilter(IModel model,
                      String types)
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