Package ro.sync.ecss.extensions.xhtml
Class XHTMLElementLocatorProvider
- java.lang.Object
-
- ro.sync.ecss.extensions.xhtml.XHTMLElementLocatorProvider
-
- All Implemented Interfaces:
Extension
,ElementLocatorProvider
@API(type=INTERNAL, src=PUBLIC) public class XHTMLElementLocatorProvider extends java.lang.Object implements ElementLocatorProvider
In XHTML the reference can point to an ID type attribute and also to thename
attribute of thea
element.
-
-
Constructor Summary
Constructors Constructor Description XHTMLElementLocatorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
ElementLocator
getElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
Get an element locator capable of locating the element pointed by this link.
-
-
-
Method Detail
-
getElementLocator
public ElementLocator getElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
Description copied from interface:ElementLocatorProvider
Get an element locator capable of locating the element pointed by this link.- Specified by:
getElementLocator
in interfaceElementLocatorProvider
- Parameters:
idVerifier
- Verifies if a given attribute type is ID.link
- The link that points to the element.- Returns:
- An
ElementLocator
capable of locating the element indicated by the given link. - See Also:
DefaultElementLocatorProvider.getElementLocator(ro.sync.ecss.extensions.api.link.IDTypeVerifier, java.lang.String)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceExtension
- Returns:
- The description of the extension.
- See Also:
Extension.getDescription()
-
-