net.shibboleth.metadata
Class AlwaysItemSelectionStrategy
java.lang.Object
net.shibboleth.metadata.AlwaysItemSelectionStrategy
- All Implemented Interfaces:
- ItemSelectionStrategy
public class AlwaysItemSelectionStrategy
- extends Object
- implements ItemSelectionStrategy
An implementation of ItemSelectionStrategy that always returns true.
|
Method Summary |
boolean |
isSelectedItem(Item item)
Determines if the item meets the expected criteria. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysItemSelectionStrategy
public AlwaysItemSelectionStrategy()
isSelectedItem
public boolean isSelectedItem(Item item)
- Determines if the item meets the expected criteria.
- Specified by:
isSelectedItem in interface ItemSelectionStrategy
- Parameters:
item - the being inspected, never null
- Returns:
- true of the item meets the expected criteria, false otherwise
Copyright © 2009-2011. All Rights Reserved.