core/src/main/java/com/opentext/ia/sdk/sip/Generator.java
public Metrics generate(Iterable<C> components, DataBuffer product) throws IOException {
    return generate(components.iterator(), product);
  }
public Metrics generate(Iterable<C> components, DataBuffer product) throws IOException {
    return generate(components.iterator(), product);
  }
Generate a product by assembling components.
@param components The components to assemble
@param product The output to write the assembled product to
@return Metrics about the generation process
@throws IOException When an I/O error occurs