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