public class ParserFunctionIf extends ParserFunctionsExtPfn.IfThenElseStmt
ParserFunctionsExtPfn.CtrlStmt, ParserFunctionsExtPfn.IfThenElseStmtParserFunctionBase.ParserFunctionAdapter, ParserFunctionBase.ParserFunctionRef| Constructor and Description |
|---|
ParserFunctionIf()
For un-marshaling only.
|
ParserFunctionIf(WikiConfig wikiConfig)
{{#if:
test string
| value if test string is not empty
| value if test string is empty (or only white space)
}}
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluateCondition(WtTemplate pfn,
ExpansionFrame frame,
List<? extends WtNode> args) |
evaluate, setDefaultinvokeinvokecompareTo, equals, getArgMode, getId, getWikiConfig, hashCode, isPageSwitch, nf, setWikiConfig, toString, tupublic ParserFunctionIf()
public ParserFunctionIf(WikiConfig wikiConfig)
{{#if:
test string
| value if test string is not empty
| value if test string is empty (or only white space)
}}
protected boolean evaluateCondition(WtTemplate pfn, ExpansionFrame frame, List<? extends WtNode> args)
evaluateCondition in class ParserFunctionsExtPfn.IfThenElseStmtCopyright © 2010–2018 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.