class AddressesXmlAdapter extends XmlAdapter<ClientAddressesListWrapper, List<String>> {

    @Override
    public ClientAddressesListWrapper marshal(List<String> v) throws Exception {
        return v != null ? new ClientAddressesListWrapper(v) : null;
    }

}