org.apache.cxf.ws.policy
Class PolicyUtils
java.lang.Object
org.apache.cxf.ws.policy.PolicyUtils
public final class PolicyUtils
- extends java.lang.Object
Method Summary |
static boolean |
contains(java.util.Collection<org.apache.neethi.Assertion> assertions,
org.apache.neethi.Assertion candidate)
Determine if a collection of assertions contains a given assertion, using
the equal method from the Assertion interface. |
static boolean |
contains(java.util.Collection<org.apache.neethi.Assertion> assertions,
java.util.Collection<org.apache.neethi.Assertion> candidates)
Determine if one collection of assertions contains another collection of assertion, using
the equal method from the Assertion interface. |
static void |
logPolicy(java.util.logging.Logger log,
java.util.logging.Level level,
java.lang.String msg,
org.apache.neethi.PolicyComponent pc)
|
static void |
printPolicyComponent(org.apache.neethi.PolicyComponent pc)
|
static void |
printPolicyComponent(org.apache.neethi.PolicyComponent pc,
java.lang.StringBuffer buf,
int level)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contains
public static boolean contains(java.util.Collection<org.apache.neethi.Assertion> assertions,
org.apache.neethi.Assertion candidate)
- Determine if a collection of assertions contains a given assertion, using
the equal method from the Assertion interface.
- Parameters:
assertions
- a collection of assertionscandidate
- the assertion to test
- Returns:
- true iff candidate is equal to one of the assertions in the collection
contains
public static boolean contains(java.util.Collection<org.apache.neethi.Assertion> assertions,
java.util.Collection<org.apache.neethi.Assertion> candidates)
- Determine if one collection of assertions contains another collection of assertion, using
the equal method from the Assertion interface.
- Parameters:
assertions
- a collection of assertionscandidates
- the collections of assertion to test
- Returns:
- true iff each candidate is equal to one of the assertions in the collection
logPolicy
public static void logPolicy(java.util.logging.Logger log,
java.util.logging.Level level,
java.lang.String msg,
org.apache.neethi.PolicyComponent pc)
printPolicyComponent
public static void printPolicyComponent(org.apache.neethi.PolicyComponent pc)
printPolicyComponent
public static void printPolicyComponent(org.apache.neethi.PolicyComponent pc,
java.lang.StringBuffer buf,
int level)
Apache CXF