be.hikage.xdt4j.locator
Class LocatorUtils

java.lang.Object
  extended by be.hikage.xdt4j.locator.LocatorUtils

public abstract class LocatorUtils
extends Object


Constructor Summary
LocatorUtils()
           
 
Method Summary
static String generateSpecificXPath(org.dom4j.Element currentElement)
          Create an specific XPath to the provided Element by using the Locators information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorUtils

public LocatorUtils()
Method Detail

generateSpecificXPath

public static String generateSpecificXPath(org.dom4j.Element currentElement)
Create an specific XPath to the provided Element by using the Locators information

Parameters:
currentElement -
Returns:
an specific XPath that point to the element
Throws:
XdtException - can be thrown if the hierarchy of the element present an Locator that does not allow call to Locator.generateCondition


Copyright © 2012. All Rights Reserved.