All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.dotify.api.formatter.Condition Maven / Gradle / Ivy

package org.daisy.dotify.api.formatter;


/**
 * Provides an interface for a condition.
 *
 * @author Joel Håkansson
 */
public interface Condition {

    /**
     * Evaluates the condition without supplying any variables.
     *
     * @return returns the evaluation result
     */
    public boolean evaluate();

    /**
     * 

Evaluates the condition in the supplied context.

* * @param context the context * @return returns the evaluation result */ public boolean evaluate(Context context); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy