net.shibboleth.metadata
Class AlwaysItemSelectionStrategy

java.lang.Object
  extended by net.shibboleth.metadata.AlwaysItemSelectionStrategy
All Implemented Interfaces:
ItemSelectionStrategy

public class AlwaysItemSelectionStrategy
extends Object
implements ItemSelectionStrategy

An implementation of ItemSelectionStrategy that always returns true.


Constructor Summary
AlwaysItemSelectionStrategy()
           
 
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
 

Constructor Detail

AlwaysItemSelectionStrategy

public AlwaysItemSelectionStrategy()
Method Detail

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.