summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QDomNode.java
blob: a48f525517eb7d4eac0be4fc06b2704ee89ccbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

public class QDomNode implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QDomNode(Class dummy){}

	public static final int ElementNode = 1;
	public static final int AttributeNode = 2;
	public static final int TextNode = 3;
	public static final int CDATASectionNode = 4;
	public static final int EntityReferenceNode = 5;
	public static final int EntityNode = 6;
	public static final int ProcessingInstructionNode = 7;
	public static final int CommentNode = 8;
	public static final int DocumentNode = 9;
	public static final int DocumentTypeNode = 10;
	public static final int DocumentFragmentNode = 11;
	public static final int NotationNode = 12;
	public static final int BaseNode = 21;
	public static final int CharacterDataNode = 22;

	public QDomNode() {
		newQDomNode();
	}
	private native void newQDomNode();
	public QDomNode(QDomNode arg1) {
		newQDomNode(arg1);
	}
	private native void newQDomNode(QDomNode arg1);
	public native boolean op_equals(QDomNode arg1);
	public native boolean op_not_equals(QDomNode arg1);
	public native QDomNode insertBefore(QDomNode newChild, QDomNode refChild);
	public native QDomNode insertAfter(QDomNode newChild, QDomNode refChild);
	public native QDomNode replaceChild(QDomNode newChild, QDomNode oldChild);
	public native QDomNode removeChild(QDomNode oldChild);
	public native QDomNode appendChild(QDomNode newChild);
	public native boolean hasChildNodes();
	public native QDomNode cloneNode(boolean deep);
	public native QDomNode cloneNode();
	public native void normalize();
	public native boolean isSupported(String feature, String version);
	public native String nodeName();
	public native int nodeType();
	public native QDomNode parentNode();
	public native ArrayList childNodes();
	public native QDomNode firstChild();
	public native QDomNode lastChild();
	public native QDomNode previousSibling();
	public native QDomNode nextSibling();
	public native QDomNamedNodeMap attributes();
	public native QDomDocument ownerDocument();
	public native String namespaceURI();
	public native String localName();
	public native boolean hasAttributes();
	public native String nodeValue();
	public native void setNodeValue(String arg1);
	public native String prefix();
	public native void setPrefix(String pre);
	public native boolean isAttr();
	public native boolean isCDATASection();
	public native boolean isDocumentFragment();
	public native boolean isDocument();
	public native boolean isDocumentType();
	public native boolean isElement();
	public native boolean isEntityReference();
	public native boolean isText();
	public native boolean isEntity();
	public native boolean isNotation();
	public native boolean isProcessingInstruction();
	public native boolean isCharacterData();
	public native boolean isComment();
	/**	
		 Shortcut to avoid dealing with QDomArrayList
		 all the time.
		     		@short    Shortcut to avoid dealing with QDomNodeList  all the time.
	*/
	public native QDomNode namedItem(String name);
	public native boolean isNull();
	public native void clear();
	public native QDomAttr toAttr();
	public native QDomCDATASection toCDATASection();
	public native QDomDocumentFragment toDocumentFragment();
	public native QDomDocument toDocument();
	public native QDomDocumentType toDocumentType();
	public native QDomElement toElement();
	public native QDomEntityReference toEntityReference();
	public native QDomText toText();
	public native QDomEntity toEntity();
	public native QDomNotation toNotation();
	public native QDomProcessingInstruction toProcessingInstruction();
	public native QDomCharacterData toCharacterData();
	public native QDomComment toComment();
	public native void save(QTextStream arg1, int arg2);
	// QDomNode* QDomNode(QDomNodePrivate* arg1); >>>> NOT CONVERTED
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}