/** * Convert wsrm:Expires to 200502 version with 200408 WS-Addressing namespace. * * @param internal (may be <code>null</code>) * @return converted (<code>null</code> if internal is <code>null</code>) */ private static org.apache.cxf.ws.rm.v200502.Expires convert200502(Expires internal) { if (internal == null) { return null; } org.apache.cxf.ws.rm.v200502.Expires exposed = RMUtils.getWSRM200502Factory().createExpires(); exposed.setValue(internal.getValue()); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return exposed; }