public class XMLText extends XMLCharacterData implements Text:
DOM text node implementation.
@example `klyn import klyn.io.xml.dom
text = XMLText("content", document)
| Modifier and Type | Member | Description |
|---|---|---|
| public XMLText(data as String = "", ownerDocument as Document = null, nodeName as String = " super(nodeName, nodeType, data, ownerDocument) public readonly property | isElementContentWhitespaceisElementContentWhitespace as Boolean: |
Creates a text node. |
| public readonly property | wholeTextwholeText as String: |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | replaceWholeTextreplaceWholeText(content as String) as Text throws DOMException: |
Performs a DOM operation. |
| public | splitTextsplitText(offset as Int) as Text throws DOMException: |
Performs a DOM operation. |