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
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
ConstructorsConstructorDescriptionDefault constructor.DITAElementLocatorProvider
(boolean locateInsideDITAMap) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetElementLocator
(IDTypeVerifier idVerifier, 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
-
Constructor Details
-
DITAElementLocatorProvider
public DITAElementLocatorProvider()Default constructor. -
DITAElementLocatorProvider
public DITAElementLocatorProvider(boolean locateInsideDITAMap) Constructor.- Parameters:
locateInsideDITAMap
-true
if we need to locate inside a DITA Map
-
-
Method Details
-
getElementLocator
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:
-