com.ebmwebsourcing.wsstar.notification.definition.inout
Interface WSNotificationWriter

All Known Implementing Classes:
WSNotificationWriterImpl

public interface WSNotificationWriter

This interface describes a collection of methods that enable conversion of a "WS-{Base/Brokered}Notification java type" object into a Document object. This conversion uses JAXB "unmarshalling" mechanism

Author:
Thierry Déjean - eBM WebSourcing

Method Summary
 org.w3c.dom.Document writeDestroyRegistration(DestroyRegistration destRegObj)
          marchall a DestroyRegistration object.
 org.w3c.dom.Document writeDestroyRegistrationResponse(DestroyRegistrationResponse destRegRespObj)
          marchall a DestroyRegistrationResponse object.
 org.w3c.dom.Document writeNotify(Notify notifyObj)
          marchall a Notify object.
 org.w3c.dom.Document writeQueryExpressionType(QueryExpressionType queryExpression)
          marshall a QueryExpressionType object
 org.w3c.dom.Document writeRegisterPublisher(RegisterPublisher regPubObj)
          marchall a RegisterPublisher object.
 org.w3c.dom.Document writeRegisterPublisherResponse(RegisterPublisherResponse regPubRespObj)
          marchall a RegisterPublisherResponse object.
 org.w3c.dom.Document writeSubscribe(Subscribe subsObj)
          marshall a Subscribe object
 org.w3c.dom.Document writeSubscribeResponse(SubscribeResponse subsRespObj)
          marshall a SubscribeResponse object
 void writeSubscriptionToFile(SubscriptionManagerRP subscription, java.io.File file)
          marshall a SubscriptionManagerRP into a file (used to persist the java object)
 org.w3c.dom.Document writeTopicExpressionType(TopicExpressionType topicExpression)
          marshall a TopicExpressionType object
 org.w3c.dom.Document writeTopicNamespaceType(TopicNamespaceType namespace)
          marshall a TopicNamespaceType object
 org.w3c.dom.Document writeTopicSetType(TopicSetType topicSet)
          marshall a TopicSetType object
 org.w3c.dom.Document writeTopicType(TopicType topic)
          marshall a TopicType object
 org.w3c.dom.Document writeUnsubscribe(Unsubscribe unsubsObj)
          marshall an Unsubscribe object
 org.w3c.dom.Document writeUnsubscribeResponse(UnsubscribeResponse unsubsRespObj)
          marshall an UnsubscribeResponse object
 

Method Detail

writeNotify

org.w3c.dom.Document writeNotify(Notify notifyObj)
                                 throws WSNotificationException
marchall a Notify object.

Parameters:
notifyObj - Notify Java object to marshall
Returns:
Document representation of the Notify Java type
Throws:
WSNotificationException

writeRegisterPublisher

org.w3c.dom.Document writeRegisterPublisher(RegisterPublisher regPubObj)
                                            throws WSNotificationException
marchall a RegisterPublisher object.

Parameters:
regPubObj - RegisterPublisher Java object to marshall
Returns:
Document representation of the RegisterPublisher Java type
Throws:
WSNotificationException

writeRegisterPublisherResponse

org.w3c.dom.Document writeRegisterPublisherResponse(RegisterPublisherResponse regPubRespObj)
                                                    throws WSNotificationException
marchall a RegisterPublisherResponse object.

Parameters:
regPubRespObj - RegisterPublisherResponse Java object to marshall
Returns:
Document representation of the RegisterPublisherResponse Java type
Throws:
WSNotificationException

writeDestroyRegistration

org.w3c.dom.Document writeDestroyRegistration(DestroyRegistration destRegObj)
                                              throws WSNotificationException
marchall a DestroyRegistration object.

Parameters:
destRegObj - DestroyRegistration Java object to marshall
Returns:
Document representation of the DestroyRegistration Java type
Throws:
WSNotificationException

writeDestroyRegistrationResponse

