/** * string representation */ public String toString() { if (hasXlink()) return "<" + uri + "> <" + title + "> <" + type + ">" + ((content == null) ? "" : " <" + content + ">"); else return "<" + inlineContent + ">"; }
/** * string representation */ public String toString() { if (hasXlink()) return "<" + uri + "> <" + title + "> <" + type + ">" + ((content == null) ? "" : " <" + content + ">"); else return "<" + inlineContent + ">"; }
/** * string representation */ public String toString() { if (hasXlink()) return "<" + uri + "> <" + title + "> <" + type + ">" + ((content == null) ? "" : " <" + content + ">"); else return "<" + inlineContent + ">"; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getURI().toString(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getURI().toString(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation( InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals( doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
if ((inline != null) && (inline.length() > 0)) buff.append(" <li>").append(type).append(StringUtil2.quoteHtmlContent(inline)).append("</li>\n"); if (doc.hasXlink()) {
if ((inline != null) && (inline.length() > 0)) buff.append(" <li>").append(type).append(StringUtil2.quoteHtmlContent(inline)).append("</li>\n"); if (doc.hasXlink()) {
if ((inline != null) && (inline.length() > 0)) buff.append(" <li>").append(type).append(StringUtil2.quoteHtmlContent(inline)).append("</li>\n"); if (doc.hasXlink()) {