Class LinkTextResolverCustomizer

java.lang.Object
com.oxygenxml.editor.editors.dita.LinkTextResolverCustomizer

@API(type=EXTENDABLE, src=PUBLIC) public class LinkTextResolverCustomizer extends Object
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 Details

    • LinkTextResolverCustomizer

      public LinkTextResolverCustomizer()
  • Method Details

    • computeLinkText

      public String computeLinkText(String hrefValue, String baseSystemID) throws Exception
      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