Mercurial > projects > dwt-mac
comparison dwt/internal/mozilla/nsIDOMElement.d @ 125:5583f8eeee6c
Synced mozilla with dwt-linux
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 16 Jan 2009 12:49:08 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
124:540fa4e9974a | 125:5583f8eeee6c |
---|---|
1 module dwt.internal.mozilla.nsIDOMElement; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 | |
6 import dwt.internal.mozilla.nsIDOMNode; | |
7 import dwt.internal.mozilla.nsIDOMNodeList; | |
8 import dwt.internal.mozilla.nsIDOMAttr; | |
9 import dwt.internal.mozilla.nsStringAPI; | |
10 | |
11 const char[] NS_IDOMELEMENT_IID_STR = "a6cf9078-15b3-11d2-932e-00805f8add32"; | |
12 | |
13 const nsIID NS_IDOMELEMENT_IID= | |
14 {0xa6cf9078, 0x15b3, 0x11d2, | |
15 [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]}; | |
16 | |
17 interface nsIDOMElement : nsIDOMNode { | |
18 | |
19 static const char[] IID_STR = NS_IDOMELEMENT_IID_STR; | |
20 static const nsIID IID = NS_IDOMELEMENT_IID; | |
21 | |
22 extern(System): | |
23 nsresult GetTagName(nsAString * aTagName); | |
24 nsresult GetAttribute(nsAString * name, nsAString * _retval); | |
25 nsresult SetAttribute(nsAString * name, nsAString * value); | |
26 nsresult RemoveAttribute(nsAString * name); | |
27 nsresult GetAttributeNode(nsAString * name, nsIDOMAttr *_retval); | |
28 nsresult SetAttributeNode(nsIDOMAttr newAttr, nsIDOMAttr *_retval); | |
29 nsresult RemoveAttributeNode(nsIDOMAttr oldAttr, nsIDOMAttr *_retval); | |
30 nsresult GetElementsByTagName(nsAString * name, nsIDOMNodeList *_retval); | |
31 nsresult GetAttributeNS(nsAString * namespaceURI, nsAString * localName, nsAString * _retval); | |
32 nsresult SetAttributeNS(nsAString * namespaceURI, nsAString * qualifiedName, nsAString * value); | |
33 nsresult RemoveAttributeNS(nsAString * namespaceURI, nsAString * localName); | |
34 nsresult GetAttributeNodeNS(nsAString * namespaceURI, nsAString * localName, nsIDOMAttr *_retval); | |
35 nsresult SetAttributeNodeNS(nsIDOMAttr newAttr, nsIDOMAttr *_retval); | |
36 nsresult GetElementsByTagNameNS(nsAString * namespaceURI, nsAString * localName, nsIDOMNodeList *_retval); | |
37 nsresult HasAttribute(nsAString * name, PRBool *_retval); | |
38 nsresult HasAttributeNS(nsAString * namespaceURI, nsAString * localName, PRBool *_retval); | |
39 | |
40 } | |
41 |