public synchronized void add(D domainObject) throws IOException {
    if (shouldStartNewSip(domainObject)) {
      startSip();
    }
    assembler.add(domainObject);
  }
public synchronized void add(D domainObject) throws IOException {
    if (shouldStartNewSip(domainObject)) {
      startSip();
    }
    assembler.add(domainObject);
  }
public synchronized void add ( D domainObject ) throws IOException { if ( shouldStartNewSip ( domainObject ) ) { startSip ( ) ; } assembler . add ( domainObject ) ; }
Add a domain object to the batch of SIPs.
@param domainObject The domain object to add
@throws IOException When an I/O error occurs
Add a domain object to the batch of SIPs .