Package org.hl7.fhir.utilities.xhtml
Class XhtmlFluent
java.lang.Object
org.hl7.fhir.utilities.xhtml.XhtmlFluent
- Direct Known Subclasses:
XhtmlNode,XhtmlNodeList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidaddChildren(XhtmlNodeList childNodes) protected abstract XhtmlNodeprotected abstract XhtmlNodeprotected abstract XhtmlNodemake it a code if it's not a linkb()voidbr()code()voidcodeWithText(String preText, String text, String postText) div()h(int level) h1()h2()h3()h4()voidhr()i()iff(boolean test) protected abstract intindexOfNode(XhtmlNode node) voidli()voidvoidmarkdownSimple(String md, String source) ol()para()pre()span()voidused in i18n when we don't know if there'll be text, but if there is, it needs to be separatedtd()th()th(int index) tr()tx(int cnt) ul()
-
Constructor Details
-
XhtmlFluent
public XhtmlFluent()
-
-
Method Details
-
addTag
-
addTag
-
addText
-
addChildren
-
addChild
-
indexOfNode
-
h1
-
h2
-
h
-
h
-
h3
-
h4
-
table
-
table
-
tr
-
tr
-
th
-
th
-
td
-
td
-
div
-
div
-
para
-
pre
-
pre
-
br
-
hr
-
ul
-
ol
-
li
-
b
-
i
-
tx
-
stx
used in i18n when we don't know if there'll be text, but if there is, it needs to be separated- Parameters:
cnt-
-
tx
-
ah
-
ah
-
ahWithText
-
ahOrCode
make it a code if it's not a link- Parameters:
href-title-- Returns:
-
ahOrCode
-
img
-
imgT
-
img
-
an
-
an
-
span
-
span
-
span
-
spanClss
-
codeWithText
-
code
-
code
-
blockquote
-
markdown
- Throws:
IOException
-
markdownSimple
- Throws:
IOException
-
innerHTML
- Throws:
IOException
-
txN
-
iff
-