io.appium.java_client.internal
Class MobileElementToJsonConverter

java.lang.Object
  extended by org.openqa.selenium.remote.internal.WebElementToJsonConverter
      extended by io.appium.java_client.internal.MobileElementToJsonConverter
All Implemented Interfaces:
com.google.common.base.Function<Object,Object>

public class MobileElementToJsonConverter
extends org.openqa.selenium.remote.internal.WebElementToJsonConverter

Converts RemoteWebElement objects, which may be wrapped, into their JSON representation as defined by the WebDriver wire protocol. This class will recursively convert Lists and Maps to catch nested references.

See Also:
WebDriver JSON Wire Protocol

Constructor Summary
MobileElementToJsonConverter()
           
 
Method Summary
 Object apply(Object arg)
           
 
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
 

Constructor Detail

MobileElementToJsonConverter

public MobileElementToJsonConverter()
Method Detail

apply

public Object apply(Object arg)
Specified by:
apply in interface com.google.common.base.Function<Object,Object>
Overrides:
apply in class org.openqa.selenium.remote.internal.WebElementToJsonConverter


Copyright © 2014. All rights reserved.