PageRenderTime 124ms CodeModel.GetById 65ms app.highlight 15ms RepoModel.GetById 40ms app.codeStats 1ms

/gecko_api/include/nsIDOMNode.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 405 lines | 252 code | 82 blank | 71 comment | 0 complexity | c8e2c763d6c61905d62e7bd5705bd2ae MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/core/nsIDOMNode.idl
  3 */
  4
  5#ifndef __gen_nsIDOMNode_h__
  6#define __gen_nsIDOMNode_h__
  7
  8
  9#ifndef __gen_domstubs_h__
 10#include "domstubs.h"
 11#endif
 12
 13/* For IDL files that don't want to include root IDL files. */
 14#ifndef NS_NO_VTABLE
 15#define NS_NO_VTABLE
 16#endif
 17
 18/* starting interface:    nsIDOMNode */
 19#define NS_IDOMNODE_IID_STR "a6cf907c-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMNODE_IID \
 22  {0xa6cf907c, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMNode : public nsISupports {
 26 public: 
 27
 28  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNODE_IID)
 29
 30  /**
 31 * The nsIDOMNode interface is the primary datatype for the entire 
 32 * Document Object Model.
 33 * It represents a single node in the document tree.
 34 *
 35 * For more information on this interface please see 
 36 * http://www.w3.org/TR/DOM-Level-2-Core/
 37 *
 38 * @status FROZEN
 39 */
 40  enum { ELEMENT_NODE = 1U };
 41
 42  enum { ATTRIBUTE_NODE = 2U };
 43
 44  enum { TEXT_NODE = 3U };
 45
 46  enum { CDATA_SECTION_NODE = 4U };
 47
 48  enum { ENTITY_REFERENCE_NODE = 5U };
 49
 50  enum { ENTITY_NODE = 6U };
 51
 52  enum { PROCESSING_INSTRUCTION_NODE = 7U };
 53
 54  enum { COMMENT_NODE = 8U };
 55
 56  enum { DOCUMENT_NODE = 9U };
 57
 58  enum { DOCUMENT_TYPE_NODE = 10U };
 59
 60  enum { DOCUMENT_FRAGMENT_NODE = 11U };
 61
 62  enum { NOTATION_NODE = 12U };
 63
 64  /* readonly attribute DOMString nodeName; */
 65  NS_SCRIPTABLE NS_IMETHOD GetNodeName(nsAString & aNodeName) = 0;
 66
 67  /* attribute DOMString nodeValue; */
 68  NS_SCRIPTABLE NS_IMETHOD GetNodeValue(nsAString & aNodeValue) = 0;
 69  NS_SCRIPTABLE NS_IMETHOD SetNodeValue(const nsAString & aNodeValue) = 0;
 70
 71  /* readonly attribute unsigned short nodeType; */
 72  NS_SCRIPTABLE NS_IMETHOD GetNodeType(PRUint16 *aNodeType) = 0;
 73
 74  /* readonly attribute nsIDOMNode parentNode; */
 75  NS_SCRIPTABLE NS_IMETHOD GetParentNode(nsIDOMNode * *aParentNode) = 0;
 76
 77  /* readonly attribute nsIDOMNodeList childNodes; */
 78  NS_SCRIPTABLE NS_IMETHOD GetChildNodes(nsIDOMNodeList * *aChildNodes) = 0;
 79
 80  /* readonly attribute nsIDOMNode firstChild; */
 81  NS_SCRIPTABLE NS_IMETHOD GetFirstChild(nsIDOMNode * *aFirstChild) = 0;
 82
 83  /* readonly attribute nsIDOMNode lastChild; */
 84  NS_SCRIPTABLE NS_IMETHOD GetLastChild(nsIDOMNode * *aLastChild) = 0;
 85
 86  /* readonly attribute nsIDOMNode previousSibling; */
 87  NS_SCRIPTABLE NS_IMETHOD GetPreviousSibling(nsIDOMNode * *aPreviousSibling) = 0;
 88
 89  /* readonly attribute nsIDOMNode nextSibling; */
 90  NS_SCRIPTABLE NS_IMETHOD GetNextSibling(nsIDOMNode * *aNextSibling) = 0;
 91
 92  /* readonly attribute nsIDOMNamedNodeMap attributes; */
 93  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap * *aAttributes) = 0;
 94
 95  /* readonly attribute nsIDOMDocument ownerDocument; */
 96  NS_SCRIPTABLE NS_IMETHOD GetOwnerDocument(nsIDOMDocument * *aOwnerDocument) = 0;
 97
 98  /* nsIDOMNode insertBefore (in nsIDOMNode newChild, in nsIDOMNode refChild)  raises (DOMException); */
 99  NS_SCRIPTABLE NS_IMETHOD InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval) = 0;
