public class ItemTypeFilter extends Object implements Filter<Node>
Node
:s whose
Node.getItemType()
method matches the given item
type.Constructor and Description |
---|
ItemTypeFilter(Item itemType)
Create a filter that finds nodes that has an attached item of the
given item type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Node node)
Evaluate if the given object should pass the filter or not.
|