summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QDomNode.java
blob: a649d8f188116eec0d03a50366cdeea6b56ce0c2 (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 TQDomNode implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQDomNode(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 TQDomNode() {
		newTQDomNode();
	}
	private native void newTQDomNode();
	public TQDomNode(TQDomNode arg1) {
		newTQDomNode(arg1);
	}
	private native void newTQDomNode(TQDomNode arg1);
	public native boolean op_equals(TQDomNode arg1);
	public native boolean op_not_equals(TQDomNode arg1);
	public native TQDomNode insertBefore(TQDomNode newChild, TQDomNode refChild);
	public native TQDomNode insertAfter(TQDomNode newChild, TQDomNode refChild);
	public native TQDomNode replaceChild(TQDomNode newChild, TQDomNode oldChild);
	public native TQDomNode removeChild(TQDomNode oldChild);
	public native TQDomNode appendChild(TQDomNode newChild);
	public native boolean hasChildNodes();
	public native TQDomNode cloneNode(boolean deep);
	public native TQDomNode cloneNode();
	public native void normalize();
	public native boolean isSupported(String feature, String version);
	public native String nodeName();
	public native int nodeType();
	public native TQDomNode parentNode();
	public native ArrayList childNodes();
	public native TQDomNode firstChild();
	public native TQDomNode lastChild();
	public native TQDomNode previousSibling();
	public native TQDomNode nextSibling();
	public native TQDomNamedNodeMap attributes();
	public native TQDomDocument 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 TQDomArrayList
		 all the time.
		     		@short    Shortcut to avoid dealing with TQDomNodeList  all the time.
	*/
	public native TQDomNode namedItem(String name);
	public native boolean isNull();
	public native void clear();
	public native TQDomAttr toAttr();
	public native TQDomCDATASection toCDATASection();
	public native TQDomDocumentFragment toDocumentFragment();
	public native TQDomDocument toDocument();
	public native TQDomDocumentType toDocumentType();
	public native TQDomElement toElement();
	public native TQDomEntityReference toEntityReference();
	public native TQDomText toText();
	public native TQDomEntity toEntity();
	public native TQDomNotation toNotation();
	public native TQDomProcessingInstruction toProcessingInstruction();
	public native TQDomCharacterData toCharacterData();
	public native TQDomComment toComment();
	public native void save(TQTextStream arg1, int arg2);
	// TQDomNode* TQDomNode(TQDomNodePrivate* 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();
}