Class WikiLinkSubstitution

java.lang.Object
com.jalios.jcms.mashup.WikiLinkSubstitution
All Implemented Interfaces:
RegexpSubstitution

public class WikiLinkSubstitution extends Object implements RegexpSubstitution
This class resolves imported wiki links.
Since:
jcms-6.0.0
Author:
Olivier Dedieu
  • Constructor Details

    • WikiLinkSubstitution

      public WikiLinkSubstitution(String sourceName)
  • Method Details

    • substitute

      public String substitute(org.apache.oro.text.regex.MatchResult results)
      Description copied from interface: RegexpSubstitution
      Returns the substitution for the given match.
      Specified by:
      substitute in interface RegexpSubstitution
      Parameters:
      results - the result of the match
      Returns:
      the substitution for the given match.