html.append("</tr>");
SchemesSignature schemesSignature = article.getSchemesSignature();
UniqueIdentifierType type = UniqueIdentifierType.sch;
int i = 0;
SchemeId schemeId = new SchemeId();
for (Scheme scheme : schemeList ){
int nr = 0;
schemeId.increment();
nr = schemeId.getId();
if (scheme.getNr() != null) nr = scheme.getNr();
progressBar.setValue(i++);
progressBar.repaint();
html.append("<tr>");
html.append("<td><b>");
try {
html.append(UniqueIdentifier.getInstance(article.getAid(), type, nr).toString());
} catch (UniqueIdentifierException e) {}
html.append("</b></td>");
html.append("<td>");
if (scheme.getNr() != null)
html.append(scheme.getNr().toString());
html.append("</td>");
html.append("<td>");
if (scheme.getArgTypes() != null)
html.append(Html.changeChars(scheme.getArgTypes().getXMLElementList().toString()));
html.append("</td>");
html.append("<td>");
if (scheme.getFormula1() != null)
html.append(Html.changeChars(scheme.getFormula1().getXMLElementList().toString()));
html.append("</td>");
html.append("<td>");
if (scheme.getFormula2List() != null){
stringBuilder = new StringBuilder();
for (Formula formula : scheme.getFormula2List()){
if (stringBuilder.length()>0) stringBuilder.append(", ");
stringBuilder.append(formula.getXMLElementList().toString());
}
html.append(Html.changeChars(stringBuilder.toString()));
}
html.append("</td>");
html.append("</tr>");
}
html.append("</table>");
html.append("<h2>List of schemes dli format</h2>");
html.append("<table width=100% border=1>");
html.append("<tr>");
html.append("<td>UniqueIdentifier</td>");
html.append("<td>UniqueId</td>");
html.append("<td>Dli</td>");
html.append("</tr>");
i = 0;
schemeId = new SchemeId();
for (Scheme scheme : schemeList){
progressBar.setValue(i++);
progressBar.repaint();
html.append("<tr>");
try {
DecodedLibraryItem decodedLibraryItem = ItemFactory.getItem(schemesSignature, scheme, schemeId);
int nr = schemeId.getId();
if (scheme.getNr() != null) nr = scheme.getNr();
html.append("<td><b>");
try {
html.append(UniqueIdentifier.getInstance(article.getAid(), type, nr).toString());
html.append("</b></td>");