org.eclipse.swordfish.core.resolver.policy
Interface PolicyDescription<P>

Type Parameters:
P - "Platform" policy class.
All Known Implementing Classes:
WsPolicyDescription

public interface PolicyDescription<P>

Description object which holds and describes a policy used within Swordfish.


Method Summary
 P getPolicy()
          Access to the policy object.
 PolicyRole getPolicyRole()
          Get Swordfish policy role.
 PolicyStatus getPolicyStatus()
          Get the policy normalization status.
 org.w3c.dom.DocumentFragment toXml()
          Get an XML document fragment representing the PolicyDescription.
 

Method Detail

getPolicy

P getPolicy()
Access to the policy object.

Returns:
the "platform" policy.

getPolicyStatus

PolicyStatus getPolicyStatus()
Get the policy normalization status.

Returns:
Policy normalization status.

getPolicyRole

PolicyRole getPolicyRole()
Get Swordfish policy role.

Returns:
Swordfish policy role.

toXml

org.w3c.dom.DocumentFragment toXml()
Get an XML document fragment representing the PolicyDescription.

Returns:
the document fragment.