Class LinkToUrlFilter

    • Method Detail

      • setFollow

        public void setFollow​(boolean follow)
        Sets the way search engines evaluate the created link. If set to false, a rel="nofollow" attribute is added to the link, so web crawlers will not follow to the target.
        Parameters:
        follow - true if links should be followed by web crawlers. Defaults to true.
      • setTarget

        public void setTarget​(@Nullable
                              String target)
        Sets the link's target attribute.
        Parameters:
        target - Link target, or null if no target is to be set.