Interface ElementSupplier<T>

Type Parameters:
T - the type of element to be written
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ElementSupplier<T>
Creates or gets a element to output files together with a ElementWriter.

This exists primarily facilitate lazy creation of an element (only if an output is enabled by the rules).

Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets/creates the element to be written.