/***************************************************************************
                            QXmlDefaultHandler.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 QXmlDefaultHandler extends QXmlLexicalHandler implements  QXmlContentHandlerInterface, QXmlDTDHandlerInterface, QXmlDeclHandlerInterface, QXmlEntityResolverInterface, QXmlErrorHandlerInterface, QXmlLexicalHandlerInterface {
	protected QXmlDefaultHandler(Class dummy){super((Class) null);}

	private native void newQXmlDefaultHandler();
	public QXmlDefaultHandler() {
		super((Class) null);
		newQXmlDefaultHandler();
	}

	protected native void finalize() throws InternalError;
	public native void setDocumentLocator( QXmlLocator locator);
	public native boolean startDocument();
	public native boolean endDocument();
	public native boolean startPrefixMapping( String prefix, String uri);
	public native boolean endPrefixMapping( String prefix);
	public native boolean startElement( String namespaceURI, String localName, String qName, QXmlAttributes atts);
	public native boolean endElement( String namespaceURI, String localName, String qName);
	public native boolean characters( String ch);
	public native boolean ignorableWhitespace( String ch);
	public native boolean processingInstruction( String target, String data);
	public native boolean skippedEntity( String name);
	public native boolean warning( QXmlParseException exception);
	public native boolean error( QXmlParseException exception);
	public native boolean fatalError( QXmlParseException exception);
	public native boolean notationDecl( String name, String publicId, String systemId);
	public native boolean unparsedEntityDecl( String name, String publicId, String systemId, String notationName);
	public native boolean resolveEntity( String publicId, String systemId, QXmlInputSource ret);
	public native boolean startDTD( String name, String publicId, String systemId);
	public native boolean endDTD();
	public native boolean startEntity( String name);
	public native boolean endEntity( String name);
	public native boolean startCDATA();
	public native boolean endCDATA();
	public native boolean comment( String ch);
	public native boolean attributeDecl( String eName, String aName, String type, String valueDefault, String value);
	public native boolean internalEntityDecl( String name, String value);
	public native boolean externalEntityDecl( String name, String publicId, String systemId);
	public native String errorString();
}
