net.shibboleth.metadata
Interface ItemSelectionStrategy<ItemType extends Item>

Type Parameters:
ItemType - the item type upon which this selector operates
All Known Implementing Classes:
AlwaysItemSelectionStrategy, XPathItemSelectionStrategy

public interface ItemSelectionStrategy<ItemType extends Item>

A strategy for determining if an item meets a given criteria.


Method Summary
 boolean isSelectedItem(ItemType item)
          Determines if the item meets the expected criteria.
 

Method Detail

isSelectedItem

boolean isSelectedItem(ItemType item)
Determines if the item meets the expected criteria.

Parameters:
item - the being inspected, never null
Returns:
true of the item meets the expected criteria, false otherwise


Copyright © 2009-2011. All Rights Reserved.