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

com.saucesubfresh.starter.crawler.parser.ElementSelector Maven / Gradle / Ivy

package com.saucesubfresh.starter.crawler.parser;

import org.jsoup.nodes.Element;

import java.util.List;

/**
 * @author lijunping on 2022/4/18
 */
public interface ElementSelector extends Selector{

    /**
     * Extract single result in text.
* If there are more than one result, only the first will be chosen. * * @param element element * @return result */ String select(Element element); /** * Extract all results in text.
* * @param element element * @return results */ List selectList(Element element); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy