com.sun.xml.ws.policy
Class ComplexAssertion

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.policy.ComplexAssertion
Direct Known Subclasses:
DeliveryAssuranceAssertion, RetransmissionConfigAssertion, Rm11Assertion, RmFlowControlAssertion

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 (marek.potociar at sun.com)

Constructor Summary
protected ComplexAssertion()
           
protected ComplexAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters, AssertionSet nestedAlternative)
           
 
Method Summary
 NestedPolicy getNestedPolicy()
          Returns the nested policy if any.
 boolean hasNestedPolicy()
          Returns the boolean information whether this assertion contains nested policy.
 
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexAssertion

protected ComplexAssertion()

ComplexAssertion

protected ComplexAssertion(AssertionData data,
                           Collection<? extends PolicyAssertion> assertionParameters,
                           AssertionSet nestedAlternative)
Method Detail

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.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.