if (logger.isDebugEnabled()) {
logger.debug("Parent index is " + parentIndex);
}
// Get this temporal format iterator's properties
IteratorSizeConstraint cellConstraint =
temporal.getMaxCellConstraint();
int elements;
// Determine no. of elements to render
if (cellConstraint.isFixed()) {
elements = cellConstraint.getMaximumValue();
} else {
// Get maximum number of cells to be rendered.
IteratedFormatInstanceCounter instanceCounter =
context.getInstanceCounter();
int cells = instanceCounter.getMaxInstances(
temporal, parentIndex);
if (logger.isDebugEnabled()) {
logger.debug("cells=" + cells);
}
elements = cellConstraint.getConstrained(cells);
}
SlideAttributes attributes = factory.createSlideAttributes();
String timeValues = (String) temporal.getAttribute(
TemporalFormatIterator.TEMPORAL_ITERATOR_CLOCK_VALUES);