Package org.daisy.dotify.api.formatter
Interface Condition
-
- All Known Implementing Classes:
OBFLCondition
public interface ConditionProvides an interface for a condition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate()Evaluates the condition without supplying any variables.booleanevaluate(Context context)Evaluates the condition in the supplied context.
-
-
-
Method Detail
-
evaluate
boolean evaluate()
Evaluates the condition without supplying any variables.- Returns:
- returns the evaluation result
-
evaluate
boolean evaluate(Context context)
Evaluates the condition in the supplied context.
- Parameters:
context- the context- Returns:
- returns the evaluation result
-
-