|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.ws.rm.EncoderDecoder10Impl
public final class EncoderDecoder10Impl
WS-ReliableMessaging 1.0 encoding and decoding. This converts between the standard WS-RM objects and the 1.0 representation using the WS-Addressing 200408 namespace specified in the WS-RM 1.0 recommendation.
Field Summary | |
---|---|
static EncoderDecoder10Impl |
INSTANCE
|
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 response)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EncoderDecoder10Impl INSTANCE
Method Detail |
---|
public String getWSRMNamespace()
EncoderDecoder
getWSRMNamespace
in interface EncoderDecoder
public String getWSANamespace()
EncoderDecoder
getWSANamespace
in interface EncoderDecoder
public RMConstants getConstants()
EncoderDecoder
getConstants
in interface EncoderDecoder
public Class getCreateSequenceType()
EncoderDecoder
getCreateSequenceType
in interface EncoderDecoder
public Class getCreateSequenceResponseType()
EncoderDecoder
getCreateSequenceResponseType
in interface EncoderDecoder
public Class getTerminateSequenceType()
EncoderDecoder
getTerminateSequenceType
in interface EncoderDecoder
public Element buildHeaders(RMProperties rmps, QName qname) throws javax.xml.bind.JAXBException
EncoderDecoder
buildHeaders
in interface EncoderDecoder
qname
- constructed element name
javax.xml.bind.JAXBException
public Element buildHeaderFault(SequenceFault sf, QName qname) throws javax.xml.bind.JAXBException
EncoderDecoder
buildHeaderFault
in interface EncoderDecoder
qname
- constructed element name
javax.xml.bind.JAXBException
public Element encodeSequenceAcknowledgement(SequenceAcknowledgement ack) throws javax.xml.bind.JAXBException
EncoderDecoder
encodeSequenceAcknowledgement
in interface EncoderDecoder
javax.xml.bind.JAXBException
public Element encodeIdentifier(Identifier id) throws javax.xml.bind.JAXBException
EncoderDecoder
encodeIdentifier
in interface EncoderDecoder
javax.xml.bind.JAXBException
public SequenceType decodeSequenceType(Element elem) throws javax.xml.bind.JAXBException
EncoderDecoder
decodeSequenceType
in interface EncoderDecoder
javax.xml.bind.JAXBException
public CloseSequenceType decodeSequenceTypeCloseSequence(Element elem) throws javax.xml.bind.JAXBException
EncoderDecoder
decodeSequenceTypeCloseSequence
in interface EncoderDecoder
null
javax.xml.bind.JAXBException
public SequenceAcknowledgement decodeSequenceAcknowledgement(Element elem) throws javax.xml.bind.JAXBException
EncoderDecoder
decodeSequenceAcknowledgement
in interface EncoderDecoder
javax.xml.bind.JAXBException
public AckRequestedType decodeAckRequestedType(Element elem) throws javax.xml.bind.JAXBException
EncoderDecoder
decodeAckRequestedType
in interface EncoderDecoder
javax.xml.bind.JAXBException
public Object convertToSend(CreateSequenceType create)
EncoderDecoder
convertToSend
in interface EncoderDecoder
public Object convertToSend(CreateSequenceResponseType create)
EncoderDecoder
convertToSend
in interface EncoderDecoder
public Object convertToSend(TerminateSequenceType term)
EncoderDecoder
convertToSend
in interface EncoderDecoder
public CreateSequenceType convertReceivedCreateSequence(Object create)
EncoderDecoder
convertReceivedCreateSequence
in interface EncoderDecoder
public CreateSequenceResponseType convertReceivedCreateSequenceResponse(Object response)
EncoderDecoder
convertReceivedCreateSequenceResponse
in interface EncoderDecoder
public TerminateSequenceType convertReceivedTerminateSequence(Object term)
EncoderDecoder
convertReceivedTerminateSequence
in interface EncoderDecoder
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |