Class ExtendedPropertyLinker


  • public class ExtendedPropertyLinker
    extends Object
    Used to create links from extended property values. If a regular expression has been specified the value to link must match that regular expression. The url should contain the marker {value} which will be replaced with the value to link.
    Version:
    2.0
    Author:
    nicklas
    Last modified
    $Date: 2008-09-11 22:11:02 +0200 (to, 11 sep 2008) $
    • Field Detail

      • REPLACE_VALUE

        private static final Pattern REPLACE_VALUE
      • regexp

        private final Pattern regexp
    • Constructor Detail

      • ExtendedPropertyLinker

        ExtendedPropertyLinker​(String regexp,
                               String url)
    • Method Detail

      • getUrl

        public String getUrl​(Object value)
        Create a link.
        Parameters:
        value - The value to link
        Returns:
        The link, or null if this linker doesn't match the value