cgl.narada.wsinfra.wsrm.impl
Class WsrmNodeUtilsImpl

java.lang.Object
  extended bycgl.narada.wsinfra.wsrm.impl.WsrmNodeUtilsImpl
All Implemented Interfaces:
WsrmNodeUtils

public class WsrmNodeUtilsImpl
extends Object
implements WsrmNodeUtils

This is a utility class which faciliates the retrieval of elements pertaining to WSRM that reside in the SOAP enevelope.


Method Summary
 cgl.narada.wsinfra.schemas.wsrm.AckRequestedDocument getAckRequested(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves the AckRequested document from within the specified XmlCursor
 cgl.narada.wsinfra.schemas.wsrm.CreateSequenceDocument getCreateSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message
 cgl.narada.wsinfra.schemas.wsrm.CreateSequenceResponseDocument getCreateSequenceResponseDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message.
 cgl.narada.wsinfra.schemas.utility.IdentifierDocument getIdentifierDocument(XmlCursor xmlCursor)
          Retrieves the IdentifierDocument from within the speicified XmlCursor
static WsrmNodeUtils getInstance()
           
 cgl.narada.wsinfra.schemas.wsrm.SequenceAcknowledgementDocument getSequenceAcknowledgement(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves the Sequence Acknowledgement document from within the specified XmlCursor
 cgl.narada.wsinfra.schemas.wsrm.SequenceDocument getSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves the SequenceDocument from within the specified XmlCursor
 cgl.narada.wsinfra.schemas.wsrm.TerminateSequenceDocument getTerminateSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
          Retrieves element from the body of the SOAP message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrmNodeUtils getInstance()

getCreateSequenceDocument

public cgl.narada.wsinfra.schemas.wsrm.CreateSequenceDocument getCreateSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                                 throws WsFaultException
Retrieves element from the body of the SOAP message

Specified by:
getCreateSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getCreateSequenceResponseDocument

public cgl.narada.wsinfra.schemas.wsrm.CreateSequenceResponseDocument getCreateSequenceResponseDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                                                 throws WsFaultException
Retrieves element from the body of the SOAP message.

Specified by:
getCreateSequenceResponseDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getTerminateSequenceDocument

public cgl.narada.wsinfra.schemas.wsrm.TerminateSequenceDocument getTerminateSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                                       throws WsFaultException
Retrieves element from the body of the SOAP message.

Specified by:
getTerminateSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getIdentifierDocument

public cgl.narada.wsinfra.schemas.utility.IdentifierDocument getIdentifierDocument(XmlCursor xmlCursor)
                                                                            throws WsFaultException
Retrieves the IdentifierDocument from within the speicified XmlCursor

Specified by:
getIdentifierDocument in interface WsrmNodeUtils
Throws:
WsFaultException

getSequenceAcknowledgement

public cgl.narada.wsinfra.schemas.wsrm.SequenceAcknowledgementDocument getSequenceAcknowledgement(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                                           throws WsFaultException
Retrieves the Sequence Acknowledgement document from within the specified XmlCursor

Specified by:
getSequenceAcknowledgement in interface WsrmNodeUtils
Throws:
WsFaultException

getAckRequested

public cgl.narada.wsinfra.schemas.wsrm.AckRequestedDocument getAckRequested(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                     throws WsFaultException
Retrieves the AckRequested document from within the specified XmlCursor

Specified by:
getAckRequested in interface WsrmNodeUtils
Throws:
WsFaultException

getSequenceDocument

public cgl.narada.wsinfra.schemas.wsrm.SequenceDocument getSequenceDocument(cgl.narada.wsinfra.schemas.soap.EnvelopeDocument envelopeDocument)
                                                                     throws WsFaultException
Retrieves the SequenceDocument from within the specified XmlCursor

Specified by:
getSequenceDocument in interface WsrmNodeUtils
Throws:
WsFaultException