Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.encapsulated
Class XpathLibrary

java.lang.Object
  extended by org.jboss.arquillian.ajocado.encapsulated.XpathLibrary

public class XpathLibrary
extends Object

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)
          Instantiates a new xpath library.
 
Method Summary
 String getXpathLibraryName()
          Gets the xpath library name.
 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)
Instantiates a new xpath library.

Parameters:
xpathLibraryName - the xpath library name
Method Detail

getXpathLibraryName

public String getXpathLibraryName()
Gets the xpath library name.

Returns:
the xpath library name

toString

public String toString()
Overrides:
toString in class Object

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.