package ru.yandex.wmconsole.data.wrappers;

import ru.yandex.wmconsole.data.info.ForeignPairInfo;
import ru.yandex.wmtools.common.util.XmlDataWrapper;

/**
 * @author Andrey Mima (amima@yandex-team.ru)
 */
public class ForeignPairWrapper extends XmlDataWrapper<ForeignPairInfo> {
    private static final String TAG_SERVICE = "service";
    private static final String ATTRIBUTE_NOTIFICATION_ID = "notification-id";
    private static final String ATTRIBUTE_NAME = "name";

    public ForeignPairWrapper(ForeignPairInfo data) {
        super(data, TAG_SERVICE, ATTRIBUTE_NOTIFICATION_ID, data.getId().toString(), ATTRIBUTE_NAME, data.getName());
    }

    @Override
    protected void doToXml(StringBuilder result) {
    }
}
