com.ebmwebsourcing.wsstar.notification.definition.inout
Class WSNotificationWriterImpl

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.definition.inout.WSNotificationWriterImpl
All Implemented Interfaces:
WSNotificationWriter

public class WSNotificationWriterImpl
extends java.lang.Object
implements WSNotificationWriter

This class implements the WSNotificationWriter java interface

Author:
Thierry Déjean - eBM Websourcing

Constructor Summary
WSNotificationWriterImpl()
          Default constructor
WSNotificationWriterImpl(java.lang.String[] nsAndPrefixForMarshalling)
          Constructor called to provide a custom "prefix/namespace" mapping
 
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 subsRepObj)
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSNotificationWriterImpl

public WSNotificationWriterImpl()
                         throws WSNotificationException
Default constructor

Throws:
WSNotificationException

WSNotificationWriterImpl

public WSNotificationWriterImpl(java.lang.String[] nsAndPrefixForMarshalling)
                         throws WSNotificationException
Constructor called to provide a custom "prefix/namespace" mapping

Parameters:
nsAndPrefixForMarshalling -
Throws:
WSNotificationException
Method Detail

writeNotify

public org.w3c.dom.Document writeNotify(Notify notifyObj)
                                 throws WSNotificationException
Description copied from interface: WSNotificationWriter
marchall a Notify object.

Specified by:
writeNotify in interface WSNotificationWriter
Parameters:
notifyObj - Notify Java object to marshall
Returns:
Document representation of the Notify Java type
Throws:
WSNotificationException

writeRegisterPublisher

public org.w3c.dom.Document writeRegisterPublisher(RegisterPublisher regPubObj)
                                            throws WSNotificationException
Description copied from interface: WSNotificationWriter
marchall a RegisterPublisher object.

Specified by:
writeRegisterPublisher in interface WSNotificationWriter
Parameters:
regPubObj - RegisterPublisher Java object to marshall
Returns:
Document representation of the RegisterPublisher Java type
Throws:
WSNotificationException

writeRegisterPublisherResponse

public org.w3c.dom.Document writeRegisterPublisherResponse(RegisterPublisherResponse regPubRespObj)
                                                    throws WSNotificationException
Description copied from interface: WSNotificationWriter
marchall a RegisterPublisherResponse object.

Specified by:
writeRegisterPublisherResponse in interface WSNotificationWriter
Parameters:
regPubRespObj - RegisterPublisherResponse Java object to marshall
Returns:
Document representation of the RegisterPublisherResponse Java type
Throws:
WSNotificationException

writeDestroyRegistration

public org.w3c.dom.Document writeDestroyRegistration(DestroyRegistration destRegObj)
                                              throws WSNotificationException
Description copied from interface: WSNotificationWriter
marchall a DestroyRegistration object.

Specified by:
writeDestroyRegistration in interface WSNotificationWriter
Parameters:
destRegObj - DestroyRegistration Java object to marshall
Returns:
Document representation of the DestroyRegistration Java type
Throws:
WSNotificationException

writeDestroyRegistrationResponse

public org.w3c.dom.Document writeDestroyRegistrationResponse(DestroyRegistrationResponse destRegRespObj)
                                                      throws WSNotificationException
Description copied from interface: WSNotificationWriter
marchall a DestroyRegistrationResponse object.

Specified by:
writeDestroyRegistrationResponse in interface WSNotificationWriter
Parameters:
destRegRespObj - DestroyRegistrationResponse Java object to marshall
Returns:
Document representation of the DestroyRegistrationResponse Java type
Throws:
WSNotificationException

writeSubscribe

public org.w3c.dom.Document writeSubscribe(Subscribe subsObj)
                                    throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a Subscribe object

Specified by:
writeSubscribe in interface WSNotificationWriter
Parameters:
subsObj - SubscribeResponse Java object to marshall
Returns:
Document representation of the Subscribe Java type
Throws:
WSNotificationException

writeSubscribeResponse

public org.w3c.dom.Document writeSubscribeResponse(SubscribeResponse subsRepObj)
                                            throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a SubscribeResponse object

Specified by:
writeSubscribeResponse in interface WSNotificationWriter
Parameters:
subsRepObj - SubscribeResponse Java object to marshall
Returns:
Document representation of the SubscribeResponse Java type
Throws:
WSNotificationException

writeUnsubscribe

public org.w3c.dom.Document writeUnsubscribe(Unsubscribe unsubsObj)
                                      throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall an Unsubscribe object

Specified by:
writeUnsubscribe in interface WSNotificationWriter
Parameters:
unsubsObj - unsubscribe Java object to marshall
Returns:
Document representation of the Unsubscribe Java type
Throws:
WSNotificationException

writeUnsubscribeResponse

public org.w3c.dom.Document writeUnsubscribeResponse(UnsubscribeResponse unsubsRespObj)
                                              throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall an UnsubscribeResponse object

Specified by:
writeUnsubscribeResponse in interface WSNotificationWriter
Parameters:
unsubsRespObj - unsubscribeResponse Java object to marshall
Returns:
Document representation of the UnsubscribeResponse Java type
Throws:
WSNotificationException

writeSubscriptionToFile

public void writeSubscriptionToFile(SubscriptionManagerRP subscription,
                                    java.io.File file)
                             throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a SubscriptionManagerRP into a file (used to persist the java object)

Specified by:
writeSubscriptionToFile in interface WSNotificationWriter
Parameters:
subscription - the SubscriptionManagerRP java object to persist
file - File object used to persist SubscriptionManagerRP Object
Throws:
WSNotificationException

writeTopicExpressionType

public org.w3c.dom.Document writeTopicExpressionType(TopicExpressionType topicExpression)
                                              throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a TopicExpressionType object

Specified by:
writeTopicExpressionType in interface WSNotificationWriter
Parameters:
topicExpression - TopicExpressionType Java object to marshall
Returns:
representation of the TopicExpressionType Java type
Throws:
WSNotificationException

writeQueryExpressionType

public org.w3c.dom.Document writeQueryExpressionType(QueryExpressionType queryExpression)
                                              throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a QueryExpressionType object

Specified by:
writeQueryExpressionType in interface WSNotificationWriter
Returns:
Document representation of the TopicExpressionType Java type
Throws:
WSNotificationException

writeTopicType

public org.w3c.dom.Document writeTopicType(TopicType topic)
                                    throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a TopicType object

Specified by:
writeTopicType in interface WSNotificationWriter
Parameters:
topic - TopicType Java object to marshall
Returns:
Document representation of the TopicType Java type
Throws:
WSNotificationException

writeTopicNamespaceType

public org.w3c.dom.Document writeTopicNamespaceType(TopicNamespaceType namespace)
                                             throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a TopicNamespaceType object

Specified by:
writeTopicNamespaceType in interface WSNotificationWriter
Parameters:
namespace - TopicNamespaceType Java object to marshall
Returns:
Document representation of the TopicNamespaceType Java type
Throws:
WSNotificationException

writeTopicSetType

public org.w3c.dom.Document writeTopicSetType(TopicSetType topicSet)
                                       throws WSNotificationException
Description copied from interface: WSNotificationWriter
marshall a TopicSetType object

Specified by:
writeTopicSetType in interface WSNotificationWriter
Returns:
Document representation of the TopicSetType Java type
Throws:
WSNotificationException


Copyright © 2009 eBM Websourcing. All Rights Reserved.