|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITemplateFunction
Interface for a template parser function (i.e. {{ #if: ... }} )
| Method Summary | |
|---|---|
java.lang.String |
getFunctionDoc()
Return a short description of the implemented template function |
java.lang.String |
parseFunction(char[] src,
int beginIndex,
int endIndex,
IWikiModel model)
Parse a template function (like for example {{ #if: ... }})
The result is also a text string in Wikipedia syntax notation which will be
parsed again (recursively) in the TemplateParser step. |
| Method Detail |
|---|
java.lang.String parseFunction(char[] src,
int beginIndex,
int endIndex,
IWikiModel model)
{{ #if: ... }})
The result is also a text string in Wikipedia syntax notation which will be
parsed again (recursively) in the TemplateParser step.
src - the array of the current Wikipedia source textbeginIndex - the beginning index, inclusive.endIndex - the ending index, exclusive.model - the wiki model
null
if the parsing fails or isn't validTemplateParser#parseTemplate(StringBuffer)java.lang.String getFunctionDoc()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||