public abstract class CustomCondition<T> extends java.lang.Object implements ParserCondition
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isExpression |
protected static java.lang.String |
PROPERTY_MEMBER |
ENTER, SPACE, SPLITEND, SPLITSTART| Constructor and Description |
|---|
CustomCondition() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
addImport(java.lang.Object value,
java.lang.Class<?> importName) |
protected boolean |
addImport(java.lang.Object value,
java.lang.String importName) |
void |
create(CharacterBuffer buffer,
TemplateParser parser,
LocalisationInterface customTemplate) |
protected GraphMember |
getMember(java.lang.Object value) |
java.lang.Object |
getValue(LocalisationInterface variables) |
abstract java.lang.Object |
getValue(SendableEntityCreator creator,
T member) |
boolean |
isExpression() |
protected void |
skipEnd(CharacterBuffer buffer) |
boolean |
update(java.lang.Object value)
checks or notify this condition.
|
<ST extends CustomCondition<T>> |
withExpression(boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getSendableInstanceprotected static final java.lang.String PROPERTY_MEMBER
protected boolean isExpression
public boolean isExpression()
isExpression in interface ParserConditionpublic <ST extends CustomCondition<T>> ST withExpression(boolean value)
public void create(CharacterBuffer buffer, TemplateParser parser, LocalisationInterface customTemplate)
create in interface ParserConditionprotected java.lang.String addImport(java.lang.Object value,
java.lang.Class<?> importName)
protected boolean addImport(java.lang.Object value,
java.lang.String importName)
protected GraphMember getMember(java.lang.Object value)
protected void skipEnd(CharacterBuffer buffer)
public boolean update(java.lang.Object value)
Conditionpublic java.lang.Object getValue(LocalisationInterface variables)
getValue in interface ParserConditionpublic abstract java.lang.Object getValue(SendableEntityCreator creator, T member)