org.openqa.selenium.remote.internal
Class WebElementToJsonConverter

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

public class WebElementToJsonConverter
extends java.lang.Object
implements com.google.common.base.Function<java.lang.Object,java.lang.Object>

Converts WebElement objects to their JSON representation. Will recursively convert Lists and Maps to catch nested references.


Constructor Summary
WebElementToJsonConverter()
           
 
Method Summary
 java.lang.Object apply(java.lang.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

WebElementToJsonConverter

public WebElementToJsonConverter()
Method Detail

apply

public java.lang.Object apply(java.lang.Object arg)
Specified by:
apply in interface com.google.common.base.Function<java.lang.Object,java.lang.Object>


Copyright © 2011. All Rights Reserved.