|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EncoderDecoder
Interface for converting WS-ReliableMessaging structures to and from XML. Implementations of this interface provide version-specific encoding and decoding.
| Method Summary | |
|---|---|
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 |
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. |
| Method Detail |
|---|
String getWSRMNamespace()
String getWSANamespace()
RMConstants getConstants()
Class getCreateSequenceType()
Class getCreateSequenceResponseType()
Class getTerminateSequenceType()
Element buildHeaders(RMProperties rmps,
QName qname)
throws javax.xml.bind.JAXBException
rmps - qname - constructed element name
javax.xml.bind.JAXBException
Element buildHeaderFault(SequenceFault sf,
QName qname)
throws javax.xml.bind.JAXBException
sf - qname - constructed element name
javax.xml.bind.JAXBException
Element encodeSequenceAcknowledgement(SequenceAcknowledgement ack)
throws javax.xml.bind.JAXBException
ack -
javax.xml.bind.JAXBException
Element encodeIdentifier(Identifier id)
throws javax.xml.bind.JAXBException
id -
javax.xml.bind.JAXBException
SequenceType decodeSequenceType(Element elem)
throws javax.xml.bind.JAXBException
elem -
javax.xml.bind.JAXBException
CloseSequenceType decodeSequenceTypeCloseSequence(Element elem)
throws javax.xml.bind.JAXBException
elem -
null
javax.xml.bind.JAXBException
SequenceAcknowledgement decodeSequenceAcknowledgement(Element elem)
throws javax.xml.bind.JAXBException
elem -
javax.xml.bind.JAXBException
AckRequestedType decodeAckRequestedType(Element elem)
throws javax.xml.bind.JAXBException
elem -
javax.xml.bind.JAXBExceptionObject 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 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||