|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.policy.PolicyUtils
public final class PolicyUtils
| Method Summary | |
|---|---|
static boolean |
contains(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(Collection<org.apache.neethi.Assertion> assertions,
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 boolean |
isEmptyPolicy(org.apache.neethi.Policy p)
Checks if a given policy contains no policy components or if it has only empty ExactlyOne or All components containing no assertions |
static boolean |
isEmptyPolicyOperator(org.apache.neethi.PolicyOperator p)
Checks if a given policy operator has no policy components or if it has only empty ExactlyOne or All components containing no assertions |
static void |
logPolicy(Logger log,
Level level,
String msg,
org.apache.neethi.PolicyComponent pc)
|
static void |
printPolicyComponent(org.apache.neethi.PolicyComponent pc)
|
static void |
printPolicyComponent(org.apache.neethi.PolicyComponent pc,
StringBuilder buf,
int level)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isEmptyPolicy(org.apache.neethi.Policy p)
p - the policy
public static boolean isEmptyPolicyOperator(org.apache.neethi.PolicyOperator p)
p - the policy operator
public static boolean contains(Collection<org.apache.neethi.Assertion> assertions,
org.apache.neethi.Assertion candidate)
assertions - a collection of assertionscandidate - the assertion to test
public static boolean contains(Collection<org.apache.neethi.Assertion> assertions,
Collection<org.apache.neethi.Assertion> candidates)
assertions - a collection of assertionscandidates - the collections of assertion to test
public static void logPolicy(Logger log,
Level level,
String msg,
org.apache.neethi.PolicyComponent pc)
public static void printPolicyComponent(org.apache.neethi.PolicyComponent pc)
public static void printPolicyComponent(org.apache.neethi.PolicyComponent pc,
StringBuilder buf,
int level)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||