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

org.daisy.dotify.api.translator.TextWithContext Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.daisy.dotify.api.translator;

import java.util.List;

/**
 * Provides a translatable text including context.
 *
 * @author Joel Håkansson
 */
public interface TextWithContext {

    /**
     * Gets the already processed items in this context.
     *
     * @return a list of preceding items
     */
    public List getPrecedingText();

    /**
     * Gets the following items in this context.
     *
     * @return a list of following items
     */
    public List getFollowingText();

    /**
     * Gets the items to translate in this context.
     *
     * @return a list of current items
     */
    public List getTextToTranslate();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy