code: public String getTags(boolean open)
      {
          if (fOpeningTags == null) {
              StringBuffer o = new StringBuffer();
              StringBuffer c = new StringBuffer();
              for (WikiStyle style : fStyles) {
                  o.append('<').append(style).append('>');
                  c.insert(0, ">").insert(0, style).insert(0, "</");
              }
              fOpeningTags = o.toString().intern();
              fClosingTags = c.toString().intern();
          }
          return open ? fOpeningTags : fClosingTags;
      }
docs: Returns opening or closing tags corresponding to the given format(it
  depends on the given flag).
  
  @param open if this flag is <code>true</code> then this method returns
  opening tags for this format
  @return opening or closing tags corresponding to the given format(it
  depends on the given flag)