org.apache.neethi
Interface IntersectableAssertion

All Superinterfaces:
Assertion, PolicyComponent

public interface IntersectableAssertion
extends Assertion

Assertions that need special consideration to implement the intersection algorithms should implement this interface. If an assertion does not implement this interface, the intersection algorithm will just check the qname of the assertion as well as the contained policy if the assertion implements the PolicyContainingAssertion interface. This is adequate for most use cases and per spec, but this interface allows an assertion to possibly consider special attributes or other details to determine the behavior for the intersection.


Method Summary
 Assertion intersect(Assertion assertion, boolean strict)
           
 boolean isCompatible(Assertion assertion, boolean strict)
           
 
Methods inherited from interface org.apache.neethi.Assertion
getName, isIgnorable, isOptional, normalize, serialize
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 

Method Detail

isCompatible

boolean isCompatible(Assertion assertion,
                     boolean strict)

intersect

Assertion intersect(Assertion assertion,
                    boolean strict)


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.