Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.configuration
Class XPathLibrary

java.lang.Object
  extended by org.jboss.arquillian.ajocado.configuration.XPathLibrary
All Implemented Interfaces:
SeleniumRepresentable

public class XPathLibrary
extends Object
implements SeleniumRepresentable

Encapsulates the current implementations of XPath libraries supported by Selenium.

Version:
$Revision$
Author:
Lukas Fryc

Field Summary
static XPathLibrary AJAXSLT
          Google's library
static XPathLibrary DEFAULT
          Default library, currently Google's library, see AJAXSLT
static XPathLibrary JAVASCRIPT_XPATH
          Cybozu Labs' faster library
 
Constructor Summary
XPathLibrary(String xpathLibraryName)
          New named XPath library
 
Method Summary
 String inSeleniumRepresentation()
          Returns Selenium's string representation of this object
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final XPathLibrary DEFAULT
Default library, currently Google's library, see AJAXSLT


AJAXSLT

public static final XPathLibrary AJAXSLT
Google's library


JAVASCRIPT_XPATH

public static final XPathLibrary JAVASCRIPT_XPATH
Cybozu Labs' faster library

Constructor Detail

XPathLibrary

public XPathLibrary(String xpathLibraryName)
New named XPath library

Parameters:
xpathLibraryName - the XPath library name
Method Detail

inSeleniumRepresentation

public String inSeleniumRepresentation()
Description copied from interface: SeleniumRepresentable
Returns Selenium's string representation of this object

Specified by:
inSeleniumRepresentation in interface SeleniumRepresentable
Returns:
Selenium's string representation of this object

toString

public String toString()
Overrides:
toString in class Object

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.