Class RandomAccessSink

  • All Implemented Interfaces:
    LogEnabled, Sink

    public class RandomAccessSink
    extends Object
    implements Sink
    The RandomAccessSink provides the ability to create a Sink with hooks. A page can be prepared by first creating its structure and specifying the positions of these hooks. After specifying the structure, the page can be filled with content from one or more models. These hooks can prevent you to have to loop over the model multiple times to build the page as desired.
    Since:
    1.3
    Author:
    Robert Scholte