/***************************************************************************
                            QXmlSimpleReader.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 QXmlSimpleReader extends QXmlReader  {
	protected QXmlSimpleReader(Class dummy){super((Class) null);}

	private native void newQXmlSimpleReader();
	public QXmlSimpleReader() {
		super((Class) null);
		newQXmlSimpleReader();
	}

	protected native void finalize() throws InternalError;
	public native boolean feature( String name, int[] ok);
	public native boolean feature( String name);
	public native void setFeature( String name, boolean value);
	public native boolean hasFeature( String name);
	public native int property( String name, int[] ok);
	public native int property( String name);
	public native void setProperty( String name, int value);
	public native boolean hasProperty( String name);
	public native void setEntityResolver( QXmlEntityResolver handler);
	public native QXmlEntityResolver entityResolver();
	public native void setDTDHandler( QXmlDTDHandler handler);
	public native QXmlDTDHandler DTDHandler();
	public native void setContentHandler( QXmlContentHandler handler);
	public native QXmlContentHandler contentHandler();
	public native void setErrorHandler( QXmlErrorHandler handler);
	public native QXmlErrorHandler errorHandler();
	public native void setLexicalHandler( QXmlLexicalHandler handler);
	public native QXmlLexicalHandler lexicalHandler();
	public native void setDeclHandler( QXmlDeclHandler handler);
	public native QXmlDeclHandler declHandler();
	public native boolean parse( QXmlInputSource input);
//	public native boolean parse( QXmlInputSource input);
	public native boolean parse( QXmlInputSource input, boolean incremental);
	public native boolean parseContinue();
}
