Struct xpcom::interfaces::nsIURIRefObject [] [src]

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

interface nsIURIRefObject : nsISupports

/** A class which can represent any node which points to an
  * external URI, e.g. <a>, <img>, <script> etc,
  * and has the capability to rewrite URLs to be
  * relative or absolute.
  * Used by the editor but not dependant on it.
  */

Methods

impl nsIURIRefObject
[src]

[src]

Cast this nsIURIRefObject to one of its base interfaces.

impl nsIURIRefObject
[src]

[src]

attribute nsIDOMNode node;

[src]

attribute nsIDOMNode node;

[src]

/**
   * Go back to the beginning of the attribute list.
   */

void Reset ();

[src]

/**
   * Return the next rewritable URI.
   */

DOMString GetNextURI ();

[src]

/**
   * Go back to the beginning of the attribute list
   *
   * @param aOldPat  Old pattern to be replaced, e.g. file:///a/b/
   * @param aNewPat  New pattern to be replaced, e.g. http://mypage.aol.com/
   * @param aMakeRel Rewrite links as relative vs. absolute
   */

void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel);

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

IID: nsIID = nsID(572953214, 7634, 4530, [181, 127, 250, 171, 71, 40, 133, 99])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIURIRefObject
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.