Struct xpcom::interfaces::nsIDOMNode [] [src]

#[repr(C)]
pub struct nsIDOMNode { /* fields omitted */ }

interface nsIDOMNode : nsISupports

Methods

impl nsIDOMNode
[src]

[src]

Cast this nsIDOMNode to one of its base interfaces.

impl nsIDOMNode
[src]

ELEMENT_NODE: i64 = 1
/**
 * The nsIDOMNode interface is the primary datatype for the entire
 * Document Object Model.
 * It represents a single node in the document tree.
 *
 * For more information on this interface please see
 * http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
 */

ATTRIBUTE_NODE: i64 = 2

TEXT_NODE: i64 = 3

CDATA_SECTION_NODE: i64 = 4

ENTITY_REFERENCE_NODE: i64 = 5

ENTITY_NODE: i64 = 6

PROCESSING_INSTRUCTION_NODE: i64 = 7

COMMENT_NODE: i64 = 8

DOCUMENT_NODE: i64 = 9

DOCUMENT_TYPE_NODE: i64 = 10

DOCUMENT_FRAGMENT_NODE: i64 = 11

NOTATION_NODE: i64 = 12

DOCUMENT_POSITION_DISCONNECTED: i64 = 1

DOCUMENT_POSITION_PRECEDING: i64 = 2

DOCUMENT_POSITION_FOLLOWING: i64 = 4

DOCUMENT_POSITION_CONTAINS: i64 = 8

DOCUMENT_POSITION_CONTAINED_BY: i64 = 16

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: i64 = 32

[src]

readonly attribute DOMString nodeName;

[src]

attribute DOMString nodeValue;

[src]

attribute DOMString nodeValue;

[src]

readonly attribute unsigned short nodeType;

[src]

readonly attribute nsIDOMNode parentNode;

[src]

readonly attribute nsIDOMNodeList childNodes;

[src]

readonly attribute nsIDOMNode firstChild;

[src]

readonly attribute nsIDOMNode lastChild;

[src]

readonly attribute nsIDOMNode previousSibling;

[src]

readonly attribute nsIDOMNode nextSibling;

[src]

readonly attribute nsIDOMDocument ownerDocument;

[src]

nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException);

[src]

boolean hasChildNodes ();

[src]

readonly attribute DOMString namespaceURI;

[src]

readonly attribute DOMString prefix;

[src]

readonly attribute DOMString localName;

[src]

attribute DOMString textContent;

[src]

attribute DOMString textContent;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDOMNode
[src]

IID: nsIID = nsID(3426071570, 155, 18083, [155, 224, 118, 68, 143, 18, 84, 141])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMNode
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMNode
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.