Package org.daisy.dotify.api.translator
Interface TextWithContext
-
public interface TextWithContext
Provides a translatable text including context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<FollowingText>
getFollowingText()
Gets the following items in this context.List<PrecedingText>
getPrecedingText()
Gets the already processed items in this context.List<ResolvableText>
getTextToTranslate()
Gets the items to translate in this context.
-
-
-
Method Detail
-
getPrecedingText
List<PrecedingText> getPrecedingText()
Gets the already processed items in this context.- Returns:
- a list of preceding items
-
getFollowingText
List<FollowingText> getFollowingText()
Gets the following items in this context.- Returns:
- a list of following items
-
getTextToTranslate
List<ResolvableText> getTextToTranslate()
Gets the items to translate in this context.- Returns:
- a list of current items
-
-