com.jalios.jcms.mashup
Class WikiLinkSubstitution

java.lang.Object
  extended by 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 Summary
WikiLinkSubstitution(String sourceName)
           
 
Method Summary
 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(String sourceName)
Method Detail

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.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.