Class LinkTextResolverCustomizer
java.lang.Object
com.oxygenxml.editor.editors.dita.LinkTextResolverCustomizer
Abstract class allowed as an extension point to customize the resolution of the text which appears on DITA xrefs.
In your plugin in the plugin.xml you should reference it like:
<extension point="oxygen.plugin.id.ditaLinkTextResolverCustomizer"> <implementation class="my.package.CustomLinkTextResolverCustomizer"/>; </extension>
- Since:
- 17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeLinkText
(String hrefValue, String baseSystemID) Compute the link text to appear on a certain DITA xref or link based on the href and base system ID values.
-
Constructor Details
-
LinkTextResolverCustomizer
public LinkTextResolverCustomizer()
-
-
Method Details
-
computeLinkText
Compute the link text to appear on a certain DITA xref or link based on the href and base system ID values.- Parameters:
hrefValue
- The value of the reference.baseSystemID
- The base system ID- Returns:
- The computed link text or
null
to continue the default processing. - Throws:
Exception
-