Class WikiLinkSubstitution

  • All Implemented Interfaces:
    RegexpSubstitution

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

      Constructors 
      Constructor Description
      WikiLinkSubstitution​(java.lang.String sourceName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String substitute​(org.apache.oro.text.regex.MatchResult results)
      Returns the substitution for the given match.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WikiLinkSubstitution

        public WikiLinkSubstitution​(java.lang.String sourceName)
    • Method Detail

      • substitute

        public java.lang.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.