Class AbstractEntityAttributeMatcher

java.lang.Object
net.shibboleth.metadata.dom.saml.mdattr.AbstractEntityAttributeMatcher
All Implemented Interfaces:
Predicate<EntityAttributeFilteringStage.EntityAttributeContext>
Direct Known Subclasses:
AbstractExactValueMatcher, MultiPredicateMatcher

@Immutable public abstract class AbstractEntityAttributeMatcher extends Object implements Predicate<EntityAttributeFilteringStage.EntityAttributeContext>
Abstract implementation of Predicate over EntityAttributeFilteringStage.EntityAttributeContext using the template method pattern. The test(net.shibboleth.metadata.dom.saml.mdattr.EntityAttributeFilteringStage.EntityAttributeContext) method is broken down into matches against the four components of the EntityAttributeFilteringStage.EntityAttributeContext. All four sub-matches must succeed for the Predicate to be true Where an implementation wishes to ignore a component (most commonly, EntityAttributeFilteringStage.EntityAttributeContext.getRegistrationAuthority()) it can simply return true in that template method.
Since:
0.9.0