|
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.VersionTransformer
public final class VersionTransformer
This class is responsible for transforming between the native WS-ReliableMessaging schema version (currently http://docs.oasis-open.org/ws-rx/wsrm/200702) and exposed version (which may be the 200702 namespace, the http://schemas.xmlsoap.org/ws/2005/02/rm namespace using the old http://schemas.xmlsoap.org/ws/2004/08/addressing WS-Addressing namespace, or 2005/02 namespace with the newer http://www.w3.org/2005/08/addressing WS-Addressing namespace).
The native version is that used throughout the stack, where the WS-RM types are represented via the JAXB generated types.
The exposed version is that used when the WS-RM types are externalized, i.e. are encoded in the headers of outgoing messages. For outgoing requests, the exposed version is determined from configuration. For outgoing responses, the exposed version is determined by the exposed version of the corresponding request.
Method Summary | |
---|---|
static AcceptType |
convert(AcceptType exposed)
Convert 200502 AcceptType with 200408 WS-Addressing namespace to internal form. |
static AcceptType |
convert(AcceptType exposed)
Convert 200502 AcceptType with 200508 WS-Addressing namespace to internal form. |
static AckRequestedType |
convert(AckRequestedType exposed)
Convert 200502 wsrm:SequenceAcknowledgement with 200508 WS-Addressing namespace to internal form. |
static AckRequestedType |
convert(AckRequestedType exposed)
Convert 200502 wsrm:SequenceAcknowledgement with 200408 WS-Addressing namespace to internal form. |
static CreateSequenceResponseType |
convert(CreateSequenceResponseType exposed)
Convert 200502 wsrm:CreateSequenceResponseType with 200508 WS-Addressing namespace to internal form. |
static CreateSequenceResponseType |
convert(CreateSequenceResponseType exposed)
Convert 200502 wsrm:CreateSequenceResponseType with 200408 WS-Addressing namespace to internal form. |
static CreateSequenceType |
convert(CreateSequenceType exposed)
Convert 200502 wsrm:CreateSequenceType with 200508 WS-Addressing namespace to internal form. |
static CreateSequenceType |
convert(CreateSequenceType exposed)
Convert 200502 wsrm:CreateSequenceType with 200408 WS-Addressing namespace to internal form. |
static Expires |
convert(Expires exposed)
Convert 200502 Expires with 200408 WS-Addressing namespace to internal form. |
static Expires |
convert(Expires exposed)
Convert 200502 Expires with 200508 WS-Addressing namespace to internal form. |
static Identifier |
convert(Identifier exposed)
Convert 200502 wsrm:Identifier with 200508 WS-Addressing namespace to internal form. |
static Identifier |
convert(Identifier exposed)
Convert 200502 wsrm:Identifier with 200408 WS-Addressing namespace to internal form. |
static OfferType |
convert(OfferType exposed)
Convert 200502 OfferType with 200408 WS-Addressing namespace to internal form. |
static OfferType |
convert(OfferType exposed)
Convert 200502 OfferType with 200508 WS-Addressing namespace to internal form. |
static SequenceAcknowledgement |
convert(SequenceAcknowledgement exposed)
Convert 200502 wsrm:SequenceAcknowledgement with 200508 WS-Addressing namespace to internal form. |
static SequenceAcknowledgement |
convert(SequenceAcknowledgement exposed)
Convert 200502 wsrm:SequenceAcknowledgement with 200408 WS-Addressing namespace to internal form. |
static SequenceType |
convert(SequenceType exposed)
Convert 200502 wsrm:SequenceType with 200408 WS-Addressing namespace to internal form. |
static SequenceType |
convert(SequenceType exposed)
Convert 200502 wsrm:SequenceType with 200508 WS-Addressing namespace to internal form. |
static TerminateSequenceType |
convert(TerminateSequenceType exposed)
Convert 200502 TerminateSequenceType with 200508 WS-Addressing namespace to internal form. |
static TerminateSequenceType |
convert(TerminateSequenceType exposed)
Convert 200502 TerminateSequenceType with 200408 WS-Addressing namespace to internal form. |
static AckRequestedType |
convert200502(AckRequestedType internal)
Convert wsrm:SequenceAcknowledgement to 200502 version with 200408 WS-Addressing namespace. |
static CreateSequenceResponseType |
convert200502(CreateSequenceResponseType internal)
Convert wsrm:CreateSequenceResponseType to 200502 version with 200408 WS-Addressing namespace. |
static CreateSequenceType |
convert200502(CreateSequenceType internal)
Convert CreateSequenceType to 200502 version with 200408 WS-Addressing namespace. |
static Identifier |
convert200502(Identifier internal)
Convert wsrm:Identifier to 200502 version with 200408 WS-Addressing namespace. |
static SequenceAcknowledgement |
convert200502(SequenceAcknowledgement internal)
Convert wsrm:SequenceAcknowledgement to 200502 version with 200408 WS-Addressing namespace. |
static SequenceType |
convert200502(SequenceType internal)
Convert wsrm:SequenceType to 200502 version with 200408 WS-Addressing namespace. |
static TerminateSequenceType |
convert200502(TerminateSequenceType internal)
Convert TerminateSequenceType to 200502 version with 200408 WS-Addressing namespace. |
static AckRequestedType |
convert200502wsa15(AckRequestedType internal)
Convert wsrm:SequenceAcknowledgement to 200502 version with 200508 WS-Addressing namespace. |
static CreateSequenceResponseType |
convert200502wsa15(CreateSequenceResponseType internal)
Convert wsrm:CreateSequenceResponseType to 200502 version with 200508 WS-Addressing namespace. |
static CreateSequenceType |
convert200502wsa15(CreateSequenceType internal)
Convert CreateSequenceType to 200502 version with 200508 WS-Addressing namespace. |
static Identifier |
convert200502wsa15(Identifier internal)
Convert wsrm:Identifier to 200502 version with 200508 WS-Addressing namespace. |
static SequenceAcknowledgement |
convert200502wsa15(SequenceAcknowledgement internal)
Convert wsrm:SequenceAcknowledgement to 200502 version with 200508 WS-Addressing namespace. |
static SequenceType |
convert200502wsa15(SequenceType internal)
Convert wsrm:SequenceType to 200502 version with 200508 WS-Addressing namespace. |
static TerminateSequenceType |
convert200502wsa15(TerminateSequenceType internal)
Convert TerminateSequenceType to 200502 version with 200508 WS-Addressing namespace. |
static boolean |
isSupported(String uri)
Check if a namespace URI represents a supported version of WS-ReliableMessaging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isSupported(String uri)
uri
-
true
if supported, false
if notpublic static CreateSequenceType convert200502wsa15(CreateSequenceType internal)
internal
- (non-null
)
public static CreateSequenceType convert200502(CreateSequenceType internal)
internal
- (non-null
)
public static Identifier convert200502wsa15(Identifier internal)
internal
- (may be null
)
null
if internal is null
)public static Identifier convert200502(Identifier internal)
internal
- (may be null
)
null
if internal is null
)public static Identifier convert(Identifier exposed)
exposed
- (may be null
)
null
if exposed is null
)public static Identifier convert(Identifier exposed)
exposed
- (may be null
)
null
if exposed is null
)public static CreateSequenceType convert(CreateSequenceType exposed)
exposed
- (may be null
)
null
if exposed is null
)public static CreateSequenceType convert(CreateSequenceType exposed)
exposed
- (may be null
)
null
if exposed is null
)public static CreateSequenceResponseType convert(CreateSequenceResponseType exposed)
exposed
- (may be null
)
null
if exposed is null
)public static CreateSequenceResponseType convert(CreateSequenceResponseType exposed)
exposed
- (may be null
)
null
if exposed is null
)public static CreateSequenceResponseType convert200502wsa15(CreateSequenceResponseType internal)
internal
- (non-null
)
public static CreateSequenceResponseType convert200502(CreateSequenceResponseType internal)
internal
- (non-null
)
public static SequenceType convert200502wsa15(SequenceType internal)
internal
- (non-null
)
public static SequenceType convert(SequenceType exposed)
exposed
- (non-null
)
public static SequenceType convert(SequenceType exposed)
exposed
- (non-null
)
public static Expires convert(Expires exposed)
exposed
- (may be null
)
null
if internal is null
)public static Expires convert(Expires exposed)
exposed
- (may be null
)
null
if internal is null
)public static AcceptType convert(AcceptType exposed)
exposed
- (may be null
)
null
if internal is null
)public static AcceptType convert(AcceptType exposed)
exposed
- (may be null
)
null
if internal is null
)public static OfferType convert(OfferType exposed)
exposed
- (may be null
)
null
if internal is null
)public static OfferType convert(OfferType exposed)
exposed
- (may be null
)
null
if internal is null
)public static SequenceType convert200502(SequenceType internal)
internal
- (non-null
)
public static TerminateSequenceType convert200502(TerminateSequenceType internal)
internal
- (non-null
)
public static TerminateSequenceType convert200502wsa15(TerminateSequenceType internal)
internal
- (non-null
)
public static SequenceAcknowledgement convert200502wsa15(SequenceAcknowledgement internal)
internal
- (non-null
)
public static SequenceAcknowledgement convert200502(SequenceAcknowledgement internal)
internal
- (non-null
)
public static SequenceAcknowledgement convert(SequenceAcknowledgement exposed)
exposed
- (non-null
)
public static SequenceAcknowledgement convert(SequenceAcknowledgement exposed)
exposed
- (non-null
)
public static AckRequestedType convert200502wsa15(AckRequestedType internal)
internal
- (non-null
)
public static AckRequestedType convert200502(AckRequestedType internal)
internal
- (non-null
)
public static AckRequestedType convert(AckRequestedType exposed)
exposed
- (non-null
)
public static AckRequestedType convert(AckRequestedType exposed)
exposed
- (non-null
)
public static TerminateSequenceType convert(TerminateSequenceType exposed)
exposed
- (non-null
)
public static TerminateSequenceType convert(TerminateSequenceType exposed)
exposed
- (non-null
)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |