cgl.narada.wsinfra.wsr.impl
Class WsrElementAdditionImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsr.impl.WsrElementAdditionImpl
All Implemented Interfaces:
WsrElementAddition

public class WsrElementAdditionImpl
extends Object
implements WsrElementAddition

This is a class which facilitates the addition of WSR elements to a SOAP enevelope.


Method Summary
 boolean addPollRequest(EnvelopeDocument envelopeDocument, PollRequestDocument pollRequestDocument)
          Adds a PollRequest Element to the specified enevelope.
 boolean addRequest(EnvelopeDocument envelopeDocument, RequestDocument requestDocument)
          Adds a Request Element to the specified envelope.
 boolean addResponse(EnvelopeDocument envelopeDocument, ResponseDocument responseDocument)
          Adds a Response Element to the specified envelope.
static WsrElementAddition getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrElementAddition getInstance()

addRequest

public boolean addRequest(EnvelopeDocument envelopeDocument,
                          RequestDocument requestDocument)
Adds a Request Element to the specified envelope. This method returns true if the operation succeded.

Specified by:
addRequest in interface WsrElementAddition

addPollRequest

public boolean addPollRequest(EnvelopeDocument envelopeDocument,
                              PollRequestDocument pollRequestDocument)
Adds a PollRequest Element to the specified enevelope. This method returns true if the operation succeded.

Specified by:
addPollRequest in interface WsrElementAddition

addResponse

public boolean addResponse(EnvelopeDocument envelopeDocument,
                           ResponseDocument responseDocument)
Adds a Response Element to the specified envelope. This method returns true if the operation succeded.

Specified by:
addResponse in interface WsrElementAddition


For comments and suggestions please send e-mail to The NaradaBrokering Project