io.appium.java_client.internal
Class JsonToMobileElementConverter
java.lang.Object
org.openqa.selenium.remote.internal.JsonToWebElementConverter
io.appium.java_client.internal.JsonToMobileElementConverter
- All Implemented Interfaces:
- com.google.common.base.Function<Object,Object>
public class JsonToMobileElementConverter
- extends org.openqa.selenium.remote.internal.JsonToWebElementConverter
Reconstitutes WebElement
s from their JSON representation. Will recursively convert Lists
and Maps to catch nested references. All other values pass through the converter unchanged.
Methods inherited from class org.openqa.selenium.remote.internal.JsonToWebElementConverter |
newRemoteWebElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
JsonToMobileElementConverter
public JsonToMobileElementConverter(AppiumDriver driver)
apply
public Object apply(Object result)
- Specified by:
apply
in interface com.google.common.base.Function<Object,Object>
- Overrides:
apply
in class org.openqa.selenium.remote.internal.JsonToWebElementConverter
newMobileElement
protected MobileElement newMobileElement()
Copyright © 2014. All rights reserved.