public interface InterWikiMapper
In order to keep the name short and recognizable, we have decided that what we are calling Inter-wiki links also includes Intra-wiki links. It is up to the implementation to support external wikiNames, null wikiNames (for intra-wiki links), or both.
CreoleParser.setInterWikiMapper(InterWikiMapper)
java.lang.String toPath(java.lang.String wikiName, java.lang.String wikiPage)
wikiName
- if null, then this is an intra-wiki link.CreoleParseException
- if the given name or page is invalid, you
can't map them, or you have not implemented the needed
(intra- vs. inter-) type mapping.java.lang.String toLabel(java.lang.String wikiName, java.lang.String wikiPage)
wikiName
- if null, then this is an intra-wiki link.CreoleParseException
- if the given name or page is invalid, you
can't map them, or you have not implemented the needed
(intra- vs. inter-) type mapping.