public class ForeachCondition extends java.lang.Object implements ParserCondition
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
ENTER, SPACE, SPLITEND, SPLITSTART| Constructor and Description |
|---|
ForeachCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(CharacterBuffer buffer,
TemplateParser parser,
LocalisationInterface customTemplate) |
java.lang.String |
getKey() |
ObjectCondition |
getLoopCondition() |
ForeachCondition |
getSendableInstance(boolean prototyp) |
java.lang.CharSequence |
getValue(LocalisationInterface variables) |
boolean |
isExpression() |
java.lang.String |
toString() |
boolean |
update(java.lang.Object value)
checks or notify this condition.
|
ForeachCondition |
withExpression(ObjectCondition value) |
ForeachCondition |
withLoopCondition(ObjectCondition value) |
public static final java.lang.String TAG
public java.lang.String getKey()
getKey in interface ParserConditionpublic java.lang.CharSequence getValue(LocalisationInterface variables)
getValue in interface ParserConditionpublic ForeachCondition withExpression(ObjectCondition value)
value - Set the new Expressionpublic boolean update(java.lang.Object value)
Conditionpublic void create(CharacterBuffer buffer, TemplateParser parser, LocalisationInterface customTemplate)
create in interface ParserConditionpublic boolean isExpression()
isExpression in interface ParserConditionpublic ForeachCondition withLoopCondition(ObjectCondition value)
public ObjectCondition getLoopCondition()
public ForeachCondition getSendableInstance(boolean prototyp)
getSendableInstance in interface ParserConditionpublic java.lang.String toString()
toString in class java.lang.Object