Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIURIRefObject Interface Reference

A class which can represent any node which points to an external URI, e.g. More...

import "nsIURIRefObject.idl";

Inheritance diagram for nsIURIRefObject:
Inheritance graph
[legend]
Collaboration diagram for nsIURIRefObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Reset ()
 Go back to the beginning of the attribute list.
DOMString GetNextURI ()
 Return the next rewritable URI.
void RewriteAllURIs (in DOMString aOldPat, in DOMString aNewPat, in boolean aMakeRel)
 Go back to the beginning of the attribute list.

Public Attributes

attribute nsIDOMNode node

Detailed Description

A class which can represent any node which points to an external URI, e.g.

, , <script> etc, and has the capability to rewrite URLs to be relative or absolute. Used by the editor but not dependant on it.

Definition at line 55 of file nsIURIRefObject.idl.


Member Function Documentation

Return the next rewritable URI.

Go back to the beginning of the attribute list.

void nsIURIRefObject::RewriteAllURIs ( in DOMString  aOldPat,
in DOMString  aNewPat,
in boolean  aMakeRel 
)

Go back to the beginning of the attribute list.

Parameters:
aOldPatOld pattern to be replaced, e.g. file:///a/b/
aNewPatNew pattern to be replaced, e.g. http://mypage.aol.com/
aMakeRelRewrite links as relative vs. absolute

Member Data Documentation

Definition at line 57 of file nsIURIRefObject.idl.


The documentation for this interface was generated from the following file: