Class ComplexAssertion

java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.policy.ComplexAssertion

public abstract class ComplexAssertion extends PolicyAssertion
Complex assertion is an abstract class that serves as a base class for any assertion that MAY contain nested policies.
Author:
Marek Potociar
  • Constructor Details

  • Method Details

    • hasNestedPolicy

      public final boolean hasNestedPolicy()
      Description copied from class: PolicyAssertion
      Returns the boolean information whether this assertion contains nested policy.
      Overrides:
      hasNestedPolicy in class PolicyAssertion
      Returns:
      true if the assertion contains child (nested) policy. Returns false otherwise.
    • getNestedPolicy

      public final NestedPolicy getNestedPolicy()
      Description copied from class: PolicyAssertion
      Returns the nested policy if any.
      Overrides:
      getNestedPolicy in class PolicyAssertion
      Returns:
      the nested policy if the assertion contains a nested policy. Returns null otherwise.