//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();
}
