core/src/main/java/com/opentext/ia/sdk/sip/SipAssembler.java
public static <D> SipAssembler<D> forPdiAndContentWithHashing(PackagingInformationFactory factory,
      Assembler<HashedContents<D>> pdiAssembler, HashAssembler pdiHashAssembler, ContentAssembler<D> contentAssembler) {
    return new SipAssembler<>(factory, pdiAssembler, pdiHashAssembler, new DataBufferSupplier<>(MemoryBuffer.class),
        contentAssembler);
  }
public static <D> SipAssembler<D> forPdiAndContentWithHashing(PackagingInformationFactory factory,
      Assembler<HashedContents<D>> pdiAssembler, HashAssembler pdiHashAssembler, ContentAssembler<D> contentAssembler) {
    return new SipAssembler<>(factory, pdiAssembler, pdiHashAssembler, new DataBufferSupplier<>(MemoryBuffer.class),
        contentAssembler);
  }
public static < D > SipAssembler < D > forPdiAndContentWithHashing ( PackagingInformationFactory factory , Assembler < HashedContents < D > > pdiAssembler , HashAssembler pdiHashAssembler , ContentAssembler < D > contentAssembler ) { return new SipAssembler <> ( factory , 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 factory Factory for creating 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
Assemble a SIP that is the only SIP in its DSS .