Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
copy(clone:parent:)
DataNode.swift:90override func copy(clone: Node, parent: Node?) -> Node
override func copy(clone: Node, parent: Node?) -> Node
import SwiftSoup
class DataNode
A data node, for contents of style, script tags etc, where contents should not show in text().
class Node
func copy(clone: Node, parent: Node?) -> Node
init(_ data: [UInt8], _ baseUri: [UInt8])
Create a new DataNode.
static func createFromEncoded(_ encodedData: String, _ baseUri: String) throws -> DataNode
Create a new DataNode from HTML encoded data.
override func copy(parent: Node?) -> Node
override func copy(with zone: NSZone? = nil) -> Any
func getWholeData() -> String
Get the data contents of this node. Will be unescaped and with original new lines, space etc.
func getWholeDataUTF8() -> [UInt8]
override func nodeName() -> String
override func nodeNameUTF8() -> [UInt8]
@discardableResult func setWholeData(_ data: String) -> DataNode
Set the data contents of this node.