public interface ReplaceLinkHandler
boolean compare(Link linkToLookFor, Link linkToReplace)
linkToLookFor
- the link to look forlinkToReplace
- the link to replaceLink getReplacementLink(Link newLink, Link linkToReplace)
newLink
- the link to use to replace the matched link. It's possible that only some
fields are set and the replacement algorithm will compute what the others fields
should belinkToReplace
- the link to be replacedCopyright © 2004–2014 XWiki. All rights reserved.