org.daisy.dotify.api.formatter.DynamicContent Maven / Gradle / Ivy
package org.daisy.dotify.api.formatter;
/**
* Provides an interface for dynamic text, in other words
* content that may change between renderings.
*
* @author Joel Håkansson
*/
public interface DynamicContent {
/**
* Renders the content without supplying any variables.
*
* @return returns the evaluation result
*/
public String render();
/**
* Renders the content in the supplied context.
*
* @param context the context
* @return returns the evaluation result
*/
public String render(Context context);
}