Package org.daisy.dotify.api.formatter
Interface ContentCollection
-
- All Superinterfaces:
BlockBuilder
,BlockContentBuilder
,FormatterCore
public interface ContentCollection extends FormatterCore
Provides methods needed to add a content collection to a formatter. Note that adding contents outside of items has no specified meaning and may be ignored by a formatter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endItem()
Ends the current item.void
startItem(BlockProperties props)
Starts a new item with the supplied properties.-
Methods inherited from interface org.daisy.dotify.api.formatter.BlockBuilder
endBlock, startBlock, startBlock
-
Methods inherited from interface org.daisy.dotify.api.formatter.BlockContentBuilder
addChars, endSpan, endStyle, insertAnchor, insertEvaluate, insertLeader, insertMarker, insertReference, newLine, startSpan, startStyle
-
Methods inherited from interface org.daisy.dotify.api.formatter.FormatterCore
beginsTableBody, beginsTableCell, beginsTableHeader, beginsTableRow, endTable, insertDynamicLayout, startTable
-
-
-
-
Method Detail
-
startItem
void startItem(BlockProperties props)
Starts a new item with the supplied properties. An identifier must be set in the block properties for the item to be referenced.- Parameters:
props
- the properties
-
endItem
void endItem()
Ends the current item.
-
-