public class XMLText extends XMLCharacterData implements Text
DOM text node implementation.
import klyn.io.xml.dom
text = XMLText("content", document)| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | isElementContentWhitespaceisElementContentWhitespace as Boolean |
No summary. |
| public readonly property | wholeTextwholeText as String |
Text from this node and its adjacent Text and CDATA siblings. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | XMLText | Creates a text node. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | replaceWholeTextreplaceWholeText(content as String) as Text throws DOMException |
Replaces adjacent Text and CDATA siblings with this node's new content. |
| public | splitTextsplitText(offset as Int) as Text throws DOMException |
Splits this Text or CDATA node at a UTF-16 offset. |