writer.print(">\n");
DSBinding[] bindings = diss.dsBindMap.dsBindings;
for (int i = 0; i < bindings.length; i++) {
if (bindings[i].bindKeyName == null
|| bindings[i].bindKeyName.equals("")) {
throw new ObjectIntegrityException("Object's disseminator"
+ " binding map binding must have a binding key name.");
}
writer.print("<");
writer.print(METS.prefix);
writer.print(":div TYPE=\"");
writer.print(bindings[i].bindKeyName);
if (bindings[i].bindLabel != null
&& !bindings[i].bindLabel.equals("")) {
writer.print("\" LABEL=\"");
writer.print(StreamUtility.enc(bindings[i].bindLabel));
}
if (bindings[i].seqNo != null
&& !bindings[i].seqNo.equals("")) {
writer.print("\" ORDER=\"");
writer.print(bindings[i].seqNo);
}
if (bindings[i].datastreamID == null
|| bindings[i].datastreamID.equals("")) {
throw new ObjectIntegrityException("Object's disseminator"
+ " binding map binding must point to a datastream.");
}
writer.print("\">\n<");
writer.print(METS.prefix);
writer.print(":fptr FILEID=\"");