Class BindingHyperlinkResolverForOpenAPI3

java.lang.Object
org.docx4j.model.datastorage.BindingHyperlinkResolver
org.docx4j.model.datastorage.BindingHyperlinkResolverForOpenAPI3

public class BindingHyperlinkResolverForOpenAPI3 extends BindingHyperlinkResolver
  • Constructor Details

    • BindingHyperlinkResolverForOpenAPI3

      public BindingHyperlinkResolverForOpenAPI3()
  • Method Details

    • getIndexOfURL

      public int getIndexOfURL(String text)
      Return the index of the position you wish to treat as a hyperlink. The characters from there to the first whitespace following will be treated as the URL
      Overrides:
      getIndexOfURL in class BindingHyperlinkResolver
      Parameters:
      text -
      Returns:
    • generateHyperlink

      public P.Hyperlink generateHyperlink(String bookmarkName, String url) throws jakarta.xml.bind.JAXBException
      Overrides:
      generateHyperlink in class BindingHyperlinkResolver
      Parameters:
      bookmarkName -
      url -
      Returns:
      Throws:
      jakarta.xml.bind.JAXBException