Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-02-09 11:39:07 +00:00
|
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
|
2001-11-27 19:18:00 +00:00
|
|
|
/**
|
2013-03-10 08:00:33 +00:00
|
|
|
* This is a temporary, non-standard interface, to ease the transition to a
|
|
|
|
* world where Attr no longer inherits from Node.
|
2001-11-27 19:18:00 +00:00
|
|
|
*/
|
|
|
|
|
2013-03-10 08:00:33 +00:00
|
|
|
[scriptable, uuid(cb5564cd-26ec-418f-a6d6-1d57cd2c971c)]
|
|
|
|
interface nsIDOMMozNamedAttrMap : nsISupports
|
2001-02-09 11:39:07 +00:00
|
|
|
{
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr getNamedItem(in DOMString name);
|
|
|
|
nsIDOMAttr setNamedItem(in nsIDOMAttr arg)
|
2001-02-09 11:39:07 +00:00
|
|
|
raises(DOMException);
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr removeNamedItem(in DOMString name)
|
2001-02-09 11:39:07 +00:00
|
|
|
raises(DOMException);
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr item(in unsigned long index);
|
2001-02-09 11:39:07 +00:00
|
|
|
readonly attribute unsigned long length;
|
|
|
|
// Introduced in DOM Level 2:
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr getNamedItemNS(in DOMString namespaceURI,
|
2001-02-09 11:39:07 +00:00
|
|
|
in DOMString localName);
|
|
|
|
// Introduced in DOM Level 2:
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr setNamedItemNS(in nsIDOMAttr arg)
|
2001-02-09 11:39:07 +00:00
|
|
|
raises(DOMException);
|
|
|
|
// Introduced in DOM Level 2:
|
2013-03-10 08:00:33 +00:00
|
|
|
nsIDOMAttr removeNamedItemNS(in DOMString namespaceURI,
|
2001-02-09 11:39:07 +00:00
|
|
|
in DOMString localName)
|
|
|
|
raises(DOMException);
|
|
|
|
};
|