public class BasicItemFilter extends java.lang.Object implements Filter<Node>
Modifier and Type | Field and Description |
---|---|
private BasicItem |
item |
private Item |
itemType |
Constructor and Description |
---|
BasicItemFilter(BasicItem item)
Create a filter that finds nodes that has the given
item attached to it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Node node)
Evaluate if the given object should pass the filter or not.
|
public BasicItemFilter(BasicItem item)
item
- The item to look for