Package ro.sync.ecss.extensions.dita
Class DITAElementLocatorProvider
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.DefaultElementLocatorProvider
-
- ro.sync.ecss.extensions.dita.DITAElementLocatorProvider
-
- All Implemented Interfaces:
Extension
,ElementLocatorProvider
@API(type=INTERNAL, src=PUBLIC) public class DITAElementLocatorProvider extends DefaultElementLocatorProvider
Implementation for locating elements based on a link from a DITA document. See:
http://docs.oasis-open.org/dita/v1.0/langspec/relatedl.html
http://docs.oasis-open.org/dita/v1.1/OS/langspec/common/theconrefattribute.html
http://docs.oasis-open.org/dita/v1.0/langspec/xref.html
-
-
Constructor Summary
Constructors Constructor Description DITAElementLocatorProvider()
Default constructor.DITAElementLocatorProvider(boolean locateInsideDITAMap)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementLocator
getElementLocator(IDTypeVerifier idVerifier, java.lang.String link)
Get an element locator capable of locating the element pointed by this link.-
Methods inherited from class ro.sync.ecss.extensions.commons.DefaultElementLocatorProvider
getDescription
-
-
-
-
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
- Overrides:
getElementLocator
in classDefaultElementLocatorProvider
- 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)
-
-