Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
nodeName
DocumentType.swift:69override func nodeName() -> String
override func nodeName() -> String
import SwiftSoup
class DocumentType
A {@code <!DOCTYPE>} node.
@frozen struct String
A Unicode string value that is a collection of characters.
func nodeName() -> String
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof).
convenience init(_ name: String, _ publicId: String, _ systemId: String, _ baseUri: String)
Create a new doctype element.
init(_ name: [UInt8], _ publicId: [UInt8], _ systemId: [UInt8], _ baseUri: [UInt8])
init(_ name: [UInt8], _ pubSysKey: [UInt8]?, _ publicId: [UInt8], _ systemId: [UInt8], _ baseUri: [UInt8])
Create a new doctype element.
override func copy(clone: Node, parent: Node?) -> Node
override func copy(parent: Node?) -> Node
override func copy(with zone: NSZone? = nil) -> Any
override func nodeNameUTF8() -> [UInt8]