public interface EncoderDecoder
Modifier and Type | Method and Description |
---|---|
Element |
buildHeaderFault(SequenceFault sf,
QName qname)
Builds an element containing a WS-RM Fault.
|
Element |
buildHeaders(RMProperties rmps,
QName qname)
Builds an element containing WS-RM headers.
|
CreateSequenceType |
convertReceivedCreateSequence(Object create)
Convert a received CreateSequence message to internal form.
|
CreateSequenceResponseType |
convertReceivedCreateSequenceResponse(Object create)
Convert a received CreateSequenceResponse message to internal form.
|
TerminateSequenceType |
convertReceivedTerminateSequence(Object term)
Convert a received TerminateSequence message to internal form.
|
Object |
convertToSend(CreateSequenceResponseType create)
Convert a CreateSequenceResponse message to the correct format for transmission.
|
Object |
convertToSend(CreateSequenceType create)
Convert a CreateSequence message to the correct format for transmission.
|
Object |
convertToSend(TerminateSequenceType term)
Convert a TerminateSequence message to the correct format for transmission.
|
AckRequestedType |
decodeAckRequestedType(Element elem)
Unmarshals a AckRequestedType, converting it if necessary to the internal form.
|
SequenceAcknowledgement |
decodeSequenceAcknowledgement(Element elem)
Unmarshals a SequenceAcknowledgement, converting it if necessary to the internal form.
|
SequenceType |
decodeSequenceType(Element elem)
Unmarshals a SequenceType, converting it if necessary to the internal form.
|
CloseSequenceType |
decodeSequenceTypeCloseSequence(Element elem)
Generates a CloseSequenceType if a SequenceType represents a last message state.
|
Element |
encodeIdentifier(Identifier id)
Marshals an Identifier to the appropriate external form.
|
Element |
encodeSequenceAcknowledgement(SequenceAcknowledgement ack)
Marshals a SequenceAcknowledgement to the appropriate external form.
|
RMConstants |
getConstants()
Get the WS-ReliableMessaging constants used by this encoder/decoder.
|
Class<?> |
getCreateSequenceResponseType()
Get the class used for the CreateSequenceResponseType.
|
Class<?> |
getCreateSequenceType()
Get the class used for the CreateSequenceType.
|
Class<?> |
getTerminateSequenceResponseType()
Get the class used for the TerminateSequenceResponseType.
|
Class<?> |
getTerminateSequenceType()
Get the class used for the TerminateSequenceType.
|
String |
getWSANamespace()
Get the WS-Addressing namespace used by this encoder/decoder.
|
String |
getWSRMNamespace()
Get the WS-ReliableMessaging namespace used by this encoder/decoder.
|
String getWSRMNamespace()
String getWSANamespace()
RMConstants getConstants()
Class<?> getCreateSequenceType()
Class<?> getCreateSequenceResponseType()
Class<?> getTerminateSequenceType()
Class<?> getTerminateSequenceResponseType()
Element buildHeaders(RMProperties rmps, QName qname) throws JAXBException
rmps
- qname
- constructed element nameJAXBException
Element buildHeaderFault(SequenceFault sf, QName qname) throws JAXBException
sf
- qname
- constructed element nameJAXBException
Element encodeSequenceAcknowledgement(SequenceAcknowledgement ack) throws JAXBException
ack
- JAXBException
Element encodeIdentifier(Identifier id) throws JAXBException
id
- JAXBException
SequenceType decodeSequenceType(Element elem) throws JAXBException
elem
- JAXBException
CloseSequenceType decodeSequenceTypeCloseSequence(Element elem) throws JAXBException
elem
- null
JAXBException
SequenceAcknowledgement decodeSequenceAcknowledgement(Element elem) throws JAXBException
elem
- JAXBException
AckRequestedType decodeAckRequestedType(Element elem) throws JAXBException
elem
- JAXBException
Object convertToSend(CreateSequenceType create)
create
- Object convertToSend(CreateSequenceResponseType create)
create
- Object convertToSend(TerminateSequenceType term)
term
- TerminateSequenceType convertReceivedTerminateSequence(Object term)
term
- CreateSequenceType convertReceivedCreateSequence(Object create)
create
- CreateSequenceResponseType convertReceivedCreateSequenceResponse(Object create)
create
- Apache CXF