|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bliki.wiki.template.AbstractTemplateFunction
info.bliki.wiki.template.Ifeq
public class Ifeq
A template parser function for {{ #ifeq: ... }} syntax
| Field Summary | |
|---|---|
static ITemplateFunction |
CONST
|
| Constructor Summary | |
|---|---|
Ifeq()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class info.bliki.wiki.template.AbstractTemplateFunction |
|---|
getFunctionDoc |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ITemplateFunction CONST
| Constructor Detail |
|---|
public Ifeq()
| Method Detail |
|---|
public java.lang.String parseFunction(char[] src,
int beginIndex,
int endIndex,
IWikiModel model)
ITemplateFunction{{ #if: ... }})
The result is also a text string in Wikipedia syntax notation which will be
parsed again (recursively) in the TemplateParser step.
parseFunction in interface ITemplateFunctionparseFunction in class AbstractTemplateFunctionsrc - 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||