Class ToHtml.DeliveryContext<T>

java.lang.Object
eu.bandm.tools.lablog.base.ToHtml.DeliveryContext<T>
Direct Known Subclasses:
ToHtml.DeliverBlockContent, ToHtml.DeliverDivContent, ToHtml.DeliverInline, ToHtml.DeliverToListItem, ToHtml.DeliverToPre, ToHtml.DeliverToTd
Enclosing class:
ToHtml

protected abstract class ToHtml.DeliveryContext<T> extends Object
A delivery context maintains a list into which the generated html elements can be stored. Possibly they will be wrapped into other container classes. This architecture comes from the fact that divverent elements can be contained in very different cntexts, and may need this wrapping.
  • Constructor Details

    • DeliveryContext

      protected DeliveryContext(@Opt @Opt ToHtml.DeliveryContext<?> pred)
      Only constructor.
      Parameters:
      pred - predecessor, must be != null but for the very first (= outermost) context.