|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.wsstar.notification.definition.inout.WSNotificationWriter
public class WSNotificationWriter
This class provides 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
| Method Summary | |
|---|---|
static WSNotificationWriter |
getInstance()
Return an unique - respect to the Singleton design pattern - instance of the WSNotificationWriter class. |
static WSNotificationWriter |
getInstance(java.lang.String[] nsAndPrefixForMarshalling)
Return an unique - respect to the Singleton design pattern - instance of the WSNotificationWriter class. |
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 |
writeGetCurrentMessage(GetCurrentMessage getCurMsgObj)
marshall an GetCurrentMessage object |
org.w3c.dom.Document |
writeGetCurrentMessageResponse(GetCurrentMessageResponse getCurMsgRespObj)
marshall an GetCurrentMessageResponse object |
org.w3c.dom.Document |
writeMessageType(Message message)
marshall a Message object |
org.w3c.dom.Document |
writeNotify(Notify notifyObj)
marchall a Notify object. |
org.w3c.dom.Document |
writePublisherRegistrationRP(PublisherRegistrationRP pubRegRPObj)
marchall a PublisherRegistrationRP object. |
void |
writePublisherRegistrationRP(PublisherRegistrationRP registrationRP,
java.io.File persist)
method used to persist PublisherRegistrationRP java object to a
file |
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 |
writeRenew(Renew renewObj)
marshall an Renew object |
org.w3c.dom.Document |
writeRenewResponse(RenewResponse renewRespObj)
marshall an RenewResponse object |
org.w3c.dom.Document |
writeSubscribe(Subscribe subsObj)
marshall a Subscribe object |
org.w3c.dom.Document |
writeSubscribeResponse(SubscribeResponse subsRespObj)
marshall a SubscribeResponse object |
void |
writeSubscribeResponse(SubscribeResponse subscribeResp,
java.io.File persist)
method used to persist SubscribeResponse java object to a file |
org.w3c.dom.Document |
writeSubscriptionManagerRP(SubscriptionManagerRP subsRPObj)
marshall a SubscriptionManagerRP object |
void |
writeSubscriptionManagerRP(SubscriptionManagerRP subscriptionRP,
java.io.File persist)
method used to persist SubscriptionManagerRP java object to a
file |
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 |
| Method Detail |
|---|
public static WSNotificationWriter getInstance()
WSNotificationWriter class.
public static WSNotificationWriter getInstance(java.lang.String[] nsAndPrefixForMarshalling)
WSNotificationWriter class.
public org.w3c.dom.Document writeNotify(Notify notifyObj)
throws WSNotificationException
Notify object.
notifyObj - Notify Java object to marshall
Document representation of the Notify
Java type
WSNotificationException
public org.w3c.dom.Document writeRegisterPublisher(RegisterPublisher regPubObj)
throws WSNotificationException
RegisterPublisher object.
regPubObj - RegisterPublisher Java object to marshall
Document representation of the
RegisterPublisher Java type
WSNotificationException
public org.w3c.dom.Document writeRegisterPublisherResponse(RegisterPublisherResponse regPubRespObj)
throws WSNotificationException
RegisterPublisherResponse object.
regPubRespObj - RegisterPublisherResponse Java object to marshall
Document representation of the
RegisterPublisherResponse Java type
WSNotificationException
public org.w3c.dom.Document writePublisherRegistrationRP(PublisherRegistrationRP pubRegRPObj)
throws WSNotificationException
PublisherRegistrationRP object.
pubRegRPObj - PublisherRegistrationRP Java object to marshall
Document representation of the
PublisherRegistrationRP Java type
WSNotificationException
public org.w3c.dom.Document writeDestroyRegistration(DestroyRegistration destRegObj)
throws WSNotificationException
DestroyRegistration object.
destRegObj - DestroyRegistration Java object to marshall
Document representation of the
DestroyRegistration Java type
WSNotificationException
public org.w3c.dom.Document writeDestroyRegistrationResponse(DestroyRegistrationResponse destRegRespObj)
throws WSNotificationException
DestroyRegistrationResponse object.
destRegRespObj - DestroyRegistrationResponse Java object to marshall
Document representation of the
DestroyRegistrationResponse Java type
WSNotificationException
public org.w3c.dom.Document writeSubscribe(Subscribe subsObj)
throws WSNotificationException
Subscribe object
subsObj - SubscribeResponse Java object to marshall
Document representation of the
Subscribe Java type
WSNotificationException
public org.w3c.dom.Document writeSubscribeResponse(SubscribeResponse subsRespObj)
throws WSNotificationException
SubscribeResponse object
subsRespObj - SubscribeResponse Java object to marshall
Document representation of the
SubscribeResponse Java type
WSNotificationException
public org.w3c.dom.Document writeUnsubscribe(Unsubscribe unsubsObj)
throws WSNotificationException
Unsubscribe object
unsubsObj - Unsubscribe Java object to marshall
Document representation of the
Unsubscribe Java type
WSNotificationException
public org.w3c.dom.Document writeUnsubscribeResponse(UnsubscribeResponse unsubsRespObj)
throws WSNotificationException
UnsubscribeResponse object
unsubsRespObj - UnsubscribeResponse Java object to marshall
Document representation of the
UnsubscribeResponse Java type
WSNotificationException
public org.w3c.dom.Document writeGetCurrentMessage(GetCurrentMessage getCurMsgObj)
throws WSNotificationException
GetCurrentMessage object
getCurMsgObj - GetCurrentMessage Java object to marshall
Document representation of the
GetCurrentMessage Java type
WSNotificationException
public org.w3c.dom.Document writeGetCurrentMessageResponse(GetCurrentMessageResponse getCurMsgRespObj)
throws WSNotificationException
GetCurrentMessageResponse object
getCurMsgRespObj - GetCurrentMessageResponse Java object to marshall
Document representation of the
GetCurrentMessageResponse Java type
WSNotificationException
public org.w3c.dom.Document writeRenew(Renew renewObj)
throws WSNotificationException
Renew object
renewObj - Renew Java object to marshall
Document representation of the Renew
Java type
WSNotificationException
public org.w3c.dom.Document writeRenewResponse(RenewResponse renewRespObj)
throws WSNotificationException
RenewResponse object
renewRespObj - RenewResponse Java object to marshall
Document representation of the
RenewResponse Java type
WSNotificationException
public void writeSubscriptionToFile(SubscriptionManagerRP subscription,
java.io.File file)
throws WSNotificationException
SubscriptionManagerRP into a file (used to persist the
java object)
subscription - the SubscriptionManagerRP java object to persistfile - File object used to persist
SubscriptionManagerRP Object
WSNotificationException
public org.w3c.dom.Document writeSubscriptionManagerRP(SubscriptionManagerRP subsRPObj)
throws WSNotificationException
SubscriptionManagerRP object
subsRPObj - SubscriptionManagerRP Java object to marshall
Document representation of the
SubscriptionManager Java type
WSNotificationException
public org.w3c.dom.Document writeTopicExpressionType(TopicExpressionType topicExpression)
throws WSNotificationException
TopicExpressionType object
topicExpression - TopicExpressionType Java object to marshall
TopicExpressionType Java type
WSNotificationException
public org.w3c.dom.Document writeQueryExpressionType(QueryExpressionType queryExpression)
throws WSNotificationException
QueryExpressionType object
topicExpression - QueryExpressionType Java object to marshall
Document representation of the
QueryExpressionType Java type
WSNotificationException
public org.w3c.dom.Document writeMessageType(Message message)
throws WSNotificationException
Message object
topicExpression - Message Java object to marshall
Document representation of the
Message Java type
WSNotificationException
public org.w3c.dom.Document writeTopicType(TopicType topic)
throws WSNotificationException
TopicType object
topic - TopicType Java object to marshall
Document representation of the
TopicType Java type
WSNotificationException
public org.w3c.dom.Document writeTopicNamespaceType(TopicNamespaceType namespace)
throws WSNotificationException
TopicNamespaceType object
namespace - TopicNamespaceType Java object to marshall
Document representation of the
TopicNamespaceType Java type
WSNotificationException
public org.w3c.dom.Document writeTopicSetType(TopicSetType topicSet)
throws WSNotificationException
TopicSetType object
namespace - TopicSetType Java object to marshall
Document representation of the
TopicSetType Java type
WSNotificationException
public void writeSubscriptionManagerRP(SubscriptionManagerRP subscriptionRP,
java.io.File persist)
throws WSNotificationException
SubscriptionManagerRP java object to a
file
subscriptionRP - the SubscriptionManagerRP java Object to persistpersist - the File which the object must be persisted in
WSNotificationException
public void writeSubscribeResponse(SubscribeResponse subscribeResp,
java.io.File persist)
throws WSNotificationException
SubscribeResponse java object to a file
subscriptionRP - the SubscribeResponse java Object to persistpersist - the File which the object must be persisted in
WSNotificationException
public void writePublisherRegistrationRP(PublisherRegistrationRP registrationRP,
java.io.File persist)
throws WSNotificationException
PublisherRegistrationRP java object to a
file
subscriptionRP - the PublisherRegistrationRP java Object to persistpersist - the File which the object must be persisted in
WSNotificationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||