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,
      DigitalObjectsExtraction<D> contentsExtraction, HashAssembler contentHashAssembler) {
    return new SipAssembler<>(new DefaultPackagingInformationFactory(prototype), pdiAssembler, pdiHashAssembler,
        new DataBufferSupplier<>(MemoryBuffer.class),
        new ContentAssemblerDefault<D>(contentsExtraction, contentHashAssembler));
  }
public static <D> SipAssembler<D> forPdiAndContentWithHashing(PackagingInformation prototype,
      Assembler<HashedContents<D>> pdiAssembler, HashAssembler pdiHashAssembler,
      DigitalObjectsExtraction<D> contentsExtraction, HashAssembler contentHashAssembler) {
    return new SipAssembler<>(new DefaultPackagingInformationFactory(prototype), pdiAssembler, pdiHashAssembler,
        new DataBufferSupplier<>(MemoryBuffer.class),
        new ContentAssemblerDefault<D>(contentsExtraction, contentHashAssembler));
  }
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 contentsExtraction Extraction of content from domain objects added to the SIP
@param contentHashAssembler Assembler that builds up an encoded hash for the extracted content
@return The newly created SIP assembler