100
101  /* nsIDOMNode replaceChild (in nsIDOMNode newChild, in nsIDOMNode oldChild)  raises (DOMException); */
102  NS_SCRIPTABLE NS_IMETHOD ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval) = 0;
103
104  /* nsIDOMNode removeChild (in nsIDOMNode oldChild)  raises (DOMException); */
105  NS_SCRIPTABLE NS_IMETHOD RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval) = 0;
106
107  /* nsIDOMNode appendChild (in nsIDOMNode newChild)  raises (DOMException); */
108  NS_SCRIPTABLE NS_IMETHOD AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval) = 0;
109
110  /* boolean hasChildNodes (); */
111  NS_SCRIPTABLE NS_IMETHOD HasChildNodes(PRBool *_retval) = 0;
112
113  /* nsIDOMNode cloneNode (in boolean deep); */
114  NS_SCRIPTABLE NS_IMETHOD CloneNode(PRBool deep, nsIDOMNode **_retval) = 0;
115
116  /* void normalize (); */
117  NS_SCRIPTABLE NS_IMETHOD Normalize(void) = 0;
118
119  /* boolean isSupported (in DOMString feature, in DOMString version); */
120  NS_SCRIPTABLE NS_IMETHOD IsSupported(const nsAString & feature, const nsAString & version, PRBool *_retval) = 0;
121
122  /* readonly attribute DOMString namespaceURI; */
123  NS_SCRIPTABLE NS_IMETHOD GetNamespaceURI(nsAString & aNamespaceURI) = 0;
124
125  /* attribute DOMString prefix; */
126  NS_SCRIPTABLE NS_IMETHOD GetPrefix(nsAString & aPrefix) = 0;
127  NS_SCRIPTABLE NS_IMETHOD SetPrefix(const nsAString & aPrefix) = 0;
128
129  /* readonly attribute DOMString localName; */
130  NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) = 0;
131
132  /* boolean hasAttributes (); */
133  NS_SCRIPTABLE NS_IMETHOD HasAttributes(PRBool *_retval) = 0;
134
135};
136
137  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNode, NS_IDOMNODE_IID)
138
139/* Use this macro when declaring classes that implement this interface. */
140#define NS_DECL_NSIDOMNODE \
141  NS_SCRIPTABLE NS_IMETHOD GetNodeName(nsAString & aNodeName); \
142  NS_SCRIPTABLE NS_IMETHOD GetNodeValue(nsAString & aNodeValue); \
143  NS_SCRIPTABLE NS_IMETHOD SetNodeValue(const nsAString & aNodeValue); \
144  NS_SCRIPTABLE NS_IMETHOD GetNodeType(PRUint16 *aNodeType); \
145  NS_SCRIPTABLE NS_IMETHOD GetParentNode(nsIDOMNode * *aParentNode); \
146  NS_SCRIPTABLE NS_IMETHOD GetChildNodes(nsIDOMNodeList * *aChildNodes); \
147  NS_SCRIPTABLE NS_IMETHOD GetFirstChild(nsIDOMNode * *aFirstChild); \
148  NS_SCRIPTABLE NS_IMETHOD GetLastChild(nsIDOMNode * *aLastChild); \
149  NS_SCRIPTABLE NS_IMETHOD GetPreviousSibling(nsIDOMNode * *aPreviousSibling); \
150  NS_SCRIPTABLE NS_IMETHOD GetNextSibling(nsIDOMNode * *aNextSibling); \
151  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap * *aAttributes); \
152  NS_SCRIPTABLE NS_IMETHOD GetOwnerDocument(nsIDOMDocument * *aOwnerDocument); \
153  NS_SCRIPTABLE NS_IMETHOD InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval); \
154  NS_SCRIPTABLE NS_IMETHOD ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval); \
155  NS_SCRIPTABLE NS_IMETHOD RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval); \
156  NS_SCRIPTABLE NS_IMETHOD AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval); \
157  NS_SCRIPTABLE NS_IMETHOD HasChildNodes(PRBool *_retval); \
158  NS_SCRIPTABLE NS_IMETHOD CloneNode(PRBool deep, nsIDOMNode **_retval); \
159  NS_SCRIPTABLE NS_IMETHOD Normalize(void); \
160  NS_SCRIPTABLE NS_IMETHOD IsSupported(const nsAString & feature, const nsAString & version, PRBool *_retval); \
161  NS_SCRIPTABLE NS_IMETHOD GetNamespaceURI(nsAString & aNamespaceURI); \
162  NS_SCRIPTABLE NS_IMETHOD GetPrefix(nsAString & aPrefix); \
163  NS_SCRIPTABLE NS_IMETHOD SetPrefix(const nsAString & aPrefix); \
164  NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName); \
165  NS_SCRIPTABLE NS_IMETHOD HasAttributes(PRBool *_retval); 
166
167/* Use this macro to declare functions that forward the behavior of this interface to another object. */
168#define NS_FORWARD_NSIDOMNODE(_to) \
169  NS_SCRIPTABLE NS_IMETHOD GetNodeName(nsAString & aNodeName) { return _to GetNodeName(aNodeName); } \
170  NS_SCRIPTABLE NS_IMETHOD GetNodeValue(nsAString & aNodeValue) { return _to GetNodeValue(aNodeValue); } \
171  NS_SCRIPTABLE NS_IMETHOD SetNodeValue(const nsAString & aNodeValue) { return _to SetNodeValue(aNodeValue); } \
172  NS_SCRIPTABLE NS_IMETHOD GetNodeType(PRUint16 *aNodeType) { return _to GetNodeType(aNodeType); } \
173  NS_SCRIPTABLE NS_IMETHOD GetParentNode(nsIDOMNode * *aParentNode) { return _to GetParentNode(aParentNode); } \
174  NS_SCRIPTABLE NS_IMETHOD GetChildNodes(nsIDOMNodeList * *aChildNodes) { return _to GetChildNodes(aChildNodes); } \
175  NS_SCRIPTABLE NS_IMETHOD GetFirstChild(nsIDOMNode * *aFirstChild) { return _to GetFirstChild(aFirstChild); } \
176  NS_SCRIPTABLE NS_IMETHOD GetLastChild(nsIDOMNode * *aLastChild) { return _to GetLastChild(aLastChild); } \
177  NS_SCRIPTABLE NS_IMETHOD GetPreviousSibling(nsIDOMNode * *aPreviousSibling) { return _to GetPreviousSibling(aPreviousSibling); } \
178  NS_SCRIPTABLE NS_IMETHOD GetNextSibling(nsIDOMNode * *aNextSibling) { return _to GetNextSibling(aNextSibling); } \
179  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap * *aAttributes) { return _to GetAttributes(aAttributes); } \
180  NS_SCRIPTABLE NS_IMETHOD GetOwnerDocument(nsIDOMDocument * *aOwnerDocument) { return _to GetOwnerDocument(aOwnerDocument); } \
181  NS_SCRIPTABLE NS_IMETHOD InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval) { return _to InsertBefore(newChild, refChild, _retval); } \
182  NS_SCRIPTABLE NS_IMETHOD ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval) { return _to ReplaceChild(newChild, oldChild, _retval); } \
183  NS_SCRIPTABLE NS_IMETHOD RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval) { return _to RemoveChild(oldChild, _retval); } \
184  NS_SCRIPTABLE NS_IMETHOD AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval) { return _to AppendChild(newChild, _retval); } \
185  NS_SCRIPTABLE NS_IMETHOD HasChildNodes(PRBool *_retval) { return _to HasChildNodes(_retval); } \
186  NS_SCRIPTABLE NS_IMETHOD CloneNode(PRBool deep, nsIDOMNode **_retval) { return _to CloneNode(deep, _retval); } \
187  NS_SCRIPTABLE NS_IMETHOD Normalize(void) { return _to Normalize(); } \
188  NS_SCRIPTABLE NS_IMETHOD IsSupported(const nsAString & feature, const nsAString & version, PRBool *_retval) { return _to IsSupported(feature, version, _retval); } \
189  NS_SCRIPTABLE NS_IMETHOD GetNamespaceURI(nsAString & aNamespaceURI) { return _to GetNamespaceURI(aNamespaceURI); } \
190  NS_SCRIPTABLE NS_IMETHOD GetPrefix(nsAString & aPrefix) { return _to GetPrefix(aPrefix); } \
191  NS_SCRIPTABLE NS_IMETHOD SetPrefix(const nsAString & aPrefix) { return _to SetPrefix(aPrefix); } \
192  NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) { return _to GetLocalName(aLocalName); } \
193  NS_SCRIPTABLE NS_IMETHOD HasAttributes(PRBool *_retval) { return _to HasAttributes(_retval); } 
194
195/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
196#define NS_FORWARD_SAFE_NSIDOMNODE(_to) \
197  NS_SCRIPTABLE NS_IMETHOD GetNodeName(nsAString & aNodeName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeName(aNodeName); } \
198  NS_SCRIPTABLE NS_IMETHOD GetNodeValue(nsAString & aNodeValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeValue(aNodeValue); } \
199  NS_SCRIPTABLE NS_IMETHOD SetNodeValue(const nsAString & aNodeValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNodeValue(aNodeValue); } \
200  NS_SCRIPTABLE NS_IMETHOD GetNodeType(PRUint16 *aNodeType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeType(aNodeType); } \
201  NS_SCRIPTABLE NS_IMETHOD GetParentNode(nsIDOMNode * *aParentNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentNode(aParentNode); } \
202  NS_SCRIPTABLE NS_IMETHOD GetChildNodes(nsIDOMNodeList * *aChildNodes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildNodes(aChildNodes); } \
203  NS_SCRIPTABLE NS_IMETHOD GetFirstChild(nsIDOMNode * *aFirstChild) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstChild(aFirstChild); } \
204  NS_SCRIPTABLE NS_IMETHOD GetLastChild(nsIDOMNode * *aLastChild) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastChild(aLastChild); } \
205  NS_SCRIPTABLE NS_IMETHOD GetPreviousSibling(nsIDOMNode * *aPreviousSibling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreviousSibling(aPreviousSibling); } \
206  NS_SCRIPTABLE NS_IMETHOD GetNextSibling(nsIDOMNode * *aNextSibling) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextSibling(aNextSibling); } \
207  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap * *aAttributes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributes(aAttributes); } \
208  NS_SCRIPTABLE NS_IMETHOD GetOwnerDocument(nsIDOMDocument * *aOwnerDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerDocument(aOwnerDocument); } \
209  NS_SCRIPTABLE NS_IMETHOD InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertBefore(newChild, refChild, _retval); } \
210  NS_SCRIPTABLE NS_IMETHOD ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplaceChild(newChild, oldChild, _retval); } \
211  NS_SCRIPTABLE NS_IMETHOD RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveChild(oldChild, _retval); } \
212  NS_SCRIPTABLE NS_IMETHOD AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendChild(newChild, _retval); } \
213  NS_SCRIPTABLE NS_IMETHOD HasChildNodes(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasChildNodes(_retval); } \
214  NS_SCRIPTABLE NS_IMETHOD CloneNode(PRBool deep, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneNode(deep, _retval); } \
215  NS_SCRIPTABLE NS_IMETHOD Normalize(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Normalize(); } \
216  NS_SCRIPTABLE NS_IMETHOD IsSupported(const nsAString & feature, const nsAString & version, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSupported(feature, version, _retval); } \
217  NS_SCRIPTABLE NS_IMETHOD GetNamespaceURI(nsAString & aNamespaceURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespaceURI(aNamespaceURI); } \
218  NS_SCRIPTABLE NS_IMETHOD GetPrefix(nsAString & aPrefix) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrefix(aPrefix); } \
219  NS_SCRIPTABLE NS_IMETHOD SetPrefix(const nsAString & aPrefix) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrefix(aPrefix); } \
220  NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalName(aLocalName); } \
221  NS_SCRIPTABLE NS_IMETHOD HasAttributes(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAttributes(_retval); } 
222
223#if 0
224/* Use the code below as a template for the implementation class for this interface. */
225
226/* Header file */
227class nsDOMNode : public nsIDOMNode
228{
229public:
230  NS_DECL_ISUPPORTS
231  NS_DECL_NSIDOMNODE
232
233  nsDOMNode();
234
235private:
236  ~nsDOMNode();
237
238protected:
239  /* additional members */
240};
241
242/* Implementation file */
243NS_IMPL_ISUPPORTS1(nsDOMNode, nsIDOMNode)
244
245nsDOMNode::nsDOMNode()
246{
247  /* member initializers and constructor code */
248}
249
250nsDOMNode::~nsDOMNode()
251{
252  /* destructor code */
253}
254
255/* readonly attribute DOMString nodeName; */
256NS_IMETHODIMP nsDOMNode::GetNodeName(nsAString & aNodeName)
257{
258    return NS_ERROR_NOT_IMPLEMENTED;
259}
260
261/* attribute DOMString nodeValue; */
262NS_IMETHODIMP nsDOMNode::GetNodeValue(nsAString & aNodeValue)
263{
264    return NS_ERROR_NOT_IMPLEMENTED;
265}
266NS_IMETHODIMP nsDOMNode::SetNodeValue(const nsAString & aNodeValue)
267{
268    return NS_ERROR_NOT_IMPLEMENTED;
269}
270
271/* readonly attribute unsigned short nodeType; */
272NS_IMETHODIMP nsDOMNode::GetNodeType(PRUint16 *aNodeType)
273{
274    return NS_ERROR_NOT_IMPLEMENTED;
275}
276
277/* readonly attribute nsIDOMNode parentNode; */
278NS_IMETHODIMP nsDOMNode::GetParentNode(nsIDOMNode * *aParentNode)
279{
280    return NS_ERROR_NOT_IMPLEMENTED;
281}
282
283/* readonly attribute nsIDOMNodeList childNodes; */
284NS_IMETHODIMP nsDOMNode::GetChildNodes(nsIDOMNodeList * *aChildNodes)
285{
286    return NS_ERROR_NOT_IMPLEMENTED;
287}
288
289/* readonly attribute nsIDOMNode firstChild; */
290NS_IMETHODIMP nsDOMNode::GetFirstChild(nsIDOMNode * *aFirstChild)
291{
292    return NS_ERROR_NOT_IMPLEMENTED;
293}
294
295/* readonly attribute nsIDOMNode lastChild; */
296NS_IMETHODIMP nsDOMNode::GetLastChild(nsIDOMNode * *aLastChild)
297{
298    return NS_ERROR_NOT_IMPLEMENTED;
299}
300
301/* readonly attribute nsIDOMNode previousSibling; */
302NS_IMETHODIMP nsDOMNode::GetPreviousSibling(nsIDOMNode * *aPreviousSibling)
303{
304    return NS_ERROR_NOT_IMPLEMENTED;
305}
306
307/* readonly attribute nsIDOMNode nextSibling; */
308NS_IMETHODIMP nsDOMNode::GetNextSibling(nsIDOMNode * *aNextSibling)
309{
310    return NS_ERROR_NOT_IMPLEMENTED;
311}
312
313/* readonly attribute nsIDOMNamedNodeMap attributes; */
314NS_IMETHODIMP nsDOMNode::GetAttributes(nsIDOMNamedNodeMap * *aAttributes)
315{
316    return NS_ERROR_NOT_IMPLEMENTED;
317}
318
319/* readonly attribute nsIDOMDocument ownerDocument; */
320NS_IMETHODIMP nsDOMNode::GetOwnerDocument(nsIDOMDocument * *aOwnerDocument)
321{
322    return NS_ERROR_NOT_IMPLEMENTED;
323}
324
325/* nsIDOMNode insertBefore (in nsIDOMNode newChild, in nsIDOMNode refChild)  raises (DOMException); */
326NS_IMETHODIMP nsDOMNode::InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval)
327{
328    return NS_ERROR_NOT_IMPLEMENTED;
329}
330
331/* nsIDOMNode replaceChild (in nsIDOMNode newChild, in nsIDOMNode oldChild)  raises (DOMException); */
332NS_IMETHODIMP nsDOMNode::ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval)
333{
334    return NS_ERROR_NOT_IMPLEMENTED;
335}
336
337/* nsIDOMNode removeChild (in nsIDOMNode oldChild)  raises (DOMException); */
338NS_IMETHODIMP nsDOMNode::RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval)
339{
340    return NS_ERROR_NOT_IMPLEMENTED;
341}
342
343/* nsIDOMNode appendChild (in nsIDOMNode newChild)  raises (DOMException); */
344NS_IMETHODIMP nsDOMNode::AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval)
345{
346    return NS_ERROR_NOT_IMPLEMENTED;
347}
348
349/* boolean hasChildNodes (); */
350NS_IMETHODIMP nsDOMNode::HasChildNodes(PRBool *_retval)
351{
352    return NS_ERROR_NOT_IMPLEMENTED;
353}
354
355/* nsIDOMNode cloneNode (in boolean deep); */
356NS_IMETHODIMP nsDOMNode::CloneNode(PRBool deep, nsIDOMNode **_retval)
357{
358    return NS_ERROR_NOT_IMPLEMENTED;
359}
360
361/* void normalize (); */
362NS_IMETHODIMP nsDOMNode::Normalize()
363{
364    return NS_ERROR_NOT_IMPLEMENTED;
365}
366
367/* boolean isSupported (in DOMString feature, in DOMString version); */
368NS_IMETHODIMP nsDOMNode::IsSupported(const nsAString & feature, const nsAString & version, PRBool *_retval)
369{
370    return NS_ERROR_NOT_IMPLEMENTED;
371}
372
373/* readonly attribute DOMString namespaceURI; */
374NS_IMETHODIMP nsDOMNode::GetNamespaceURI(nsAString & aNamespaceURI)
375{
376    return NS_ERROR_NOT_IMPLEMENTED;
377}
378
379/* attribute DOMString prefix; */
380NS_IMETHODIMP nsDOMNode::GetPrefix(nsAString & aPrefix)
381{
382    return NS_ERROR_NOT_IMPLEMENTED;
383}
384NS_IMETHODIMP nsDOMNode::SetPrefix(const nsAString & aPrefix)
385{
386    return NS_ERROR_NOT_IMPLEMENTED;
387}
388
389/* readonly attribute DOMString localName; */
390NS_IMETHODIMP nsDOMNode::GetLocalName(nsAString & aLocalName)
391{
392    return NS_ERROR_NOT_IMPLEMENTED;
393}
394
395/* boolean hasAttributes (); */
396NS_IMETHODIMP nsDOMNode::HasAttributes(PRBool *_retval)
397{
398    return NS_ERROR_NOT_IMPLEMENTED;
399}
400
401/* End of implementation class template. */
402#endif
403
404
405#endif /* __gen_nsIDOMNode_h__ */