Package org.daisy.dotify.api.formatter
Interface Condition
-
- All Known Implementing Classes:
OBFLCondition
public interface Condition
Provides an interface for a condition.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
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
-
-