public class Not extends java.lang.Object implements ResourceSelector
Constructor and Description |
---|
Not()
Default constructor.
|
Not(ResourceSelector s)
Convenience constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ResourceSelector s)
Set the ResourceSelector.
|
boolean |
isSelected(Resource r)
Return true if this Resource is selected.
|
public Not()
public Not(ResourceSelector s)
s
- the ResourceSelector to negate.public void add(ResourceSelector s)
s
- the ResourceSelector to negate.java.lang.IllegalStateException
- if already set.public boolean isSelected(Resource r)
isSelected
in interface ResourceSelector
r
- the Resource to check.