summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQXmlInputSource.java
blob: 14a433256796d2cc723755a247cff68ac0f7e977 (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.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

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

	public TQXmlInputSource() {
		newTQXmlInputSource();
	}
	private native void newTQXmlInputSource();
	public TQXmlInputSource(TQIODeviceInterface dev) {
		newTQXmlInputSource(dev);
	}
	private native void newTQXmlInputSource(TQIODeviceInterface dev);
	public TQXmlInputSource(TQFile file) {
		newTQXmlInputSource(file);
	}
	private native void newTQXmlInputSource(TQFile file);
	public TQXmlInputSource(TQTextStream stream) {
		newTQXmlInputSource(stream);
	}
	private native void newTQXmlInputSource(TQTextStream 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();
}