org.eclipse.swordfish.internal.resolver.policy.definitions
Class WsPolicyStreamDefinition
java.lang.Object
org.eclipse.swordfish.internal.resolver.policy.definitions.WsPolicyStreamDefinition
- All Implemented Interfaces:
- PolicyDefinitionDescription, StreamBasedWsPolicyDefinitionDescription
public class WsPolicyStreamDefinition
- extends java.lang.Object
- implements StreamBasedWsPolicyDefinitionDescription
|
Method Summary |
java.io.InputStream |
getPolicyStream()
Get the Stream from which to read the Policy. |
javax.xml.namespace.QName |
getServiceQName()
Name of the corresponding service. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsPolicyStreamDefinition
public WsPolicyStreamDefinition(javax.xml.namespace.QName serviceQName,
java.io.InputStream policyStream)
WsPolicyStreamDefinition
public WsPolicyStreamDefinition(javax.xml.namespace.QName serviceQName,
byte[] policyData)
getServiceQName
public javax.xml.namespace.QName getServiceQName()
- Description copied from interface:
PolicyDefinitionDescription
- Name of the corresponding service.
- Specified by:
getServiceQName in interface PolicyDefinitionDescription
- Returns:
- fully qualified service name.
getPolicyStream
public java.io.InputStream getPolicyStream()
- Description copied from interface:
StreamBasedWsPolicyDefinitionDescription
- Get the Stream from which to read the Policy.
- Specified by:
getPolicyStream in interface StreamBasedWsPolicyDefinitionDescription
- Returns:
- Policy definition as Stream.