Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.xhtml
Class XHTMLElementLocatorProvider

java.lang.Object
  extended by ro.sync.ecss.extensions.xhtml.XHTMLElementLocatorProvider
All Implemented Interfaces:
Extension, ElementLocatorProvider

public class XHTMLElementLocatorProvider
extends Object
implements ElementLocatorProvider

In XHTML the reference can point to an ID type attribute and also to the name attribute of the a element.


Constructor Summary
XHTMLElementLocatorProvider()
           
 
Method Summary
 String getDescription()
           
 ElementLocator getElementLocator(IDTypeVerifier idVerifier, String link)
          Get an element locator capable of locating the element pointed by this link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLElementLocatorProvider

public XHTMLElementLocatorProvider()
Method Detail

getElementLocator

public ElementLocator getElementLocator(IDTypeVerifier idVerifier,
                                        String link)
Description copied from interface: ElementLocatorProvider
Get an element locator capable of locating the element pointed by this link.

Specified by:
getElementLocator in interface ElementLocatorProvider
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 String getDescription()
Specified by:
getDescription in interface Extension
Returns:
The description of the extension.
See Also:
Extension.getDescription()

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.