Append an inline element
ElementTree appendInlineElement( ElementTree block, InlineElement inline, String initialtext )
block The element to add to
inline The inline element to add
initialtext The initial text content of the inline element
Adds a new inline element containing some text to the end of a block.
p = addParagraph(parent,"This is "); em = appendInlineElement(p,Emphasis,"important"); // <p>This is <em>important</em></p>
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
HTMLDocument.InlineElement (3kaya)
HTMLDocument.addInlineElementAt (3kaya)
HTMLDocument.addString (3kaya)