comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIDOMDocument.d @ 0:6dd524f61e62

add dwt win and basic java stuff
author Frank Benoit <benoit@tionex.de>
date Mon, 02 Mar 2009 14:44:16 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6dd524f61e62
1 module org.eclipse.swt.internal.mozilla.nsIDOMDocument;
2
3 import org.eclipse.swt.internal.mozilla.Common;
4 import org.eclipse.swt.internal.mozilla.nsID;
5 import org.eclipse.swt.internal.mozilla.nsIDOMNode;
6 import org.eclipse.swt.internal.mozilla.nsStringAPI;
7
8 import org.eclipse.swt.internal.mozilla.nsIDOMNode;
9 import org.eclipse.swt.internal.mozilla.nsIDOMNodeList;
10 import org.eclipse.swt.internal.mozilla.nsIDOMDocumentType;
11 import org.eclipse.swt.internal.mozilla.nsIDOMElement;
12 import org.eclipse.swt.internal.mozilla.nsIDOMDocumentFragment;
13 import org.eclipse.swt.internal.mozilla.nsIDOMText;
14 import org.eclipse.swt.internal.mozilla.nsIDOMComment;
15 import org.eclipse.swt.internal.mozilla.nsIDOMCDATASection;
16 import org.eclipse.swt.internal.mozilla.nsIDOMProcessingInstruction;
17 import org.eclipse.swt.internal.mozilla.nsIDOMDOMImplementation;
18 import org.eclipse.swt.internal.mozilla.nsIDOMAttr;
19 import org.eclipse.swt.internal.mozilla.nsIDOMEntityReference;
20
21 const char[] NS_IDOMDOCUMENT_IID_STR = "a6cf9075-15b3-11d2-932e-00805f8add32";
22
23 const nsIID NS_IDOMDOCUMENT_IID=
24 {0xa6cf9075, 0x15b3, 0x11d2,
25 [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]};
26
27 interface nsIDOMDocument : nsIDOMNode {
28
29 static const char[] IID_STR = NS_IDOMDOCUMENT_IID_STR;
30 static const nsIID IID = NS_IDOMDOCUMENT_IID;
31
32 extern(System):
33 nsresult GetDoctype(nsIDOMDocumentType *aDoctype);
34 nsresult GetImplementation(nsIDOMDOMImplementation *aImplementation);
35 nsresult GetDocumentElement(nsIDOMElement *aDocumentElement);
36 nsresult CreateElement(nsAString * tagName, nsIDOMElement *_retval);
37 nsresult CreateDocumentFragment(nsIDOMDocumentFragment *_retval);
38 nsresult CreateTextNode(nsAString * data, nsIDOMText *_retval);
39 nsresult CreateComment(nsAString * data, nsIDOMComment *_retval);
40 nsresult CreateCDATASection(nsAString * data, nsIDOMCDATASection *_retval);
41 nsresult CreateProcessingInstruction(nsAString * target, nsAString * data, nsIDOMProcessingInstruction *_retval);
42 nsresult CreateAttribute(nsAString * name, nsIDOMAttr *_retval);
43 nsresult CreateEntityReference(nsAString * name, nsIDOMEntityReference *_retval);
44 nsresult GetElementsByTagName(nsAString * tagname, nsIDOMNodeList *_retval);
45 nsresult ImportNode(nsIDOMNode importedNode, PRBool deep, nsIDOMNode *_retval);
46 nsresult CreateElementNS(nsAString * namespaceURI, nsAString * qualifiedName, nsIDOMElement *_retval);
47 nsresult CreateAttributeNS(nsAString * namespaceURI, nsAString * qualifiedName, nsIDOMAttr *_retval);
48 nsresult GetElementsByTagNameNS(nsAString * namespaceURI, nsAString * localName, nsIDOMNodeList *_retval);
49 nsresult GetElementById(nsAString * elementId, nsIDOMElement *_retval);
50
51 }
52