org.w3c.dom.Document writeDestroyRegistrationResponse(DestroyRegistrationResponse destRegRespObj)
                                                      throws WSNotificationException
marchall a DestroyRegistrationResponse object.

Parameters:
destRegRespObj - DestroyRegistrationResponse Java object to marshall
Returns:
Document representation of the DestroyRegistrationResponse Java type
Throws:
WSNotificationException

writeSubscribe

org.w3c.dom.Document writeSubscribe(Subscribe subsObj)
                                    throws WSNotificationException
marshall a Subscribe object

Parameters:
subsObj - SubscribeResponse Java object to marshall
Returns:
Document representation of the Subscribe Java type
Throws:
WSNotificationException

writeSubscribeResponse

org.w3c.dom.Document writeSubscribeResponse(SubscribeResponse subsRespObj)
                                            throws WSNotificationException
marshall a SubscribeResponse object

Parameters:
subsRespObj - SubscribeResponse Java object to marshall
Returns:
Document representation of the SubscribeResponse Java type
Throws:
WSNotificationException

writeUnsubscribe

org.w3c.dom.Document writeUnsubscribe(Unsubscribe unsubsObj)
                                      throws WSNotificationException
marshall an Unsubscribe object

Parameters:
unsubsObj - unsubscribe Java object to marshall
Returns:
Document representation of the Unsubscribe Java type
Throws:
WSNotificationException

writeUnsubscribeResponse

org.w3c.dom.Document writeUnsubscribeResponse(UnsubscribeResponse unsubsRespObj)
                                              throws WSNotificationException
marshall an UnsubscribeResponse object

Parameters:
unsubsRespObj - unsubscribeResponse Java object to marshall
Returns:
Document representation of the UnsubscribeResponse Java type
Throws:
WSNotificationException

writeSubscriptionToFile

void writeSubscriptionToFile(SubscriptionManagerRP subscription,
                             java.io.File file)
                             throws WSNotificationException
marshall a SubscriptionManagerRP into a file (used to persist the java object)

Parameters:
subscription - the SubscriptionManagerRP java object to persist
file - File object used to persist SubscriptionManagerRP Object
Throws:
WSNotificationException

writeTopicExpressionType

org.w3c.dom.Document writeTopicExpressionType(TopicExpressionType topicExpression)
                                              throws WSNotificationException
marshall a TopicExpressionType object

Parameters:
topicExpression - TopicExpressionType Java object to marshall
Returns:
representation of the TopicExpressionType Java type
Throws:
WSNotificationException

writeQueryExpressionType

org.w3c.dom.Document writeQueryExpressionType(QueryExpressionType queryExpression)
                                              throws WSNotificationException
marshall a QueryExpressionType object

Parameters:
topicExpression - QueryExpressionType Java object to marshall
Returns:
Document representation of the TopicExpressionType Java type
Throws:
WSNotificationException

writeTopicType

org.w3c.dom.Document writeTopicType(TopicType topic)
                                    throws WSNotificationException
marshall a TopicType object

Parameters:
topic - TopicType Java object to marshall
Returns:
Document representation of the TopicType Java type
Throws:
WSNotificationException

writeTopicNamespaceType

org.w3c.dom.Document writeTopicNamespaceType(TopicNamespaceType namespace)
                                             throws WSNotificationException
marshall a TopicNamespaceType object

Parameters:
namespace - TopicNamespaceType Java object to marshall
Returns:
Document representation of the TopicNamespaceType Java type
Throws:
WSNotificationException

writeTopicSetType

org.w3c.dom.Document writeTopicSetType(TopicSetType topicSet)
                                       throws WSNotificationException
marshall a TopicSetType object

Parameters:
namespace - TopicSetType Java object to marshall
Returns:
Document representation of the TopicSetType Java type
Throws:
WSNotificationException


Copyright © 2009 eBM Websourcing. All Rights Reserved.