Package com.sun.xml.ws.policy
Class SimpleAssertion
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.policy.SimpleAssertion
- Direct Known Subclasses:
AcknowledgementIntervalAssertion,AckRequestIntervalAssertion,AckRequestIntervalClientAssertion,AllowDuplicatesAssertion,AtAlwaysCapability,AtAssertion,CloseSequenceTimeoutAssertion,CloseTimeoutClientAssertion,InactivityTimeoutAssertion,MaintenanceTaskPeriodAssertion,MakeConnectionSupportedAssertion,ManagementAssertion,MaxConcurrentSessionsAssertion,OptimalTransportPolicyMapConfigurator.OptimalTransportAssertion,OrderedDeliveryAssertion,PersistentAssertion,ResendIntervalClientAssertion,Rm10Assertion,TCPTransportPolicyMapConfigurator.TCPTransportAssertion
Simple assertion is an abstract class that serves as a base class for any assertion
that MAY NOT contain nested policies.
- Author:
- Marek Potociar
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters) -
Method Summary
Modifier and TypeMethodDescriptionfinal NestedPolicyReturns the nested policy if any.final booleanReturns 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, getParametersIterator, getValue, hashCode, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
Constructor Details
-
SimpleAssertion
protected SimpleAssertion() -
SimpleAssertion
protected SimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
-
-
Method Details
-
hasNestedPolicy
public final boolean hasNestedPolicy()Description copied from class:PolicyAssertionReturns the boolean information whether this assertion contains nested policy.- Overrides:
hasNestedPolicyin classPolicyAssertion- Returns:
trueif the assertion contains child (nested) policy. Returnsfalseotherwise.
-
getNestedPolicy
Description copied from class:PolicyAssertionReturns the nested policy if any.- Overrides:
getNestedPolicyin classPolicyAssertion- Returns:
- the nested policy if the assertion contains a nested policy. Returns
nullotherwise.
-