Interface SpecialURL

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean applyTo​(org.w3c.dom.Element link, java.lang.String linkAttribute)
      Checks to see if a linking element (a or img) uses a special protocol label and, if so, attempts to rewrite the element.
    • Method Detail

      • applyTo

        boolean applyTo​(org.w3c.dom.Element link,
                        java.lang.String linkAttribute)
        Checks to see if a linking element (a or img) uses a special protocol label and, if so, attempts to rewrite the element.
        Parameters:
        link - an a or img element
        linkAttribute - name of the attribute containing a link URL
        Returns:
        true if the element has been rewritten.