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

com.jdiai.jswraper.JSEngine Maven / Gradle / Ivy

package com.jdiai.jswraper;

import com.google.gson.JsonObject;
import com.jdiai.jsdriver.JSDriver;
import com.jdiai.jsproducer.JSProducer;
import com.jdiai.jsproducer.Json;

import java.util.List;

public interface JSEngine {
    JSDriver jsDriver();
    void updateDriver(JSDriver driver);
    void multiSearch();
    JSProducer jsGet(String script);
    String jsExecute(String script);
    void doAction(String action);
    String getAttribute(String attribute);
    String getValue(String valueFunc);
    List getAttributeList(String attribute);
    Json getAttributes(String... attributes);
    int getSize();
    Json getAttributes(List attributes);
    List getJsonList(String json);
    void setMap(String objectMap);
    Json getAsMap();
    Json getAsMap(String valueFunc);
    String firstValue(String valueFunc);
    List getValues(String valueFunc);
    List getMultiAttributes(List attributes);
    JsonObject getJson(String json);
    List getMultiAttributes(String... attributes);
    String getStyle(String style);
    Json getStyles(List styles);
    String color();
    String bgColor();
    String getColor(String name);
    Json getStyles(String... styles);
    Json getAllStyles();
    String pseudo(String name, String value);
    List getStylesList(String style);
    List getMultiStyles(List styles);
    Json getObject(String objectMap);
    List getMultiStyles(String... styles);
    Json getObject(List attributes);
    JSEngine setupEntity(Class entity);
     T getEntity(String objectMap);
     T getEntity();
     T getEntity(List attributes);
     T getEntityFromAttr(String... attributes);
     List getEntityList(String objectMap);
     List getEntityList();
     List getEntityList(List attributes);
     List getEntityListFromAttr(String... attributes);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy