public XhtmlNode i() { return addTag("i"); } public XhtmlNode tx(String cnt) {
private void processSup(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("sup"); processChildren(e, xc); }
private void processSub(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("sub"); processChildren(e, xc); }
private void processList(Element e, XhtmlNode xn) throws FHIRException { String lt = e.getAttribute("listType"); XhtmlNode xc = xn.addTag("ordered".equals(lt) ? "ol" : "ul"); processAttributes(e, xc, "ID", "language", "styleCode"); processChildren(e, xc); }
private void processCaption(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("h2"); processAttributes(e, xc, "ID", "language", "styleCode"); processChildren(e, xc); }
private void processColGroup(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("colgroup"); processAttributes(e, xc, "ID", "language", "styleCode", "span", "width", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processContent(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("span"); processAttributes(e, xc, "ID", "language", "styleCode"); // todo: do something with revised..., "revised" processChildren(e, xc); }
private void processParagraph(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("p"); processAttributes(e, xc, "ID", "language", "styleCode"); processChildren(e, xc); }
private void processlinkHtml(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("a"); processAttributes(e, xc, "name", "href", "rel", "rev", "title", "ID", "language", "styleCode"); processChildren(e, xc); }
private void processItem(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("li"); processAttributes(e, xc, "ID", "language", "styleCode"); processChildren(e, xc); }
private void processTable(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("table"); processAttributes(e, xc, "ID", "language", "styleCode", "summary", "width", "border", "frame", "rules", "cellspacing", "cellpadding"); processChildren(e, xc); }
private void processTd(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("td"); processAttributes(e, xc, "ID", "language", "styleCode", "abbr", "axis", "headers", "scope", "rowspan", "colspan", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processTHead(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("thead"); processAttributes(e, xc, "ID", "language", "styleCode", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processCol(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("col"); processAttributes(e, xc, "ID", "language", "styleCode", "span", "width", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processTBody(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("tbody"); processAttributes(e, xc, "ID", "language", "styleCode", "align", "char", "charoff", "valign"); processChildren(e, xc); }
public XhtmlNode table(String clss) { XhtmlNode res = addTag("table"); if (!Utilities.noString(clss)) res.setAttribute("class", clss); return res; }
private void processTh(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("th"); processAttributes(e, xc, "ID", "language", "styleCode", "abbr", "axis", "headers", "scope", "rowspan", "colspan", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processTr(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("tr"); processAttributes(e, xc, "ID", "language", "styleCode", "align", "char", "charoff", "valign"); processChildren(e, xc); }
private void processRenderMultiMedia(Element e, XhtmlNode xn) throws FHIRException { XhtmlNode xc = xn.addTag("img"); String v = e.getAttribute("referencedObject"); xn.attribute("src", v); processAttributes(e, xc, "ID", "language", "styleCode"); processChildren(e, xc); }
public XhtmlNode span(String style, String title) { XhtmlNode res = addTag("span"); if (!Utilities.noString(style)) res.attribute("style", style); if (!Utilities.noString(title)) res.attribute("title", title); return res; }