org.apache.neethi.util
Class PolicyComparator
java.lang.Object
org.apache.neethi.util.PolicyComparator
public class PolicyComparator
- extends java.lang.Object
A Utility class that provides methods the check the equality of
PolicyComponents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyComparator
public PolicyComparator()
compare
public static boolean compare(Policy arg1,
Policy arg2)
- Returns true if the two policies have the same semantics
- Parameters:
arg1
- a Policyarg2
- an another Policy
- Returns:
- true if both policies have the same semantics
compare
public static boolean compare(PolicyComponent arg1,
PolicyComponent arg2)
- Returns true if the two PolicyComponents have the same
semantics.
- Parameters:
arg1
- a PolicyComponentarg2
- an another PolicyComponent
- Returns:
- true if both PolicyComponents have the same semantics
compare
public static boolean compare(All arg1,
All arg2)
compare
public static boolean compare(ExactlyOne arg1,
ExactlyOne arg2)
compare
public static boolean compare(Assertion arg1,
Assertion arg2)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.