/***************************************************************************
                            QXmlInputSource.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QXmlInputSource implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QXmlInputSource(Class dummy){}

	private native void newQXmlInputSource();
	public QXmlInputSource() {
		newQXmlInputSource();
	}
	private native void newQXmlInputSource( QIODeviceInterface dev);
	public QXmlInputSource( QIODeviceInterface dev) {
		newQXmlInputSource( dev);
	}
	private native void newQXmlInputSource( QFile file);
	public QXmlInputSource( QFile file) {
		newQXmlInputSource( file);
	}
	private native void newQXmlInputSource( QTextStream stream);
	public QXmlInputSource( QTextStream stream) {
		newQXmlInputSource( stream);
	}
	protected native void finalize() throws InternalError;
	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);
}
