Package com.selectpdf
Class WebElementsClient
java.lang.Object
com.selectpdf.ApiClient
com.selectpdf.WebElementsClient
public class WebElementsClient extends ApiClient
Get the locations of certain web elements. This is retrieved if pdf_web_elements_selectors parameter was set during the initial conversion call and elements were found to match the selectors.
-
Field Summary
Fields inherited from class com.selectpdf.ApiClient
apiAsyncEndpoint, apiEndpoint, apiWebElementsEndpoint, AsyncCallsMaxPings, AsyncCallsPingInterval, binaryData, CLIENT_VERSION, files, headers, jobId, lastHTTPCode, MULTIPART_FORM_DATA_BOUNDARY, NEW_LINE, numberOfPages, parameters
-
Constructor Summary
Constructors Constructor Description WebElementsClient(java.lang.String apiKey, java.lang.String jobId)
Construct the web elements client. -
Method Summary
Modifier and Type Method Description java.lang.String
getWebElements()
Get the locations of certain web elements.Methods inherited from class com.selectpdf.ApiClient
getNumberOfPages, performPost, performPostAsMultipartFormData, serializeDictionary, serializeParameters, setApiAsyncEndpoint, setApiEndpoint, setApiWebElementsEndpoint, startAsyncJob, startAsyncJobMultipartFormData
-
Constructor Details
-
WebElementsClient
public WebElementsClient(java.lang.String apiKey, java.lang.String jobId)Construct the web elements client.- Parameters:
apiKey
- API Key.jobId
- Job ID.
-
-
Method Details
-
getWebElements
public java.lang.String getWebElements()Get the locations of certain web elements. This is retrieved if pdf_web_elements_selectors parameter is set and elements were found to match the selectors.- Returns:
- List of web elements locations.
-