Document

actual typealias Document = PlatformDocument
expect interface Document : Node
actual interface Document : Node
actual interface Document : Node

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
expect abstract fun adoptNode(node: Node): Node
actual abstract fun adoptNode(node: Node): Node
actual abstract fun adoptNode(node: Node): Node
Link copied to clipboard
actual fun Document.adoptNode(node: PlatformNode): Node
expect fun Document.adoptNode(node: PlatformNode): Node
actual fun Document.adoptNode(node: PlatformNode): Node
actual fun Document.adoptNode(node: PlatformNode): Node
Link copied to clipboard
expect abstract fun appendChild(node: Node): Node
actual abstract fun appendChild(node: Node): Node
actual abstract fun appendChild(node: Node): Node
Link copied to clipboard
expect abstract fun createAttribute(localName: String): Attr
actual abstract fun createAttribute(localName: String): Attr
actual abstract fun createAttribute(localName: String): Attr
Link copied to clipboard
expect abstract fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
actual abstract fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
actual abstract fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
Link copied to clipboard
expect abstract fun createCDATASection(data: String): CDATASection
actual abstract fun createCDATASection(data: String): CDATASection
actual abstract fun createCDATASection(data: String): CDATASection
Link copied to clipboard
expect abstract fun createComment(data: String): Comment
actual abstract fun createComment(data: String): Comment
actual abstract fun createComment(data: String): Comment
Link copied to clipboard
Link copied to clipboard
expect abstract fun createElement(localName: String): Element
actual abstract fun createElement(localName: String): Element
actual abstract fun createElement(localName: String): Element
Link copied to clipboard
expect abstract fun createElementNS(namespaceURI: String, qualifiedName: String): Element
actual abstract fun createElementNS(namespaceURI: String, qualifiedName: String): Element
actual abstract fun createElementNS(namespaceURI: String, qualifiedName: String): Element
Link copied to clipboard
Link copied to clipboard
expect abstract fun createProcessingInstruction(target: String, data: String): ProcessingInstruction
actual abstract fun createProcessingInstruction(target: String, data: String): ProcessingInstruction
actual abstract fun createProcessingInstruction(target: String, data: String): ProcessingInstruction
Link copied to clipboard
expect abstract fun createTextNode(data: String): Text
actual abstract fun createTextNode(data: String): Text
actual abstract fun createTextNode(data: String): Text
Link copied to clipboard
expect abstract fun getChildNodes(): NodeList
actual abstract fun getChildNodes(): NodeList
actual abstract fun getChildNodes(): NodeList
Link copied to clipboard
expect abstract fun getDoctype(): DocumentType?
actual abstract fun getDoctype(): DocumentType?
actual abstract fun getDoctype(): DocumentType?
Link copied to clipboard
expect abstract fun getDocumentElement(): Element?
actual abstract fun getDocumentElement(): Element?
actual abstract fun getDocumentElement(): Element?
Link copied to clipboard
expect abstract fun getFirstChild(): Node?
actual abstract fun getFirstChild(): Node?
actual abstract fun getFirstChild(): Node?
Link copied to clipboard
expect abstract fun getImplementation(): DOMImplementation
actual abstract fun getImplementation(): DOMImplementation
actual abstract fun getImplementation(): DOMImplementation
Link copied to clipboard
expect abstract fun getInputEncoding(): String?
actual abstract fun getInputEncoding(): String?
actual abstract fun getInputEncoding(): String?
Link copied to clipboard
expect abstract fun getLastChild(): Node?
actual abstract fun getLastChild(): Node?
actual abstract fun getLastChild(): Node?
Link copied to clipboard
expect abstract fun getNextSibling(): Node?
actual abstract fun getNextSibling(): Node?
actual abstract fun getNextSibling(): Node?
Link copied to clipboard
expect abstract fun getNodeName(): String
actual abstract fun getNodeName(): String
actual abstract fun getNodeName(): String
Link copied to clipboard
expect abstract fun getNodetype(): NodeType
actual abstract fun getNodetype(): NodeType
actual abstract fun getNodetype(): NodeType
Link copied to clipboard
expect abstract fun getOwnerDocument(): Document
actual abstract fun getOwnerDocument(): Document
actual abstract fun getOwnerDocument(): Document
Link copied to clipboard
expect abstract fun getParentElement(): Element?
actual abstract fun getParentElement(): Element?
actual abstract fun getParentElement(): Element?
Link copied to clipboard
expect abstract fun getParentNode(): Node?
actual abstract fun getParentNode(): Node?
actual abstract fun getParentNode(): Node?
Link copied to clipboard
expect abstract fun getPreviousSibling(): Node?
actual abstract fun getPreviousSibling(): Node?
actual abstract fun getPreviousSibling(): Node?
Link copied to clipboard
expect abstract fun getTextContent(): String?
actual abstract fun getTextContent(): String?
actual abstract fun getTextContent(): String?
Link copied to clipboard
expect abstract fun importNode(node: Node, deep: Boolean): Node
actual abstract fun importNode(node: Node, deep: Boolean): Node
actual abstract fun importNode(node: Node, deep: Boolean): Node
Link copied to clipboard
actual fun Document.importNode(node: PlatformNode, deep: Boolean): Node

Helper extension for cross platform use. Some implementations have member implementations.

expect fun Document.importNode(node: PlatformNode, deep: Boolean): Node
actual fun Document.importNode(node: PlatformNode, deep: Boolean): Node
actual fun Document.importNode(node: PlatformNode, deep: Boolean): Node
Link copied to clipboard
expect abstract fun lookupNamespaceURI(prefix: String): String?
actual abstract fun lookupNamespaceURI(prefix: String): String?
actual abstract fun lookupNamespaceURI(prefix: String): String?
Link copied to clipboard
expect abstract fun lookupPrefix(namespace: String): String?
actual abstract fun lookupPrefix(namespace: String): String?
actual abstract fun lookupPrefix(namespace: String): String?
Link copied to clipboard
expect abstract fun removeChild(node: Node): Node
actual abstract fun removeChild(node: Node): Node
actual abstract fun removeChild(node: Node): Node
Link copied to clipboard
expect abstract fun replaceChild(newChild: Node, oldChild: Node): Node
actual abstract fun replaceChild(newChild: Node, oldChild: Node): Node
actual abstract fun replaceChild(newChild: Node, oldChild: Node): Node
Link copied to clipboard
actual fun Node.replaceChild(newChild: PlatformNode, oldChild: Node): Node
expect fun Node.replaceChild(newChild: PlatformNode, oldChild: Node): Node
actual fun Node.replaceChild(newChild: PlatformNode, oldChild: Node): Node
actual fun Node.replaceChild(newChild: PlatformNode, oldChild: Node): Node
Link copied to clipboard
expect abstract fun setTextContent(value: String)
actual abstract fun setTextContent(value: String)
actual abstract fun setTextContent(value: String)