summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QXmlInputSource.java
blob: fb5cf06e616ffc468da5ffd44eed21c17877a85e (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

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

	public QXmlInputSource() {
		newQXmlInputSource();
	}
	private native void newQXmlInputSource();
	public QXmlInputSource(QIODeviceInterface dev) {
		newQXmlInputSource(dev);
	}
	private native void newQXmlInputSource(QIODeviceInterface dev);
	public QXmlInputSource(QFile file) {
		newQXmlInputSource(file);
	}
	private native void newQXmlInputSource(QFile file);
	public QXmlInputSource(QTextStream stream) {
		newQXmlInputSource(stream);
	}
	private native void newQXmlInputSource(QTextStream stream);
	public native void setData(String dat);
	public native void setData(byte[] dat);
	public native void fetchData();
	public native String data();
	public native char next();
	public native void reset();
	protected native String fromRawData(byte[] data, boolean beginning);
	protected native String fromRawData(byte[] data);
	/** 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();
}