Example #1
0
 /**
  * ************************************************************************* * * Get the value
  * with a notes as bracket or superscript
  */
 public String getDisplayValueWithFootnotes(SourceSrc ss, boolean asSuper) {
   PertAnnotations pa = ss.getPertAnnotations();
   StringBuffer buf = new StringBuffer();
   buf.append(getDisplayValue(ss));
   if (!annotations_.isEmpty()) {
     buf.append((asSuper) ? "<sup>" : " [");
     buf.append(pa.getFootnoteListAsString(annotations_));
     buf.append((asSuper) ? "</sup>" : "]");
   }
   return (buf.toString());
 }