core/src/main/java/com/opentext/ia/sdk/sip/SipAssembler.java
public static <D> SipAssembler<D> forPdiAndContentWithContentHashing(PackagingInformationFactory factory,
      Assembler<HashedContents<D>> pdiAssembler, DigitalObjectsExtraction<D> contentsExtraction,
      HashAssembler contentHashAssembler) {
    return forPdiAndContentWithHashing(factory, pdiAssembler, new NoHashAssembler(),
        new ContentAssemblerDefault<D>(contentsExtraction, contentHashAssembler));
  }
public static <D> SipAssembler<D> forPdiAndContentWithContentHashing(PackagingInformationFactory factory,
      Assembler<HashedContents<D>> pdiAssembler, DigitalObjectsExtraction<D> contentsExtraction,
      HashAssembler contentHashAssembler) {
    return forPdiAndContentWithHashing(factory, pdiAssembler, new NoHashAssembler(),
        new ContentAssemblerDefault<D>(contentsExtraction, contentHashAssembler));
  }
public static < D > SipAssembler < D > forPdiAndContentWithContentHashing ( PackagingInformationFactory factory , Assembler < HashedContents < D > > pdiAssembler , DigitalObjectsExtraction < D > contentsExtraction , HashAssembler contentHashAssembler ) { return forPdiAndContentWithHashing ( factory , pdiAssembler , new NoHashAssembler ( ) , new ContentAssemblerDefault < D > ( contentsExtraction , contentHashAssembler ) ) ; }
Assemble a SIP that contains only structured data and 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 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
Assemble a SIP that contains only structured data and is the only SIP in its DSS .