org.eclipse.actf.model.traverse.filters
Class NodeNameFilter
java.lang.Object
org.eclipse.actf.model.traverse.filters.NodeNameFilter
- All Implemented Interfaces:
- INodeFilter
public class NodeNameFilter
- extends Object
- implements INodeFilter
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 |
model
protected IModel model
ignoreNames
protected List ignoreNames
NodeNameFilter
public NodeNameFilter(IModel model,
String names)
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