org.apache.neethi.util
Class PolicyIntersector

java.lang.Object
  extended by org.apache.neethi.util.PolicyIntersector

public class PolicyIntersector
extends Object

This class contains methods dealing with policy intersection. Intersection of two assertions, i.e. computation if a compatible assertion, is domain specific and relies on AssertionBuilder.buildCompatible. See Section 4.5 in http://www.w3.org/TR/2006/WD-ws-policy-20061117.


Constructor Summary
PolicyIntersector()
           
PolicyIntersector(boolean s)
           
 
Method Summary
 boolean compatiblePolicies(Policy p1, Policy p2)
           
 Policy intersect(Policy p1, Policy p2)
           
 Policy intersect(Policy p1, Policy p2, boolean allowDups)
           
 boolean isStrict()
           
 void setStrict(boolean s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyIntersector

public PolicyIntersector()

PolicyIntersector

public PolicyIntersector(boolean s)
Method Detail

isStrict

public boolean isStrict()

setStrict

public void setStrict(boolean s)

compatiblePolicies

public boolean compatiblePolicies(Policy p1,
                                  Policy p2)

intersect

public Policy intersect(Policy p1,
                        Policy p2)

intersect

public Policy intersect(Policy p1,
                        Policy p2,
                        boolean allowDups)


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