package ru.yandex.webmaster3.core.semantic.semantic_document_parser.struct_data.transformers;

import ru.yandex.webmaster3.core.semantic.semantic_document_parser.struct_data.XmlStructData;

/**
 * Created by IntelliJ IDEA.
 * User: rasifiel
 * Date: 13.11.13
 * Time: 6:33
 */
public abstract class XmlStructDataTransformer implements Transformer {

    public abstract XmlStructData transformStruct(final Object o, final String sourceUrl);

    @Override
    public Object transform(final Object o, final String sourceUrl) {
        return transformStruct(o, sourceUrl);
    }
}
