Class OBFLCondition
- java.lang.Object
-
- org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
-
- org.daisy.dotify.formatter.impl.obfl.OBFLCondition
-
- All Implemented Interfaces:
Condition
public class OBFLCondition extends OBFLExpressionBase implements Condition
TODO: Write java doc.
-
-
Field Summary
-
Fields inherited from class org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
ef, exp, PAGE_NUMBER_VARIABLE_NAME, SHEET_COUNT_VARIABLE_NAME, STARTED_PAGE_NUMBER_VARIABLE_NAME, STARTED_VOLUME_FIRST_CONTENT_PAGE_NUMBER_VARIABLE_NAME, STARTED_VOLUME_NUMBER_VARIABLE_NAME, STARTS_AT_TOP_OF_PAGE_VARIABLE_NAME, VOLUME_COUNT_VARIABLE_NAME, VOLUME_NUMBER_VARIABLE_NAME, VOLUME_SHEET_COUNT_VARIABLE_NAME
-
-
Constructor Summary
Constructors Constructor Description OBFLCondition(String exp, ExpressionFactory ef, OBFLVariable... variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate()
Evaluates the condition without supplying any variables.boolean
evaluate(Context context)
Evaluates the condition in the supplied context.-
Methods inherited from class org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
buildArgs
-
-
-
-
Constructor Detail
-
OBFLCondition
public OBFLCondition(String exp, ExpressionFactory ef, OBFLVariable... variables)
-
-
Method Detail
-
evaluate
public boolean evaluate()
Description copied from interface:Condition
Evaluates the condition without supplying any variables.
-
-