|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.rm.EncoderDecoder
org.apache.cxf.ws.rm.EncoderDecoder10AImpl
public final class EncoderDecoder10AImpl
WS-ReliableMessaging 1.0 encoding and decoding. This converts between the standard WS-RM objects and the 1.0 representation using the WS-Addressing recommendation 200508 namespace.
| Field Summary | |
|---|---|
static EncoderDecoder10AImpl |
INSTANCE
|
| Method Summary | |
|---|---|
void |
buildHeaderFault(SequenceFault sf,
Element header,
Marshaller marshaller)
Build a header fault, using the correct protocol variation. |
protected void |
buildHeaders(SequenceType seq,
Collection<SequenceAcknowledgement> acks,
Collection<AckRequestedType> reqs,
boolean last,
Element header,
Marshaller marshaller)
Build all required headers, using the correct protocol variation. |
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. |
protected JAXBContext |
getContext()
Get context for JAXB marshalling/unmarshalling. |
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. |
| Methods inherited from class org.apache.cxf.ws.rm.EncoderDecoder |
|---|
addNamespaceDecl, buildHeaderFault, buildHeaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final EncoderDecoder10AImpl INSTANCE
| Method Detail |
|---|
public String getWSRMNamespace()
EncoderDecoder
getWSRMNamespace in class EncoderDecoderpublic String getWSANamespace()
EncoderDecoder
getWSANamespace in class EncoderDecoderpublic RMConstants getConstants()
EncoderDecoder
getConstants in class EncoderDecoderpublic Class<?> getCreateSequenceType()
EncoderDecoder
getCreateSequenceType in class EncoderDecoderpublic Class<?> getCreateSequenceResponseType()
EncoderDecoder
getCreateSequenceResponseType in class EncoderDecoderpublic Class<?> getTerminateSequenceType()
EncoderDecoder
getTerminateSequenceType in class EncoderDecoderpublic Class<?> getTerminateSequenceResponseType()
EncoderDecoder
getTerminateSequenceResponseType in class EncoderDecoder
protected JAXBContext getContext()
throws JAXBException
EncoderDecoder
getContext in class EncoderDecoderJAXBException
protected void buildHeaders(SequenceType seq,
Collection<SequenceAcknowledgement> acks,
Collection<AckRequestedType> reqs,
boolean last,
Element header,
Marshaller marshaller)
throws JAXBException
EncoderDecoder
buildHeaders in class EncoderDecoderJAXBException
public void buildHeaderFault(SequenceFault sf,
Element header,
Marshaller marshaller)
throws JAXBException
EncoderDecoder
buildHeaderFault in class EncoderDecoderJAXBException
public Element encodeSequenceAcknowledgement(SequenceAcknowledgement ack)
throws JAXBException
EncoderDecoder
encodeSequenceAcknowledgement in class EncoderDecoderJAXBException
public Element encodeIdentifier(Identifier id)
throws JAXBException
EncoderDecoder
encodeIdentifier in class EncoderDecoderJAXBException
public SequenceType decodeSequenceType(Element elem)
throws JAXBException
EncoderDecoder
decodeSequenceType in class EncoderDecoderJAXBException
public CloseSequenceType decodeSequenceTypeCloseSequence(Element elem)
throws JAXBException
EncoderDecoder
decodeSequenceTypeCloseSequence in class EncoderDecodernull
JAXBException
public SequenceAcknowledgement decodeSequenceAcknowledgement(Element elem)
throws JAXBException
EncoderDecoder
decodeSequenceAcknowledgement in class EncoderDecoderJAXBException
public AckRequestedType decodeAckRequestedType(Element elem)
throws JAXBException
EncoderDecoder
decodeAckRequestedType in class EncoderDecoderJAXBExceptionpublic Object convertToSend(CreateSequenceType create)
EncoderDecoder
convertToSend in class EncoderDecoderpublic Object convertToSend(TerminateSequenceType term)
EncoderDecoder
convertToSend in class EncoderDecoderpublic Object convertToSend(CreateSequenceResponseType create)
EncoderDecoder
convertToSend in class EncoderDecoderpublic CreateSequenceType convertReceivedCreateSequence(Object create)
EncoderDecoder
convertReceivedCreateSequence in class EncoderDecoderpublic CreateSequenceResponseType convertReceivedCreateSequenceResponse(Object response)
EncoderDecoder
convertReceivedCreateSequenceResponse in class EncoderDecoderpublic TerminateSequenceType convertReceivedTerminateSequence(Object term)
EncoderDecoder
convertReceivedTerminateSequence in class EncoderDecoder
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||