Node
Object Hierarchy:
Description:
[ CCode ( type_id = "webkit_dom_node_get_type ()" ) ]
[ GIR ( name = "DOMNode" ) ]
public class Node : Object, EventTarget
[ GIR ( name = "DOMNode" ) ]
public class Node : Object, EventTarget
All known sub-classes:
- Attr
- CDATASection
- CharacterData
- Comment
- Document
- DocumentFragment
- DocumentType
- Element
- EntityReference
- HTMLAnchorElement
- HTMLAppletElement
- HTMLAreaElement
- HTMLBRElement
- HTMLBaseElement
- HTMLBaseFontElement
- HTMLBodyElement
- HTMLButtonElement
- HTMLCanvasElement
- HTMLDListElement
- HTMLDirectoryElement
- HTMLDivElement
- HTMLDocument
- HTMLElement
- HTMLEmbedElement
- HTMLFieldSetElement
- HTMLFontElement
- HTMLFormElement
- HTMLFrameElement
- HTMLFrameSetElement
- HTMLHRElement
- HTMLHeadElement
- HTMLHeadingElement
- HTMLHtmlElement
- HTMLIFrameElement
- HTMLImageElement
- HTMLInputElement
- HTMLLIElement
- HTMLLabelElement
- HTMLLegendElement
- HTMLLinkElement
- HTMLMapElement
- HTMLMarqueeElement
- HTMLMenuElement
- HTMLMetaElement
- HTMLModElement
- HTMLOListElement
- HTMLObjectElement
- HTMLOptGroupElement
- HTMLOptionElement
- HTMLParagraphElement
- HTMLParamElement
- HTMLPreElement
- HTMLQuoteElement
- HTMLScriptElement
- HTMLSelectElement
- HTMLStyleElement
- HTMLTableCaptionElement
- HTMLTableCellElement
- HTMLTableColElement
- HTMLTableElement
- HTMLTableRowElement
- HTMLTableSectionElement
- HTMLTextAreaElement
- HTMLTitleElement
- HTMLUListElement
- ProcessingInstruction
- Text
Namespace: WebKit.DOM
Package: webkit2gtk-web-extension-4.1
Content:
Properties:
- public string base_uri { owned get; }
- public NodeList child_nodes { owned get; }
- public Node first_child { get; }
- public Node last_child { get; }
- public Node next_sibling { get; }
- public string node_name { owned get; }
- public uint node_type { get; }
- public string node_value { owned get; set; }
- public Document owner_document { get; }
- public Element parent_element { get; }
- public Node parent_node { get; }
- public Node previous_sibling { get; }
- public string text_content { owned get; set; }
Static methods:
- public static unowned Node for_js_value (Value value)
Get the Node for the DOM node referenced by
value
.
Creation methods:
- protected Node ()
Methods:
- public unowned Node append_child (Node newChild) throws Error
- public unowned Node clone_node (bool deep) throws Error
- public unowned Node clone_node_with_error (bool deep) throws Error
- public ushort compare_document_position (Node other)
- public bool contains (Node other)
- public string get_base_uri ()
- public NodeList get_child_nodes ()
- public unowned Node get_first_child ()
- public unowned Node get_last_child ()
- public string get_local_name ()
- public string get_namespace_uri ()
- public unowned Node get_next_sibling ()
- public string get_node_name ()
- public ushort get_node_type ()
- public string get_node_value ()
- public unowned Document get_owner_document ()
- public unowned Element get_parent_element ()
- public unowned Node get_parent_node ()
- public string get_prefix ()
- public unowned Node get_previous_sibling ()
- public string get_text_content ()
- public bool has_child_nodes ()
- public unowned Node insert_before (Node newChild, Node? refChild) throws Error
- public bool is_default_namespace (string namespaceURI)
- public bool is_equal_node (Node other)
- public bool is_same_node (Node other)
- public bool is_supported (string feature, string version)
- public string lookup_namespace_uri (string prefix)
- public string lookup_prefix (string namespaceURI)
- public void normalize ()
- public unowned Node remove_child (Node oldChild) throws Error
- public unowned Node replace_child (Node newChild, Node oldChild) throws Error
- public void set_node_value (string value) throws Error
- public void set_prefix (string value) throws Error
- public void set_text_content (string value) throws Error
Inherited Members:
All known members inherited from class WebKit.DOM.Object
All known members inherited from class GLib.Object
All known members inherited from interface WebKit.DOM.EventTarget