public String getHeadSectionMarkup() { // First add the markup that was generated by adding elements, then add markup written to the // output stream. StringBuilder txt = new StringBuilder(128); txt.append(getTags(doc)); String src = null; if (sWriter != null) { src = sWriter.toString(); } else if (baoStream != null) { src = baoStream.toString(); } txt.append("\n<!-- markup from portlet output stream -->"); txt.append(getTagsFromText(src, false)); return txt.toString(); }
txt.append(getTags(adoc)); } catch (IllegalArgumentException e) { throw e;