Modifier and Type | Field and Description |
---|---|
private NodeAttribute<?> |
attribute |
private java.lang.Object |
value |
Constructor and Description |
---|
HasAttributeFilter(NodeAttribute<?> attribute)
Create a filter that finds nodes that has value for the given
attribute.
|
HasAttributeFilter(NodeAttribute<?> attribute,
java.lang.Object value)
Create a filter that finds nodes that has a specific value for the given
attribute.
|
private final NodeAttribute<?> attribute
private final java.lang.Object value
public HasAttributeFilter(NodeAttribute<?> attribute)
attribute
- The attribute to checkpublic HasAttributeFilter(NodeAttribute<?> attribute, java.lang.Object value)
attribute
- The attribute to checkvalue
- The value that must match