Class OBFLDynamicContent
- java.lang.Object
-
- org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
-
- org.daisy.dotify.formatter.impl.obfl.OBFLDynamicContent
-
- All Implemented Interfaces:
DynamicContent
public class OBFLDynamicContent extends OBFLExpressionBase implements DynamicContent
TODO: Write java doc.
-
-
Field Summary
-
Fields inherited from class org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
ef, exp, PAGE_NUMBER_VARIABLE_NAME, SHEET_COUNT_VARIABLE_NAME, STARTED_PAGE_NUMBER_VARIABLE_NAME, STARTED_VOLUME_FIRST_CONTENT_PAGE_NUMBER_VARIABLE_NAME, STARTED_VOLUME_NUMBER_VARIABLE_NAME, STARTS_AT_TOP_OF_PAGE_VARIABLE_NAME, VOLUME_COUNT_VARIABLE_NAME, VOLUME_NUMBER_VARIABLE_NAME, VOLUME_SHEET_COUNT_VARIABLE_NAME
-
-
Constructor Summary
Constructors Constructor Description OBFLDynamicContent(String exp, ExpressionFactory ef, OBFLVariable... variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringrender()Renders the content without supplying any variables.Stringrender(Context context)Renders the content in the supplied context.-
Methods inherited from class org.daisy.dotify.formatter.impl.obfl.OBFLExpressionBase
buildArgs
-
-
-
-
Constructor Detail
-
OBFLDynamicContent
public OBFLDynamicContent(String exp, ExpressionFactory ef, OBFLVariable... variables)
-
-
Method Detail
-
render
public String render()
Description copied from interface:DynamicContentRenders the content without supplying any variables.- Specified by:
renderin interfaceDynamicContent- Returns:
- returns the evaluation result
-
render
public String render(Context context)
Description copied from interface:DynamicContentRenders the content in the supplied context.
- Specified by:
renderin interfaceDynamicContent- Parameters:
context- the context- Returns:
- returns the evaluation result
-
-