org.systinet.wasp.policy
Class PolicyAssertion

java.lang.Object
  extended byorg.systinet.wasp.policy.PolicyElement
      extended byorg.systinet.wasp.policy.PolicyAssertion
Direct Known Subclasses:
AcknowledgementIntervalAssertion, DeliveryAssuranceAssertion, ExpirationAssertion, ExponentialBackoffAssertion, InactivityTimeoutAssertion, RetransmissionIntervalAssertion, SpecVersionAssertion

public abstract class PolicyAssertion
extends PolicyElement

This class represents policy assertion according WS-Policy. It serves as the base class for an object, which represents an assertion. Reading and writing standard attributes Usage and Preference can be accomplished with the help of PolicyElement.readStandardAttributes(javax.xml.transform.dom.DOMSource) and PolicyElement.writeStandardAttributes(javax.xml.transform.dom.DOMSource) respectively. In order to WSO2 SOA Enablement Server could load an assertion from persistent configuration extension of this class must have public constructor with one paramter Source.

Since:
5.0
Component:
Core

Constructor Summary
PolicyAssertion()
           
 
Method Summary
abstract  javax.xml.transform.Source getContent()
          Gets the content of this object as Source
 
Methods inherited from class org.systinet.wasp.policy.PolicyElement
getParentElement, getPreference, getUsage, readStandardAttributes, setParentElement, setPreference, setUsage, writeStandardAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyAssertion

public PolicyAssertion()
Method Detail

getContent

public abstract javax.xml.transform.Source getContent()
                                               throws PolicyException
Gets the content of this object as Source

Specified by:
getContent in class PolicyElement
Returns:
the content of this object as Source
Throws:
PolicyException - when an error occurs