|
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.EncoderDecoder 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 | |
---|---|
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 EncoderDecoder10Impl INSTANCE
Method Detail |
---|
public String getWSRMNamespace()
EncoderDecoder
getWSRMNamespace
in class EncoderDecoder
public String getWSANamespace()
EncoderDecoder
getWSANamespace
in class EncoderDecoder
public RMConstants getConstants()
EncoderDecoder
getConstants
in class EncoderDecoder
public Class<?> getCreateSequenceType()
EncoderDecoder
getCreateSequenceType
in class EncoderDecoder
public Class<?> getCreateSequenceResponseType()
EncoderDecoder
getCreateSequenceResponseType
in class EncoderDecoder
public Class<?> getTerminateSequenceType()
EncoderDecoder
getTerminateSequenceType
in class EncoderDecoder
public Class<?> getTerminateSequenceResponseType()
EncoderDecoder
getTerminateSequenceResponseType
in class EncoderDecoder
protected JAXBContext getContext() throws JAXBException
EncoderDecoder
getContext
in class EncoderDecoder
JAXBException
protected void buildHeaders(SequenceType seq, Collection<SequenceAcknowledgement> acks, Collection<AckRequestedType> reqs, boolean last, Element header, Marshaller marshaller) throws JAXBException
EncoderDecoder
buildHeaders
in class EncoderDecoder
JAXBException
public void buildHeaderFault(SequenceFault sf, Element header, Marshaller marshaller) throws JAXBException
EncoderDecoder
buildHeaderFault
in class EncoderDecoder
JAXBException
public Element encodeSequenceAcknowledgement(SequenceAcknowledgement ack) throws JAXBException
EncoderDecoder
encodeSequenceAcknowledgement
in class EncoderDecoder
JAXBException
public Element encodeIdentifier(Identifier id) throws JAXBException
EncoderDecoder
encodeIdentifier
in class EncoderDecoder
JAXBException
public SequenceType decodeSequenceType(Element elem) throws JAXBException
EncoderDecoder
decodeSequenceType
in class EncoderDecoder
JAXBException
public CloseSequenceType decodeSequenceTypeCloseSequence(Element elem) throws JAXBException
EncoderDecoder
decodeSequenceTypeCloseSequence
in class EncoderDecoder
null
JAXBException
public SequenceAcknowledgement decodeSequenceAcknowledgement(Element elem) throws JAXBException
EncoderDecoder
decodeSequenceAcknowledgement
in class EncoderDecoder
JAXBException
public AckRequestedType decodeAckRequestedType(Element elem) throws JAXBException
EncoderDecoder
decodeAckRequestedType
in class EncoderDecoder
JAXBException
public Object convertToSend(CreateSequenceType create)
EncoderDecoder
convertToSend
in class EncoderDecoder
public Object convertToSend(CreateSequenceResponseType create)
EncoderDecoder
convertToSend
in class EncoderDecoder
public Object convertToSend(TerminateSequenceType term)
EncoderDecoder
convertToSend
in class EncoderDecoder
public CreateSequenceType convertReceivedCreateSequence(Object create)
EncoderDecoder
convertReceivedCreateSequence
in class EncoderDecoder
public CreateSequenceResponseType convertReceivedCreateSequenceResponse(Object response)
EncoderDecoder
convertReceivedCreateSequenceResponse
in class EncoderDecoder
public 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 |