コード例 #1
0
 /**
  * Convert 200502 wsrm:CreateSequenceResponseType with 200508 WS-Addressing namespace to internal
  * form.
  *
  * @param exposed (may be <code>null</code>)
  * @return converted (<code>null</code> if exposed is <code>null</code>)
  */
 public static CreateSequenceResponseType convert(
     org.apache.cxf.ws.rm.v200502wsa15.CreateSequenceResponseType exposed) {
   if (exposed == null) {
     return null;
   }
   CreateSequenceResponseType internal = new CreateSequenceResponseType();
   internal.setAccept(convert(exposed.getAccept()));
   internal.setExpires(convert(exposed.getExpires()));
   internal.setIdentifier(convert(exposed.getIdentifier()));
   addAll(exposed.getAny(), internal.getAny());
   putAll(exposed.getOtherAttributes(), internal.getOtherAttributes());
   return internal;
 }
コード例 #2
0
 /**
  * Convert wsrm:CreateSequenceResponseType to 200502 version with 200508 WS-Addressing namespace.
  *
  * @param internal (non-<code>null</code>)
  * @return converted
  */
 public static org.apache.cxf.ws.rm.v200502wsa15.CreateSequenceResponseType convert200502wsa15(
     CreateSequenceResponseType internal) {
   org.apache.cxf.ws.rm.v200502wsa15.CreateSequenceResponseType exposed =
       RMUtils.getWSRM200502WSA200508Factory().createCreateSequenceResponseType();
   exposed.setIdentifier(convert200502wsa15(internal.getIdentifier()));
   exposed.setExpires(convert200502wsa15(internal.getExpires()));
   exposed.setAccept(convert200502wsa15(internal.getAccept()));
   addAll(internal.getAny(), exposed.getAny());
   putAll(internal.getOtherAttributes(), exposed.getOtherAttributes());
   return exposed;
 }