All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apoc.load.SelectElement Maven / Gradle / Ivy

package apoc.load;


import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import org.neo4j.logging.Log;

import java.util.List;
import java.util.Map;

import static apoc.load.LoadHtml.getElements;

public class SelectElement implements HtmlResultInterface {

    @Override
    public List> getResult(Document document, String selector, LoadHtmlConfig config, List errorList, Log log) {
        final Elements select = document.select(selector);
        return getElements(select, config, errorList, log);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy