core/src/main/java/com/opentext/ia/sdk/sip/SipAssembler.java
public static <D> SipAssembler<D> forPdiAndContentWithHashing(PackagingInformation prototype,
      Assembler<HashedContents<D>> pdiAssembler, HashAssembler pdiHashAssembler, ContentAssembler<D> contentAssembler) {
    return new SipAssembler<>(new DefaultPackagingInformationFactory(prototype), pdiAssembler, pdiHashAssembler,
        new DataBufferSupplier<>(MemoryBuffer.class), contentAssembler);
  }
public static <D> SipAssembler<D> forPdiAndContentWithHashing(PackagingInformation prototype,
      Assembler<HashedContents<D>> pdiAssembler, HashAssembler pdiHashAssembler, ContentAssembler<D> contentAssembler) {
    return new SipAssembler<>(new DefaultPackagingInformationFactory(prototype), pdiAssembler, pdiHashAssembler,
        new DataBufferSupplier<>(MemoryBuffer.class), contentAssembler);
  }
Assemble a SIP that is the only SIP in its DSS.
@param <D> The type of domain objects to assemble the SIP from
@param prototype Prototype for the Packaging Information
@param pdiAssembler Assembler that builds up the PDI
@param pdiHashAssembler Assembler that builds up an encoded hash for the PDI
@param contentAssembler ContentAssembler that adds the digital objects to the SIP
@return The newly created SIP assembler