Struct xpcom::interfaces::nsIDOMText [] [src]

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

interface nsIDOMText : nsIDOMCharacterData

Methods

impl nsIDOMText
[src]

[src]

Cast this nsIDOMText to one of its base interfaces.

impl nsIDOMText
[src]

[src]

/**
 * The nsIDOMText interface inherits from nsIDOMCharacterData and represents
 * the textual content (termed character data in XML) of an Element or Attr.
 *
 * For more information on this interface please see
 * http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
 */

nsIDOMText splitText (in unsigned long offset) raises (DOMException);

[src]

/**
   * The concatenation of all logically adjacent text nodes with this text
   * node, where "logically adjacent" consists of all text nodes which can be
   * reached by traversing the document tree in either direction without
   * passing an element, comment, or processing-instruction boundary.
   */

readonly attribute DOMString wholeText;

Methods from Deref<Target = nsIDOMCharacterData>

[src]

Cast this nsIDOMCharacterData to one of its base interfaces.

[src]

/**
 * The nsIDOMCharacterData interface extends nsIDOMNode with a set of
 * attributes and methods for accessing character data in the DOM.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-Core/
 */

attribute DOMString data;

[src]

/**
 * The nsIDOMCharacterData interface extends nsIDOMNode with a set of
 * attributes and methods for accessing character data in the DOM.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-Core/
 */

attribute DOMString data;

[src]

readonly attribute unsigned long length;

[src]

DOMString substringData (in unsigned long offset, in unsigned long count) raises (DOMException);

[src]

void appendData (in DOMString arg) raises (DOMException);

[src]

void insertData (in unsigned long offset, in DOMString arg) raises (DOMException);

[src]

void deleteData (in unsigned long offset, in unsigned long count) raises (DOMException);

[src]

void replaceData (in unsigned long offset, in unsigned long count, in DOMString arg) raises (DOMException);

Trait Implementations

impl XpCom for nsIDOMText
[src]

IID: nsIID = nsID(1730623892, 27391, 16529, [157, 233, 183, 136, 162, 73, 247, 131])

[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 nsIDOMText
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMText
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.